1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_uefi_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_uefi_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-MPL-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library_rlib {
17    name: "libuefi_nostd",
18    crate_name: "uefi",
19    cargo_env_compat: true,
20    cargo_pkg_version: "0.33.0",
21    crate_root: "src/lib.rs",
22    edition: "2021",
23    features: ["alloc"],
24    rustlibs: [
25        "libbitflags",
26        "libcfg_if",
27        "liblog_rust",
28        "libptr_meta_nostd",
29        "libucs2_nostd",
30        "libuefi_raw_nostd",
31        "libuguid_nostd",
32    ],
33    proc_macros: ["libuefi_macros"],
34    apex_available: [
35        "//apex_available:platform",
36        "//apex_available:anyapex",
37    ],
38    prefer_rlib: true,
39    no_stdlibs: true,
40    stdlibs: [
41        "liballoc.rust_sysroot",
42        "libcompiler_builtins.rust_sysroot",
43        "libcore.rust_sysroot",
44    ],
45    product_available: true,
46    vendor_available: true,
47}
48