aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Scull <ascull@google.com>2022-06-01 12:44:15 +0000
committerAndrew Scull <ascull@google.com>2022-06-01 12:44:15 +0000
commit44231575873b2df508aa89304be2519129e5e0e5 (patch)
tree0f25dd371536c63d0940ce48e5bb6a7aa9e12319
parent3c3372eb2a23a669116918fa522fda099ec68dfb (diff)
downloadnom-44231575873b2df508aa89304be2519129e5e0e5.tar.gz
Make availble to com.android.virt
Test: build Bug: 234564414 Change-Id: I5f9a685ae610e1ad7b5664aadf19461fb4d445ae
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json6
2 files changed, 9 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 6fd9d6f..6c36bec 100644
--- a/Android.bp
+++ b/Android.bp
@@ -35,4 +35,8 @@ rust_library {
"libmemchr",
"libminimal_lexical",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
diff --git a/cargo2android.json b/cargo2android.json
index 5fb7e33..73b74df 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,5 +1,9 @@
{
+ "apex-available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
"device": true,
"features": "alloc,std",
"run": true
-} \ No newline at end of file
+}