Make availble to com.android.virt

Test: build
Bug: 234564414
Change-Id: I9ad9235a18f6577ca876097ed5f16c5f98fe66a1
diff --git a/Android.bp b/Android.bp
index 412407c..3d716a2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -50,6 +50,10 @@
     rustlibs: [
         "libnom",
     ],
+    apex_available: [
+        "//apex_available:platform",
+        "com.android.virt",
+    ],
 }
 
 rust_test {
diff --git a/cargo2android.json b/cargo2android.json
index d36fb44..8e490de 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,5 +1,9 @@
 {
+  "apex-available": [
+    "//apex_available:platform",
+    "com.android.virt"
+  ],
   "device": true,
   "run": true,
   "tests": true
-}
\ No newline at end of file
+}