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: I2cbb0756d917995e9ee2290194d7b7ee7d4a012b
diff --git a/Android.bp b/Android.bp
index 7bc5fe8..1db33d8 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --device --dependencies --features=thread-pool.
+// This file is generated by cargo2android.py --run --dependencies --device --features=thread-pool --patch=patches/Android.bp.patch.
rust_library {
name: "libfutures_executor",
@@ -17,6 +17,10 @@
"libfutures_util",
"libnum_cpus",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
// dependent_library ["feature_list"]