aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-12-07 15:49:24 +0900
committerJiyong Park <jiyong@google.com>2020-12-14 16:09:09 +0900
commit438febf9aeb3ae1f64584c3e316bde5abe74c6ed (patch)
tree3c1be36d4646739ff7a99132b27a3bcd6c51a9ed /patches
parent47965e1155a6f280e3916c1f4a0c120f2e9849ef (diff)
downloadpin-project-438febf9aeb3ae1f64584c3e316bde5abe74c6ed.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: If0f3b78eccaa1bea7b4de0813edd5a06ac9763c2
Diffstat (limited to 'patches')
-rw-r--r--patches/Android.bp.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch
new file mode 100644
index 0000000..e0adcd4
--- /dev/null
+++ b/patches/Android.bp.patch
@@ -0,0 +1,15 @@
+diff --git a/Android.bp b/Android.bp
+index 1ed91d5..16df3fc 100644
+--- a/Android.bp
++++ b/Android.bp
+@@ -7,6 +7,10 @@ rust_library {
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ proc_macros: ["libpin_project_internal"],
++ apex_available: [
++ "//apex_available:platform",
++ "com.android.virt",
++ ],
+ }
+
+ // dependent_library ["feature_list"]