Migrate to cargo_embargo. am: a5a5eebce0 am: 087d55a89f
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytemuck_derive/+/2822379
Change-Id: Ifaa7a7fc22de6c13130e5bf285dc4d5db941f899
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index 0389742..89a5060 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: "libbytemuck_derive",
crate_name: "bytemuck_derive",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index bbcd4ca..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "device": true,
- "run": true,
- "tests": false
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..cb908d7
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,3 @@
+{
+ "run_cargo": false
+}