aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-12-05 13:53:36 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-12-05 13:53:36 +0000
commit10d9340ef9241fddb8cd768ca99c45b908f52e1f (patch)
treefb27e98088ed01aa9789407aed99e473d9f7230f
parentb538c710f99ef8861a0aedfce320577bd45bc048 (diff)
parent5af18216f9c36dca861e7aa7bc2cee6c36ce9829 (diff)
downloadsyn-10d9340ef9241fddb8cd768ca99c45b908f52e1f.tar.gz
Migrate to cargo_embargo. am: 5af18216f9emu-34-3-release
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/syn/+/2854959 Change-Id: I98c2d633fbc26aa4a3aac48a8b9947614c2a6b31 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--1.0.107/Android.bp2
-rw-r--r--1.0.107/cargo2android.json6
-rw-r--r--1.0.107/cargo_embargo.json18
3 files changed, 19 insertions, 7 deletions
diff --git a/1.0.107/Android.bp b/1.0.107/Android.bp
index afa2d7b8..12a38444 100644
--- a/1.0.107/Android.bp
+++ b/1.0.107/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/1.0.107/cargo2android.json b/1.0.107/cargo2android.json
deleted file mode 100644
index cd8572d4..00000000
--- a/1.0.107/cargo2android.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "features": "default,full,visit,visit-mut,extra-traits",
- "host-first-multilib": true,
- "run": true,
- "name-suffix": "_deprecated"
-}
diff --git a/1.0.107/cargo_embargo.json b/1.0.107/cargo_embargo.json
new file mode 100644
index 00000000..94916616
--- /dev/null
+++ b/1.0.107/cargo_embargo.json
@@ -0,0 +1,18 @@
+{
+ "features": [
+ "default",
+ "full",
+ "visit",
+ "visit-mut",
+ "extra-traits"
+ ],
+ "module_name_overrides": {
+ "libsyn": "libsyn_deprecated"
+ },
+ "package": {
+ "syn": {
+ "device_supported": false,
+ "host_first_multilib": true
+ }
+ }
+}