summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-14 18:34:54 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-14 18:42:39 +0000
commitd4cc1330055ebe4894c8247ec03f548a3e2b1032 (patch)
tree21e0bd37a712aa730cceb1ea568867637eb24bd6
parentb4ebfdae99b57089cda875cc25c6b4de2e5ea9f4 (diff)
downloadproc-macro-error-attr-d4cc1330055ebe4894c8247ec03f548a3e2b1032.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I06dc583eea4df2fe00d6bee90c3e21e6f18ac16d
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json9
3 files changed, 10 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index 010a3be..2b49fef 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 {
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index b360f74..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "host-first-multilib": true,
- "run": true,
- "tests": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..01b3445
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,9 @@
+{
+ "package": {
+ "proc-macro-error-attr": {
+ "device_supported": false,
+ "host_first_multilib": true
+ }
+ },
+ "run_cargo": false
+}