aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-18 02:14:56 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-18 02:14:56 +0000
commita6b4fae0d89ad1a022f0a54d678abb4587a3a2e6 (patch)
tree51e1e2a56037b1e941ba0a4be67ea12d1baba635
parent6d511e7bda10da47234174af56f5e4ab13c85519 (diff)
parent19f93951a58c6a26b3bee63a359fe2bc9c08d61b (diff)
downloaduntrusted-android14-qpr2-s1-release.tar.gz
Change-Id: I5af15b9ee27c32abc37622db9a18cb53a31169a9
-rw-r--r--Android.bp8
-rw-r--r--cargo_embargo.json (renamed from cargo2android.json)9
2 files changed, 5 insertions, 12 deletions
diff --git a/Android.bp b/Android.bp
index 4900f04..4aaab98 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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
+}