aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-22 21:40:02 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-22 21:40:02 +0000
commitcdbb59a5c48b7af20c895c2f96e509f883a7f189 (patch)
tree6eb9f131ed1891891cd5e1c073a461a7dadde927
parenta247070494bbdcbd5ed958234f751682d21432d1 (diff)
parentb44adca430cca6a3a63f76c81fee2208f1ecb9e5 (diff)
downloadclap-cdbb59a5c48b7af20c895c2f96e509f883a7f189.tar.gz
Snap for 11135399 from b44adca430cca6a3a63f76c81fee2208f1ecb9e5 to simpleperf-release
Change-Id: I2bc078b04a962666c59b26d2ac931a1496564172
-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
+}