diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-17 17:56:21 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-11-17 17:56:21 +0000 |
commit | 1940676a27031f1af2632fa9d5fa833a0dee16af (patch) | |
tree | 51e1e2a56037b1e941ba0a4be67ea12d1baba635 | |
parent | 06225a072557a2391ce1ae97d895d0a8109e3a84 (diff) | |
parent | 61a44d920a9e1afd3cd5e48bccb759e2c38ae475 (diff) | |
download | untrusted-1940676a27031f1af2632fa9d5fa833a0dee16af.tar.gz |
Migrate to cargo_embargo. am: 61a44d920a
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/untrusted/+/2836695
Change-Id: I59def7df5c95e2bff5c3927b98a666691a86bdfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-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 +} |