diff options
author | Jiyong Park <jiyong@google.com> | 2021-02-16 13:28:43 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2021-02-16 13:28:43 +0900 |
commit | cc91fc8f482217866ede8764ef2b5b52cd42b3a4 (patch) | |
tree | 0e682c3fb910100ea356ef5f12462dcf184a1524 | |
parent | b38d84b4614f532321592cbb22f18b02ba8b68bd (diff) | |
download | serde_json-cc91fc8f482217866ede8764ef2b5b52cd42b3a4.tar.gz |
Add virtmanager to the virt APEX
We want to have virtmanager (and its dependencies) inside the APEX so
that they can be updated. This library is a dependency of the binary,
therefore it should also be marked as being available to the APEX.
Bug: 180297657
Test: com.android.virt
Change-Id: I3fa879c630e42ef481d37f5f213103688251a23d
-rw-r--r-- | Android.bp | 4 | ||||
-rw-r--r-- | patches/Android.bp.patch | 15 |
2 files changed, 19 insertions, 0 deletions
@@ -18,6 +18,10 @@ rust_library { "libryu", "libserde", ], + apex_available: [ + "//apex_available:platform", + "com.android.virt", + ], } // dependent_library ["feature_list"] diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch new file mode 100644 index 0000000..01eddb2 --- /dev/null +++ b/patches/Android.bp.patch @@ -0,0 +1,15 @@ +diff --git a/Android.bp b/Android.bp +index 11e3e28..173735d 100644 +--- a/Android.bp ++++ b/Android.bp +@@ -18,6 +18,10 @@ rust_library { + "libryu", + "libserde", + ], ++ apex_available: [ ++ "//apex_available:platform", ++ "com.android.virt", ++ ], + } + + // dependent_library ["feature_list"] |