1// This file is generated by cargo2android.py --config cargo2android.json. 2// Do not modify this file as changes will be overridden on upgrade. 3 4package { 5 default_applicable_licenses: [ 6 "external_rust_crates_buddy_system_allocator_license", 7 ], 8} 9 10// Added automatically by a large-scale-change 11// See: http://go/android-license-faq 12license { 13 name: "external_rust_crates_buddy_system_allocator_license", 14 visibility: [":__subpackages__"], 15 license_kinds: [ 16 "SPDX-license-identifier-MIT", 17 ], 18 license_text: [ 19 "LICENSE", 20 ], 21} 22 23rust_library_rlib { 24 name: "libbuddy_system_allocator", 25 host_supported: true, 26 crate_name: "buddy_system_allocator", 27 cargo_env_compat: true, 28 cargo_pkg_version: "0.9.0", 29 srcs: ["src/lib.rs"], 30 edition: "2021", 31 features: [ 32 "default", 33 "spin", 34 "use_spin", 35 ], 36 rustlibs: [ 37 "libspin_nostd", 38 ], 39 apex_available: [ 40 "//apex_available:platform", 41 "//apex_available:anyapex", 42 ], 43} 44