diff options
-rw-r--r-- | Android.bp | 8 | ||||
-rw-r--r-- | cargo_embargo.json (renamed from cargo2android.json) | 9 |
2 files changed, 5 insertions, 12 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --config cargo2android.json. +// This file is generated by cargo_embargo. // Do not modify this file as changes will be overridden on upgrade. package { @@ -20,7 +20,6 @@ license { rust_library { name: "libuntrusted", - // has rustc warnings host_supported: true, crate_name: "untrusted", cargo_env_compat: true, @@ -40,7 +39,6 @@ rust_library { rust_test { name: "untrusted_test_tests_tests", - // has rustc warnings host_supported: true, crate_name: "tests", cargo_env_compat: true, @@ -52,7 +50,5 @@ rust_test { unit_test: true, }, edition: "2018", - rustlibs: [ - "libuntrusted", - ], + rustlibs: ["libuntrusted"], } diff --git a/cargo2android.json b/cargo_embargo.json index 506d866..2718013 100644 --- a/cargo2android.json +++ b/cargo_embargo.json @@ -1,13 +1,10 @@ { - "apex-available": [ + "apex_available": [ "//apex_available:platform", "com.android.compos", "com.android.resolv", "com.android.virt" ], - "dependencies": true, - "device": true, - "min-sdk-version": "29", - "run": true, + "min_sdk_version": "29", "tests": true -}
\ No newline at end of file +} |