uefi-macros: Generate Android.bp file am: df105acb73
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/uefi-macros/+/3360330
Change-Id: Ib52357fa9ae58da9d4b106bd1b191d66690f642c
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..ad1e1a7
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,30 @@
+// This file is generated by cargo_embargo.
+// Do not modify this file because the changes will be overridden on upgrade.
+
+package {
+ default_applicable_licenses: ["external_rust_crates_uefi-macros_license"],
+ default_team: "trendy_team_android_rust",
+}
+
+license {
+ name: "external_rust_crates_uefi-macros_license",
+ visibility: [":__subpackages__"],
+ license_kinds: ["SPDX-license-identifier-MPL-2.0"],
+ license_text: ["LICENSE"],
+}
+
+rust_proc_macro {
+ name: "libuefi_macros",
+ crate_name: "uefi_macros",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.17.0",
+ crate_root: "src/lib.rs",
+ edition: "2021",
+ rustlibs: [
+ "libproc_macro2",
+ "libquote",
+ "libsyn",
+ ],
+ product_available: true,
+ vendor_available: true,
+}
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
+}