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: ["external_rust_crates_hashbrown_license"], 8} 9 10// Added automatically by a large-scale-change that took the approach of 11// 'apply every license found to every target'. While this makes sure we respect 12// every license restriction, it may not be entirely correct. 13// 14// e.g. GPL in an MIT project might only apply to the contrib/ directory. 15// 16// Please consider splitting the single license below into multiple licenses, 17// taking care not to lose any license_kind information, and overriding the 18// default license using the 'licenses: [...]' property on targets as needed. 19// 20// For unused files, consider creating a 'fileGroup' with "//visibility:private" 21// to attach the license to, and including a comment whether the files may be 22// used in the current project. 23// 24// large-scale-change included anything that looked like it might be a license 25// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. 26// 27// Please consider removing redundant or irrelevant files from 'license_text:'. 28// See: http://go/android-license-faq 29license { 30 name: "external_rust_crates_hashbrown_license", 31 visibility: [":__subpackages__"], 32 license_kinds: [ 33 "SPDX-license-identifier-Apache-2.0", 34 "SPDX-license-identifier-MIT", 35 ], 36 license_text: [ 37 "LICENSE-APACHE", 38 "LICENSE-MIT", 39 ], 40} 41 42rust_test { 43 name: "hashbrown_test_src_lib", 44 host_supported: true, 45 crate_name: "hashbrown", 46 cargo_env_compat: true, 47 cargo_pkg_version: "0.12.3", 48 crate_root: "src/lib.rs", 49 test_suites: ["general-tests"], 50 auto_gen_config: true, 51 test_options: { 52 unit_test: true, 53 }, 54 edition: "2021", 55 features: [ 56 "ahash", 57 "default", 58 "inline-more", 59 "raw", 60 ], 61 rustlibs: [ 62 "libahash", 63 "libfnv", 64 "liblazy_static", 65 "librand", 66 "librayon", 67 "libserde_test", 68 ], 69} 70 71rust_test { 72 name: "hashbrown_test_tests_hasher", 73 host_supported: true, 74 crate_name: "hasher", 75 cargo_env_compat: true, 76 cargo_pkg_version: "0.12.3", 77 crate_root: "tests/hasher.rs", 78 test_suites: ["general-tests"], 79 auto_gen_config: true, 80 test_options: { 81 unit_test: true, 82 }, 83 edition: "2021", 84 features: [ 85 "ahash", 86 "default", 87 "inline-more", 88 "raw", 89 ], 90 rustlibs: [ 91 "libahash", 92 "libfnv", 93 "libhashbrown", 94 "liblazy_static", 95 "librand", 96 "librayon", 97 "libserde_test", 98 ], 99} 100 101rust_test { 102 name: "hashbrown_test_tests_set", 103 host_supported: true, 104 crate_name: "set", 105 cargo_env_compat: true, 106 cargo_pkg_version: "0.12.3", 107 crate_root: "tests/set.rs", 108 test_suites: ["general-tests"], 109 auto_gen_config: true, 110 test_options: { 111 unit_test: true, 112 }, 113 edition: "2021", 114 features: [ 115 "ahash", 116 "default", 117 "inline-more", 118 "raw", 119 ], 120 rustlibs: [ 121 "libahash", 122 "libfnv", 123 "libhashbrown", 124 "liblazy_static", 125 "librand", 126 "librayon", 127 "libserde_test", 128 ], 129} 130 131rust_library { 132 name: "libhashbrown", 133 host_supported: true, 134 crate_name: "hashbrown", 135 cargo_env_compat: true, 136 cargo_pkg_version: "0.12.3", 137 crate_root: "src/lib.rs", 138 edition: "2021", 139 features: [ 140 "ahash", 141 "default", 142 "inline-more", 143 "raw", 144 ], 145 rustlibs: ["libahash"], 146 apex_available: [ 147 "//apex_available:platform", 148 "//apex_available:anyapex", 149 ], 150 product_available: true, 151 vendor_available: true, 152} 153