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_tinyvec_macros_license", 9 ], 10} 11 12// Added automatically by a large-scale-change that took the approach of 13// 'apply every license found to every target'. While this makes sure we respect 14// every license restriction, it may not be entirely correct. 15// 16// e.g. GPL in an MIT project might only apply to the contrib/ directory. 17// 18// Please consider splitting the single license below into multiple licenses, 19// taking care not to lose any license_kind information, and overriding the 20// default license using the 'licenses: [...]' property on targets as needed. 21// 22// For unused files, consider creating a 'filegroup' with "//visibility:private" 23// to attach the license to, and including a comment whether the files may be 24// used in the current project. 25// http://go/android-license-faq 26license { 27 name: "external_rust_crates_tinyvec_macros_license", 28 visibility: [":__subpackages__"], 29 license_kinds: [ 30 "SPDX-license-identifier-Apache-2.0", 31 "SPDX-license-identifier-MIT", 32 ], 33 license_text: [ 34 "LICENSE", 35 ], 36} 37 38rust_library { 39 name: "libtinyvec_macros", 40 host_supported: true, 41 crate_name: "tinyvec_macros", 42 cargo_env_compat: true, 43 cargo_pkg_version: "0.1.1", 44 crate_root: "src/lib.rs", 45 edition: "2018", 46 apex_available: [ 47 "//apex_available:platform", 48 "com.android.resolv", 49 ], 50 product_available: true, 51 vendor_available: true, 52 min_sdk_version: "29", 53} 54