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_anyhow_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_anyhow_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: "anyhow_test_src_lib", 44 host_supported: true, 45 crate_name: "anyhow", 46 cargo_env_compat: true, 47 cargo_pkg_version: "1.0.79", 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: "2018", 55 features: [ 56 "default", 57 "std", 58 ], 59 rustlibs: [ 60 "libfutures", 61 "libthiserror", 62 ], 63} 64 65rust_test { 66 name: "anyhow_test_tests_test_autotrait", 67 host_supported: true, 68 crate_name: "test_autotrait", 69 cargo_env_compat: true, 70 cargo_pkg_version: "1.0.79", 71 crate_root: "tests/test_autotrait.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: [ 83 "libanyhow", 84 "libfutures", 85 "libthiserror", 86 ], 87} 88 89rust_test { 90 name: "anyhow_test_tests_test_boxed", 91 host_supported: true, 92 crate_name: "test_boxed", 93 cargo_env_compat: true, 94 cargo_pkg_version: "1.0.79", 95 crate_root: "tests/test_boxed.rs", 96 test_suites: ["general-tests"], 97 auto_gen_config: true, 98 test_options: { 99 unit_test: true, 100 }, 101 edition: "2018", 102 features: [ 103 "default", 104 "std", 105 ], 106 rustlibs: [ 107 "libanyhow", 108 "libfutures", 109 "libthiserror", 110 ], 111} 112 113rust_test { 114 name: "anyhow_test_tests_test_chain", 115 host_supported: true, 116 crate_name: "test_chain", 117 cargo_env_compat: true, 118 cargo_pkg_version: "1.0.79", 119 crate_root: "tests/test_chain.rs", 120 test_suites: ["general-tests"], 121 auto_gen_config: true, 122 test_options: { 123 unit_test: true, 124 }, 125 edition: "2018", 126 features: [ 127 "default", 128 "std", 129 ], 130 rustlibs: [ 131 "libanyhow", 132 "libfutures", 133 "libthiserror", 134 ], 135} 136 137rust_test { 138 name: "anyhow_test_tests_test_context", 139 host_supported: true, 140 crate_name: "test_context", 141 cargo_env_compat: true, 142 cargo_pkg_version: "1.0.79", 143 crate_root: "tests/test_context.rs", 144 test_suites: ["general-tests"], 145 auto_gen_config: true, 146 test_options: { 147 unit_test: true, 148 }, 149 edition: "2018", 150 features: [ 151 "default", 152 "std", 153 ], 154 rustlibs: [ 155 "libanyhow", 156 "libfutures", 157 "libthiserror", 158 ], 159} 160 161rust_test { 162 name: "anyhow_test_tests_test_convert", 163 host_supported: true, 164 crate_name: "test_convert", 165 cargo_env_compat: true, 166 cargo_pkg_version: "1.0.79", 167 crate_root: "tests/test_convert.rs", 168 test_suites: ["general-tests"], 169 auto_gen_config: true, 170 test_options: { 171 unit_test: true, 172 }, 173 edition: "2018", 174 features: [ 175 "default", 176 "std", 177 ], 178 rustlibs: [ 179 "libanyhow", 180 "libfutures", 181 "libthiserror", 182 ], 183} 184 185rust_test { 186 name: "anyhow_test_tests_test_downcast", 187 host_supported: true, 188 crate_name: "test_downcast", 189 cargo_env_compat: true, 190 cargo_pkg_version: "1.0.79", 191 crate_root: "tests/test_downcast.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: [ 203 "libanyhow", 204 "libfutures", 205 "libthiserror", 206 ], 207} 208 209rust_test { 210 name: "anyhow_test_tests_test_fmt", 211 host_supported: true, 212 crate_name: "test_fmt", 213 cargo_env_compat: true, 214 cargo_pkg_version: "1.0.79", 215 crate_root: "tests/test_fmt.rs", 216 test_suites: ["general-tests"], 217 auto_gen_config: true, 218 test_options: { 219 unit_test: true, 220 }, 221 edition: "2018", 222 features: [ 223 "default", 224 "std", 225 ], 226 rustlibs: [ 227 "libanyhow", 228 "libfutures", 229 "libthiserror", 230 ], 231} 232 233rust_test { 234 name: "anyhow_test_tests_test_macros", 235 host_supported: true, 236 crate_name: "test_macros", 237 cargo_env_compat: true, 238 cargo_pkg_version: "1.0.79", 239 crate_root: "tests/test_macros.rs", 240 test_suites: ["general-tests"], 241 auto_gen_config: true, 242 test_options: { 243 unit_test: true, 244 }, 245 edition: "2018", 246 features: [ 247 "default", 248 "std", 249 ], 250 rustlibs: [ 251 "libanyhow", 252 "libfutures", 253 "libthiserror", 254 ], 255} 256 257rust_test { 258 name: "anyhow_test_tests_test_repr", 259 host_supported: true, 260 crate_name: "test_repr", 261 cargo_env_compat: true, 262 cargo_pkg_version: "1.0.79", 263 crate_root: "tests/test_repr.rs", 264 test_suites: ["general-tests"], 265 auto_gen_config: true, 266 test_options: { 267 unit_test: true, 268 }, 269 edition: "2018", 270 features: [ 271 "default", 272 "std", 273 ], 274 rustlibs: [ 275 "libanyhow", 276 "libfutures", 277 "libthiserror", 278 ], 279} 280 281rust_test { 282 name: "anyhow_test_tests_test_source", 283 host_supported: true, 284 crate_name: "test_source", 285 cargo_env_compat: true, 286 cargo_pkg_version: "1.0.79", 287 crate_root: "tests/test_source.rs", 288 test_suites: ["general-tests"], 289 auto_gen_config: true, 290 test_options: { 291 unit_test: true, 292 }, 293 edition: "2018", 294 features: [ 295 "default", 296 "std", 297 ], 298 rustlibs: [ 299 "libanyhow", 300 "libfutures", 301 "libthiserror", 302 ], 303} 304 305rust_library { 306 name: "libanyhow", 307 host_supported: true, 308 crate_name: "anyhow", 309 cargo_env_compat: true, 310 cargo_pkg_version: "1.0.79", 311 crate_root: "src/lib.rs", 312 edition: "2018", 313 features: [ 314 "default", 315 "std", 316 ], 317 apex_available: [ 318 "//apex_available:platform", 319 "//apex_available:anyapex", 320 ], 321 product_available: true, 322 vendor_available: true, 323 min_sdk_version: "29", 324} 325