diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-17 12:17:05 +0000 |
---|---|---|
committer | Andrew Walbran <qwandor@google.com> | 2023-11-17 12:17:05 +0000 |
commit | 61a44d920a9e1afd3cd5e48bccb759e2c38ae475 (patch) | |
tree | 51e1e2a56037b1e941ba0a4be67ea12d1baba635 | |
parent | 8892fec2cdc9e09795522ba1c007fa78b12f881c (diff) | |
download | untrusted-61a44d920a9e1afd3cd5e48bccb759e2c38ae475.tar.gz |
Migrate to cargo_embargo.
Bug: 293289578
Test: Ran cargo_embargo, compared Android.bp
Change-Id: I5802a3726df0c3d3fdfb045f6f150f0c94445ad1
-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 +} |