aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-14 19:54:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-14 19:54:08 +0000
commitd49f786e39e5a29dc9cd24295e3e5892807dd50d (patch)
treef6dfe5b2ec13a83b41d6c7b1ad97b6aea44fa761
parentd3b977d9583282687b55f92e1eda86a86fb599df (diff)
parent1e28b5203368103a02d575bdda5d335551b651c8 (diff)
downloadclap_lex-d49f786e39e5a29dc9cd24295e3e5892807dd50d.tar.gz
Snap for 11096816 from 1e28b5203368103a02d575bdda5d335551b651c8 to build-tools-release
Change-Id: I980c6a0961ec574f554e393118b1907bab91ad4a
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json6
-rw-r--r--cargo_embargo.json3
3 files changed, 5 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index 48335d3..4e73ba7 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 {
@@ -45,9 +45,7 @@ rust_library {
cargo_pkg_version: "0.3.2",
srcs: ["src/lib.rs"],
edition: "2021",
- rustlibs: [
- "libos_str_bytes",
- ],
+ rustlibs: ["libos_str_bytes"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 3ebdf72..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "dependencies": true,
- "device": true,
- "run": true,
- "tests": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..9a0a579
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,3 @@
+{
+ "tests": true
+}