Generate Android.bp for crate tracing-attributes
Bug: b/274743374
Change-Id: I5c0a386089a59e4ae340461563f4a53363b9620a
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..3681727
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,21 @@
+// This file is generated by cargo2android.py --run --device.
+// Do not modify this file as changes will be overridden on upgrade.
+
+
+
+rust_proc_macro {
+ name: "libtracing_attributes",
+ // has rustc warnings
+ crate_name: "tracing_attributes",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.1.23",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ rustlibs: [
+ "libproc_macro2",
+ "libquote",
+ "libsyn",
+ ],
+ product_available: true,
+ vendor_available: true,
+}