virtmanager prefers rlib even on device

virtmanager is installed to the virt APEX, and there are only two rust
binaries (crosvm and virtmanager) in the APEX. Static linking is more
beneficial than dynamic linking when the number of binaries are such
low.

Bug: 181751814
Test: TARGET_BUILD_APPS=com.android.virt m
Size is reduced from 180MB to 145MB

Change-Id: I50d77adc1880e36a712a7f1a427d6d3ab0fa0a0b
diff --git a/virtmanager/Android.bp b/virtmanager/Android.bp
index 1b2aec1..37c3bcc 100644
--- a/virtmanager/Android.bp
+++ b/virtmanager/Android.bp
@@ -7,6 +7,7 @@
     crate_name: "virtmanager",
     srcs: ["src/main.rs"],
     edition: "2018",
+    prefer_rlib: true,
     rustlibs: [
         "android.system.virtmanager-rust",
         "libandroid_logger",