aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-10 21:17:09 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-11-10 21:17:09 +0000
commit8d526cddb85d6944a53c3987c7f417b509b0760d (patch)
tree6eb9f131ed1891891cd5e1c073a461a7dadde927
parent4b1202b936103f0dda3a1c66fecce8dee8feb272 (diff)
parentb44adca430cca6a3a63f76c81fee2208f1ecb9e5 (diff)
downloadclap-8d526cddb85d6944a53c3987c7f417b509b0760d.tar.gz
Migrate to cargo_embargo. am: b44adca430
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/clap/+/2826471 Change-Id: I34d526bec99452822f75e06a2f66c898bbe26e2d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json9
-rw-r--r--cargo_embargo.json13
3 files changed, 14 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index 1595d5e..d969720 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 {
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 150a550..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "dependencies": true,
- "device": true,
- "features": "derive,error-context,help,std,usage",
- "run": true,
- "dep-suffixes": {
- "bitflags": "-1.3.2"
- }
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..235341a
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,13 @@
+{
+ "features": [
+ "derive",
+ "error-context",
+ "help",
+ "std",
+ "usage"
+ ],
+ "module_name_overrides": {
+ "libbitflags": "libbitflags-1.3.2"
+ },
+ "run_cargo": false
+}