diff options
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | cargo2android.json | 8 |
2 files changed, 13 insertions, 1 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --run --device. +// This file is generated by cargo2android.py --config cargo2android.json. // Do not modify this file as changes will be overridden on upgrade. package { @@ -51,4 +51,8 @@ rust_library { "liblock_api", "libparking_lot_core", ], + apex_available: [ + "//apex_available:platform", + "com.android.virt", + ], } diff --git a/cargo2android.json b/cargo2android.json new file mode 100644 index 0000000..340481e --- /dev/null +++ b/cargo2android.json @@ -0,0 +1,8 @@ +{ + "apex-available": [ + "//apex_available:platform", + "com.android.virt" + ], + "device": true, + "run": true +}
\ No newline at end of file |