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_buddy_system_allocator_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_buddy_system_allocator_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-MIT"],
13    license_text: ["LICENSE"],
14}
15
16rust_library_rlib {
17    name: "libbuddy_system_allocator",
18    crate_name: "buddy_system_allocator",
19    cargo_env_compat: true,
20    cargo_pkg_version: "0.11.0",
21    crate_root: "src/lib.rs",
22    edition: "2021",
23    features: [
24        "alloc",
25        "default",
26        "spin",
27        "use_spin",
28    ],
29    rustlibs: ["libspin_nostd"],
30    apex_available: [
31        "//apex_available:platform",
32        "//apex_available:anyapex",
33    ],
34    prefer_rlib: true,
35    no_stdlibs: true,
36    stdlibs: [
37        "liballoc.rust_sysroot",
38        "libcompiler_builtins.rust_sysroot",
39        "libcore.rust_sysroot",
40    ],
41    product_available: true,
42    vendor_available: true,
43}
44
45dirgroup {
46    name: "trusty_dirgroup_external_rust_crates_buddy_system_allocator",
47    visibility: ["//trusty/vendor/google/aosp/scripts"],
48    dirs: ["."],
49}
50