aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-14 01:43:06 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-11-14 01:43:06 +0000
commit2ba86661928b6c8cb0294de5e4ae5775a04c323e (patch)
tree6d6e00f3e2d07f13cf3bd80b353eb119ae84ee04
parentfa23b125e0987f5c68cd810ddd0de55769dfe77a (diff)
parenta14a147ed21e1f6c18231c593d08e92d93d81e48 (diff)
downloadserde_derive-2ba86661928b6c8cb0294de5e4ae5775a04c323e.tar.gz
Migrate to cargo_embargo. am: f5c3c6a4fc am: 2d2754ad8f am: a14a147ed2
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/serde_derive/+/2828170 Change-Id: I2334d7329e6acb158b2d44151b8a60f1848361e2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-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 cd7d5c2..d04345b 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 c4040f0..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "host-first-multilib": true,
- "run": true,
- "tests": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..f428a9e
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,10 @@
+{
+ "package": {
+ "serde_derive": {
+ "device_supported": false,
+ "host_first_multilib": true
+ }
+ },
+ "run_cargo": false,
+ "tests": true
+}