aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-16 02:12:04 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-16 02:12:04 +0000
commit506b05bb92fbf2831bf3c6fc7df042ebabb01588 (patch)
tree1f432b33bce93aa057324fc01813da78c7d79f45
parentc87fbe65afd8366a08a7bc928db9cff2e0103481 (diff)
parent230dba8205e6f65e401786f4082a7e55b11cc8ee (diff)
downloadproc-macro-error-506b05bb92fbf2831bf3c6fc7df042ebabb01588.tar.gz
Snap for 11106172 from 230dba8205e6f65e401786f4082a7e55b11cc8ee to sdk-release
Change-Id: I4af8af4235fdf0e68d91ab74c042588c2d5b76d9
-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
+ }
+ }
+}