Build bytemuck am: 41d8c6ea23 am: 702bf9bc89
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytemuck_derive/+/2681875
Change-Id: I30cc898c61da24af3fca47ae53741de4fdce6cc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..0389742
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,20 @@
+// This file is generated by cargo2android.py --config cargo2android.json.
+// Do not modify this file as changes will be overridden on upgrade.
+
+
+
+rust_proc_macro {
+ name: "libbytemuck_derive",
+ crate_name: "bytemuck_derive",
+ cargo_env_compat: true,
+ cargo_pkg_version: "1.4.1",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ rustlibs: [
+ "libproc_macro2",
+ "libquote",
+ "libsyn",
+ ],
+ product_available: true,
+ vendor_available: true,
+}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..bbcd4ca
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,5 @@
+{
+ "device": true,
+ "run": true,
+ "tests": false
+}