aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-17 14:13:36 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-17 14:13:36 +0000
commitdd33adfc834305a379202d757ff1ea3212921fc0 (patch)
treea24a2b30a087eae911acba5fa66dcaaa600ff636
parente223f48c355d09b05baaf6dd11e77d4d853c5028 (diff)
downloadzeroize_derive-dd33adfc834305a379202d757ff1ea3212921fc0.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: Ic495bc7f5376a523ba02770e38121a3e8433480f
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json10
3 files changed, 11 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index f5feaa9..af807e6 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 2e184ce..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "host-first-multilib": true,
- "tests": true,
- "run": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..b048231
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,10 @@
+{
+ "package": {
+ "zeroize_derive": {
+ "device_supported": false,
+ "host_first_multilib": true
+ }
+ },
+ "run_cargo": false,
+ "tests": true
+}