aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-11 22:10:34 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-11 22:10:34 +0000
commit399986ed5a2db1fb93ef9b2fb6b2c5aa74bbbeaf (patch)
treef6dfe5b2ec13a83b41d6c7b1ad97b6aea44fa761
parentb47bdd2df0377b58b137d1c8f8c7d2bdcc961490 (diff)
parentf78c51568256c656e803166d440ef3f49cb33cde (diff)
downloadclap_lex-android14-qpr2-s1-release.tar.gz
Change-Id: If194ae4a220075d981e4b7fc2febb5fba1e3b685
-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
+}