aboutsummaryrefslogtreecommitdiff
path: root/patches/Android.bp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/Android.bp.patch')
-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..b61b82c
--- /dev/null
+++ b/patches/Android.bp.patch
@@ -0,0 +1,15 @@
+diff --git a/Android.bp b/Android.bp
+index 5abab3c..b920d56 100644
+--- a/Android.bp
++++ b/Android.bp
+@@ -46,6 +46,10 @@ rust_library {
+ "default",
+ "std",
+ ],
++ apex_available: [
++ "//apex_available:platform",
++ "com.android.virt",
++ ],
+ flags: [
+ "--cfg has_i128",
+ "--cfg has_to_int_unchecked",