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_minimal-lexical_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// 26// large-scale-change included anything that looked like it might be a license 27// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. 28// 29// Please consider removing redundant or irrelevant files from 'license_text:'. 30// See: http://go/android-license-faq 31license { 32 name: "external_rust_crates_minimal-lexical_license", 33 visibility: [":__subpackages__"], 34 license_kinds: [ 35 "SPDX-license-identifier-Apache-2.0", 36 "SPDX-license-identifier-BSD", 37 "SPDX-license-identifier-MIT", 38 ], 39 license_text: [ 40 "LICENSE-APACHE", 41 "LICENSE-MIT", 42 ], 43} 44 45rust_library { 46 name: "libminimal_lexical", 47 host_supported: true, 48 crate_name: "minimal_lexical", 49 cargo_env_compat: true, 50 cargo_pkg_version: "0.2.1", 51 crate_root: "src/lib.rs", 52 edition: "2018", 53 features: [ 54 "default", 55 "std", 56 ], 57 apex_available: [ 58 "//apex_available:platform", 59 "com.android.virt", 60 ], 61 product_available: true, 62 vendor_available: true, 63} 64 65rust_test { 66 name: "minimal-lexical_test_tests_integration_tests", 67 host_supported: true, 68 crate_name: "integration_tests", 69 cargo_env_compat: true, 70 cargo_pkg_version: "0.2.1", 71 crate_root: "tests/integration_tests.rs", 72 test_suites: ["general-tests"], 73 auto_gen_config: true, 74 test_options: { 75 unit_test: true, 76 }, 77 edition: "2018", 78 features: [ 79 "default", 80 "std", 81 ], 82 rustlibs: ["libminimal_lexical"], 83} 84 85rust_test { 86 name: "minimal-lexical_test_tests_lemire_tests", 87 host_supported: true, 88 crate_name: "lemire_tests", 89 cargo_env_compat: true, 90 cargo_pkg_version: "0.2.1", 91 crate_root: "tests/lemire_tests.rs", 92 test_suites: ["general-tests"], 93 auto_gen_config: true, 94 test_options: { 95 unit_test: true, 96 }, 97 edition: "2018", 98 features: [ 99 "default", 100 "std", 101 ], 102 rustlibs: ["libminimal_lexical"], 103} 104 105rust_test { 106 name: "minimal-lexical_test_tests_mask_tests", 107 host_supported: true, 108 crate_name: "mask_tests", 109 cargo_env_compat: true, 110 cargo_pkg_version: "0.2.1", 111 crate_root: "tests/mask_tests.rs", 112 test_suites: ["general-tests"], 113 auto_gen_config: true, 114 test_options: { 115 unit_test: true, 116 }, 117 edition: "2018", 118 features: [ 119 "default", 120 "std", 121 ], 122 rustlibs: ["libminimal_lexical"], 123} 124 125rust_test { 126 name: "minimal-lexical_test_tests_number_tests", 127 host_supported: true, 128 crate_name: "number_tests", 129 cargo_env_compat: true, 130 cargo_pkg_version: "0.2.1", 131 crate_root: "tests/number_tests.rs", 132 test_suites: ["general-tests"], 133 auto_gen_config: true, 134 test_options: { 135 unit_test: true, 136 }, 137 edition: "2018", 138 features: [ 139 "default", 140 "std", 141 ], 142 rustlibs: ["libminimal_lexical"], 143} 144 145rust_test { 146 name: "minimal-lexical_test_tests_parse_tests", 147 host_supported: true, 148 crate_name: "parse_tests", 149 cargo_env_compat: true, 150 cargo_pkg_version: "0.2.1", 151 crate_root: "tests/parse_tests.rs", 152 test_suites: ["general-tests"], 153 auto_gen_config: true, 154 test_options: { 155 unit_test: true, 156 }, 157 edition: "2018", 158 features: [ 159 "default", 160 "std", 161 ], 162 rustlibs: ["libminimal_lexical"], 163} 164 165rust_test { 166 name: "minimal-lexical_test_tests_rounding_tests", 167 host_supported: true, 168 crate_name: "rounding_tests", 169 cargo_env_compat: true, 170 cargo_pkg_version: "0.2.1", 171 crate_root: "tests/rounding_tests.rs", 172 test_suites: ["general-tests"], 173 auto_gen_config: true, 174 test_options: { 175 unit_test: true, 176 }, 177 edition: "2018", 178 features: [ 179 "default", 180 "std", 181 ], 182 rustlibs: ["libminimal_lexical"], 183} 184 185rust_test { 186 name: "minimal-lexical_test_tests_slow_tests", 187 host_supported: true, 188 crate_name: "slow_tests", 189 cargo_env_compat: true, 190 cargo_pkg_version: "0.2.1", 191 crate_root: "tests/slow_tests.rs", 192 test_suites: ["general-tests"], 193 auto_gen_config: true, 194 test_options: { 195 unit_test: true, 196 }, 197 edition: "2018", 198 features: [ 199 "default", 200 "std", 201 ], 202 rustlibs: ["libminimal_lexical"], 203} 204 205rust_test { 206 name: "minimal-lexical_test_tests_vec_tests", 207 host_supported: true, 208 crate_name: "vec_tests", 209 cargo_env_compat: true, 210 cargo_pkg_version: "0.2.1", 211 crate_root: "tests/vec_tests.rs", 212 test_suites: ["general-tests"], 213 auto_gen_config: true, 214 test_options: { 215 unit_test: true, 216 }, 217 edition: "2018", 218 features: [ 219 "default", 220 "std", 221 ], 222 rustlibs: ["libminimal_lexical"], 223} 224