aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-10-18 16:46:45 +0100
committerAndrew Walbran <qwandor@google.com>2023-10-18 16:46:45 +0100
commit832ddf7157e6d977d23eba8885ab7a7a5e49adfa (patch)
treede821024ff0cf66aa82e8a3e5e2002dee4a1e28f
parentf3e150abd5c8912db3acd27f9f218aadd49dbc11 (diff)
downloadcriterion-832ddf7157e6d977d23eba8885ab7a7a5e49adfa.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I6abdbe6803c7531fff86e54c9ae0df30b1a263a2
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json7
-rw-r--r--cargo_embargo.json6
3 files changed, 7 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index 2448462..d2e519d 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 291f6b5..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "device": true,
- "run": true,
- "dep-suffixes": {
- "clap": "_3.2.23"
- }
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..7dcdf45
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,6 @@
+{
+ "module_name_overrides": {
+ "libclap": "libclap_3.2.23"
+ },
+ "run_cargo": false
+}