aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:09 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:09 +0000
commit98317f7a63509a8f48248f58fc9c577a3ba2fac7 (patch)
treeba19dc65d179988d7e4cba1952262efafa233084
parent860940ba1b1214f997504f93313467dea6fae74a (diff)
parent275569d7d4d5c2d9fb2ffa0db98c8e782a175613 (diff)
downloadsynstructure-android14-qpr2-release.tar.gz
Change-Id: I299f49d2cf91aa23f813102c43c8df61de6a3476
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json12
3 files changed, 13 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index 8926f75..794ad4f 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 c802afe..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "host-first-multilib": true,
- "run": true,
- "features": "proc-macro"
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..e672222
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,12 @@
+{
+ "features": [
+ "proc-macro"
+ ],
+ "package": {
+ "synstructure": {
+ "device_supported": false,
+ "host_first_multilib": true
+ }
+ },
+ "run_cargo": false
+}