diff options
author | Jiyong Park <jiyong@google.com> | 2020-12-07 15:45:45 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2020-12-14 16:06:24 +0900 |
commit | 63d8a019ab595a197a56a3b2569e797f5c68a573 (patch) | |
tree | b74bdd13f57e17138fc20261a318879e2b73437d | |
parent | db098a9fb25dc24f9001431a3335f3e5b6cb00ff (diff) | |
download | futures-sink-63d8a019ab595a197a56a3b2569e797f5c68a573.tar.gz |
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: Ia9e91419d482315284c9e596075ab20bd73843a1
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | patches/Android.bp.patch | 13 |
2 files changed, 18 insertions, 1 deletions
@@ -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-sink_defaults", @@ -35,4 +35,8 @@ rust_library { "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..4305fea --- /dev/null +++ b/patches/Android.bp.patch @@ -0,0 +1,13 @@ +diff --git a/Android.bp b/Android.bp +index a740016..b16050a 100644 +--- a/Android.bp ++++ b/Android.bp +@@ -35,4 +35,8 @@ rust_library { + "default", + "std", + ], ++ apex_available: [ ++ "//apex_available:platform", ++ "com.android.virt", ++ ], + } |