add crosvm to com.android.virt

To do so, crosvm and its dependencies have the apex_available property
set to "//apex_available:platform", "com.android.virt" to explicitly
acknowledge the joining.

Bug: 174639241
Test: m com.android.virt
Change-Id: Ib528ffb402d208109e817e038375cedf51077a68
diff --git a/Android.bp b/Android.bp
index 2363101..504b29f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --device --dependencies --tests.
+// This file is generated by cargo2android.py --run --dependencies --device --tests --patch=patches/Android.bp.patch.
 
 rust_defaults {
     name: "futures-core_defaults",
@@ -35,4 +35,8 @@
         "default",
         "std",
     ],
+    apex_available: [
+        "//apex_available:platform",
+        "com.android.virt",
+    ],
 }
diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch
new file mode 100644
index 0000000..986afab
--- /dev/null
+++ b/patches/Android.bp.patch
@@ -0,0 +1,13 @@
+diff --git a/Android.bp b/Android.bp
+index 2363101..c75b19d 100644
+--- a/Android.bp
++++ b/Android.bp
+@@ -35,4 +35,8 @@ rust_library {
+         "default",
+         "std",
+     ],
++    apex_available: [
++        "//apex_available:platform",
++        "com.android.virt",
++    ],
+ }