Make the library available to virt apex
Bug: n/a
Test: m virtualizationservice
Change-Id: I561c818c5417764b00b4a4fc1ea31286daed3808
diff --git a/Android.bp b/Android.bp
index 646c587..1d38b35 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --device --dependencies.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -68,6 +68,10 @@
"libmemchr",
"libregex_syntax",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
// dependent_library ["feature_list"]
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..5c18d15
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,9 @@
+{
+ "apex-available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "dependencies": true,
+ "device": true,
+ "run": true
+}