aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2021-02-16 13:28:43 +0900
committerJiyong Park <jiyong@google.com>2021-02-16 13:28:43 +0900
commitcc91fc8f482217866ede8764ef2b5b52cd42b3a4 (patch)
tree0e682c3fb910100ea356ef5f12462dcf184a1524
parentb38d84b4614f532321592cbb22f18b02ba8b68bd (diff)
downloadserde_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.bp4
-rw-r--r--patches/Android.bp.patch15
2 files changed, 19 insertions, 0 deletions
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"]
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"]