aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-28 01:46:29 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-28 01:46:29 +0000
commitf8e8240c8518527b62624dfecf14a21c98597a08 (patch)
tree1f432b33bce93aa057324fc01813da78c7d79f45
parent09663e0ea2d10a094d2192c8161d4128989ae683 (diff)
parent230dba8205e6f65e401786f4082a7e55b11cc8ee (diff)
downloadproc-macro-error-f8e8240c8518527b62624dfecf14a21c98597a08.tar.gz
Snap for 11147182 from 230dba8205e6f65e401786f4082a7e55b11cc8ee to build-tools-release
Change-Id: I6479e60aee4b32cb5946c2af4d065c5d9e4f2f4f
-rw-r--r--Android.bp5
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json8
3 files changed, 9 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index d9ada78..4715ffb 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 {
@@ -41,7 +41,6 @@ license {
rust_library_host {
name: "libproc_macro_error",
- // has rustc warnings
crate_name: "proc_macro_error",
cargo_env_compat: true,
cargo_pkg_version: "1.0.4",
@@ -60,6 +59,4 @@ rust_library_host {
],
proc_macros: ["libproc_macro_error_attr"],
compile_multilib: "first",
- product_available: true,
- vendor_available: true,
}
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index bb77633..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "host-first-multilib": true,
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..887288a
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,8 @@
+{
+ "package": {
+ "proc-macro-error": {
+ "device_supported": false,
+ "host_first_multilib": true
+ }
+ }
+}