aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-12-04 17:57:14 +0000
committerAndrew Walbran <qwandor@google.com>2023-12-04 17:57:14 +0000
commit5af18216f9c36dca861e7aa7bc2cee6c36ce9829 (patch)
treefb27e98088ed01aa9789407aed99e473d9f7230f
parentf1b46a692c2864a384b84faa17ed67499e9180fe (diff)
downloadsyn-5af18216f9c36dca861e7aa7bc2cee6c36ce9829.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I9e0e5ea39c4614534c9b6c6e533280cc00fdda30
-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
+ }
+ }
+}