aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp4
-rw-r--r--patches/Android.bp.patch13
2 files changed, 17 insertions, 0 deletions
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",
+ ],
}
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",
++ ],
+ }