summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-09 13:36:45 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-09 13:36:45 +0000
commita1c3b56441944a3efd9fd20b711ebbb1e9dc2805 (patch)
tree86f300ab55c5007a6a87ca8f820cc90ce4a8e13f
parentf40195b6da516677218566db02760e9f4b3c5c59 (diff)
downloadmiette-derive-a1c3b56441944a3efd9fd20b711ebbb1e9dc2805.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I1adaa5cf9b5d5e5e1de90c9b273ce4d729b82a7d
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json9
3 files changed, 10 insertions, 7 deletions
diff --git a/Android.bp b/Android.bp
index 220d5d8..ee6e670 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,6 @@
-// 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.
-
-
rust_proc_macro {
name: "libmiette_derive",
crate_name: "miette_derive",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 58e46ee..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "host-first-multilib": true,
- "run": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..2c0a03c
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,9 @@
+{
+ "package": {
+ "miette-derive": {
+ "device_supported": false,
+ "host_first_multilib": true
+ }
+ },
+ "run_cargo": false
+}