Snap for 12680993 from 238057979a5dfa408638ae36bd7ab9d28be6842c to 25Q1-release

Change-Id: I9dab87d7a81fcc8bfce4855e3f9b93d325383dae
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..2290539
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,47 @@
+// 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_license"],
+    default_team: "trendy_team_android_rust",
+}
+
+license {
+    name: "external_rust_crates_uefi_license",
+    visibility: [":__subpackages__"],
+    license_kinds: ["SPDX-license-identifier-MPL-2.0"],
+    license_text: ["LICENSE"],
+}
+
+rust_library_rlib {
+    name: "libuefi_nostd",
+    crate_name: "uefi",
+    cargo_env_compat: true,
+    cargo_pkg_version: "0.33.0",
+    crate_root: "src/lib.rs",
+    edition: "2021",
+    features: ["alloc"],
+    rustlibs: [
+        "libbitflags",
+        "libcfg_if",
+        "liblog_rust",
+        "libptr_meta_nostd",
+        "libucs2_nostd",
+        "libuefi_raw_nostd",
+        "libuguid_nostd",
+    ],
+    proc_macros: ["libuefi_macros"],
+    apex_available: [
+        "//apex_available:platform",
+        "//apex_available:anyapex",
+    ],
+    prefer_rlib: true,
+    no_stdlibs: true,
+    stdlibs: [
+        "liballoc.rust_sysroot",
+        "libcompiler_builtins.rust_sysroot",
+        "libcore.rust_sysroot",
+    ],
+    product_available: true,
+    vendor_available: true,
+}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..85a045b
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,21 @@
+{
+  "run_cargo": false,
+  "features": [
+    "alloc"
+  ],
+  "module_name_overrides": {
+    "libptr_meta": "libptr_meta_nostd",
+    "libucs2": "libucs2_nostd",
+    "libuefi": "libuefi_nostd",
+    "libuefi_raw": "libuefi_raw_nostd",
+    "libuguid": "libuguid_nostd"
+  },
+  "package": {
+    "uefi": {
+      "alloc": true,
+      "force_rlib": true,
+      "host_supported": false,
+      "no_std": true
+    }
+  }
+}