diff options
-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", ++ ], + } |