aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-22 18:44:12 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-22 18:44:12 +0000
commit301a26c0e9e25a988b18fb77e9cdf54e50aef3b3 (patch)
treefb27e98088ed01aa9789407aed99e473d9f7230f
parentb58a29a5aea82e471dcfd95f0af06c3927e99f3f (diff)
parent10d9340ef9241fddb8cd768ca99c45b908f52e1f (diff)
downloadsyn-301a26c0e9e25a988b18fb77e9cdf54e50aef3b3.tar.gz
Snap for 11341804 from 10d9340ef9241fddb8cd768ca99c45b908f52e1f to build-tools-release
Change-Id: I83b2ce52a46ba57b5f3b20b73086d2128a267bd1
-rw-r--r--1.0.107/Android.bp4
-rw-r--r--1.0.107/cargo2android.json6
-rw-r--r--1.0.107/cargo_embargo.json18
3 files changed, 19 insertions, 9 deletions
diff --git a/1.0.107/Android.bp b/1.0.107/Android.bp
index 17bdb62b..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 {
@@ -64,6 +64,4 @@ rust_library_host {
"libunicode_ident",
],
compile_multilib: "first",
- product_available: true,
- vendor_available: true,
}
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
+ }
+ }
+}