Merge "Add apex to vulkano rust crate" am: 264a2c4f76 am: bee47b0d5a am: 8b3422bb3b

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vulkano/+/1850644

Change-Id: I823d42a774fa7f80a8a2a502eb6de387adfd92b5
diff --git a/Android.bp b/Android.bp
index faaa6a1..fa9215f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,6 @@
 // This file is generated by cargo2android.py --config cargo2android.json.
 // Do not modify this file as changes will be overridden on upgrade.
 
-
-
 package {
     default_applicable_licenses: ["external_rust_crates_vulkano_license"],
 }
@@ -68,6 +66,10 @@
         "libshared_library",
         "libsmallvec",
     ],
+    apex_available: [
+        "//apex_available:platform",
+        "com.android.virt",
+    ],
 }
 
 rust_defaults {
diff --git a/cargo2android.json b/cargo2android.json
index 4d9f28e..d6a9e94 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,4 +1,8 @@
 {
+  "apex-available": [
+    "//apex_available:platform",
+    "com.android.virt"
+  ],
   "copy-out": true,
   "device": true,
   "run": true,