aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:27 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:27 +0000
commit01072ccdc3be11e6cbfff16187a66651d2aba11c (patch)
tree7662db05ff516e1fc77db00b4ae486fe5ef01023
parent1071cddbd8689a0b958d69dfb82b8cef5de656cd (diff)
parent4f88d1688c1b9f9a90d1c5c447c889006ea55f50 (diff)
downloadtracing-android14-qpr2-s1-release.tar.gz
Change-Id: Ie1378d5ed47d89a30a50ea9f342802d4be15c916
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json12
-rw-r--r--cargo_embargo.json14
3 files changed, 15 insertions, 15 deletions
diff --git a/Android.bp b/Android.bp
index e05e052..edcf56c 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: "libtracing",
- // has rustc warnings
host_supported: true,
crate_name: "tracing",
cargo_env_compat: true,
@@ -49,7 +48,6 @@ rust_library {
rust_library {
name: "libtracing_max_level_off",
- // has rustc warnings
host_supported: true,
crate_name: "tracing",
cargo_env_compat: true,
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 4131f2e..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "run": true,
- "device": true,
- "variants": [
- {
- },
- {
- "features": "max_level_off",
- "suffix": "_max_level_off"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..188aefd
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,14 @@
+{
+ "run_cargo": false,
+ "variants": [
+ {},
+ {
+ "features": [
+ "max_level_off"
+ ],
+ "module_name_overrides": {
+ "libtracing": "libtracing_max_level_off"
+ }
+ }
+ ]
+}