1// This file is generated by cargo_embargo. 2// Do not modify this file after the first "rust_*" or "genrule" module 3// because the changes will be overridden on upgrade. 4// Content before the first "rust_*" or "genrule" module is preserved. 5 6package { 7 default_applicable_licenses: [ 8 "external_rust_crates_buddy_system_allocator_license", 9 ], 10} 11 12// Added automatically by a large-scale-change 13// See: http://go/android-license-faq 14license { 15 name: "external_rust_crates_buddy_system_allocator_license", 16 visibility: [":__subpackages__"], 17 license_kinds: [ 18 "SPDX-license-identifier-MIT", 19 ], 20 license_text: [ 21 "LICENSE", 22 ], 23} 24 25rust_library_rlib { 26 name: "libbuddy_system_allocator", 27 crate_name: "buddy_system_allocator", 28 cargo_env_compat: true, 29 cargo_pkg_version: "0.9.0", 30 crate_root: "src/lib.rs", 31 edition: "2021", 32 features: [ 33 "default", 34 "spin", 35 "use_spin", 36 ], 37 rustlibs: ["libspin_nostd"], 38 apex_available: [ 39 "//apex_available:platform", 40 "//apex_available:anyapex", 41 ], 42 prefer_rlib: true, 43 no_stdlibs: true, 44 stdlibs: [ 45 "liballoc.rust_sysroot", 46 "libcompiler_builtins.rust_sysroot", 47 "libcore.rust_sysroot", 48 ], 49 product_available: true, 50 vendor_available: true, 51} 52