Run cargo2android on ouroboros_macro
Bug: 267375624
Test: m libouroboros_macro
Change-Id: I932b43eba950a0506d2e225f3a363bdbcc90d939
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..bf99ead
--- /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: "libouroboros_macro",
+ crate_name: "ouroboros_macro",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.15.5",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ rustlibs: [
+ "libinflector",
+ "libproc_macro2",
+ "libproc_macro_error",
+ "libquote",
+ "libsyn",
+ ],
+}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..958632b
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,3 @@
+{
+ "run": true
+}
\ No newline at end of file