diff options
author | Jiyong Park <jiyong@google.com> | 2021-02-16 13:28:04 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2021-02-16 13:28:04 +0900 |
commit | 02dce9451a706935ee31dbba1f103fa1afa63658 (patch) | |
tree | 3d1fffacc57f49f93d119f4936250e747a391668 | |
parent | 5f99c12e379176f930fcf1a9f6d18fd58cba3a3e (diff) | |
download | ryu-02dce9451a706935ee31dbba1f103fa1afa63658.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: I4e28d4ae8061ae827310c2c3ff8c2a3c7f54b579
-rw-r--r-- | Android.bp | 4 | ||||
-rw-r--r-- | patches/Android.bp.patch | 13 |
2 files changed, 17 insertions, 0 deletions
@@ -10,4 +10,8 @@ rust_library { "--cfg integer128", "--cfg maybe_uninit", ], + 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..343b704 --- /dev/null +++ b/patches/Android.bp.patch @@ -0,0 +1,13 @@ +diff --git a/Android.bp b/Android.bp +index bbb0114..e47c45a 100644 +--- a/Android.bp ++++ b/Android.bp +@@ -10,4 +10,8 @@ rust_library { + "--cfg integer128", + "--cfg maybe_uninit", + ], ++ apex_available: [ ++ "//apex_available:platform", ++ "com.android.virt", ++ ], + } |