blob: 585f0bcd66c83fa2c5b9a015911da55ba20c4fca [file] [log] [blame]
Jason Macnakcc324142021-10-08 12:19:01 -07001// This file is generated by cargo2android.py --config cargo2android.json.
2// Do not modify this file as changes will be overridden on upgrade.
Joel Galenson672d6082020-10-23 08:05:11 -07003
Bob Badoure12be202021-02-12 18:25:22 -08004package {
5 default_applicable_licenses: ["external_rust_crates_fnv_license"],
6}
7
8// Added automatically by a large-scale-change that took the approach of
9// 'apply every license found to every target'. While this makes sure we respect
10// every license restriction, it may not be entirely correct.
11//
12// e.g. GPL in an MIT project might only apply to the contrib/ directory.
13//
14// Please consider splitting the single license below into multiple licenses,
15// taking care not to lose any license_kind information, and overriding the
16// default license using the 'licenses: [...]' property on targets as needed.
17//
18// For unused files, consider creating a 'fileGroup' with "//visibility:private"
19// to attach the license to, and including a comment whether the files may be
20// used in the current project.
21//
22// large-scale-change included anything that looked like it might be a license
23// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
24//
25// Please consider removing redundant or irrelevant files from 'license_text:'.
26// See: http://go/android-license-faq
27license {
28 name: "external_rust_crates_fnv_license",
29 visibility: [":__subpackages__"],
30 license_kinds: [
31 "SPDX-license-identifier-Apache-2.0",
32 "SPDX-license-identifier-MIT",
33 ],
34 license_text: [
35 "LICENSE-APACHE",
36 "LICENSE-MIT",
37 ],
38}
39
Joel Galensondff2ae12021-11-29 14:03:39 -080040rust_test {
41 name: "fnv_test_lib",
42 host_supported: true,
Joel Galenson672d6082020-10-23 08:05:11 -070043 crate_name: "fnv",
Jason Macnakcc324142021-10-08 12:19:01 -070044 cargo_env_compat: true,
45 cargo_pkg_version: "1.0.7",
Joel Galensondff2ae12021-11-29 14:03:39 -080046 srcs: ["lib.rs"],
Joel Galenson672d6082020-10-23 08:05:11 -070047 test_suites: ["general-tests"],
48 auto_gen_config: true,
Joel Galensondff2ae12021-11-29 14:03:39 -080049 test_options: {
50 unit_test: true,
51 },
Joel Galenson672d6082020-10-23 08:05:11 -070052 edition: "2015",
53 features: [
54 "default",
55 "std",
56 ],
57}
58
Joel Galenson672d6082020-10-23 08:05:11 -070059rust_library {
60 name: "libfnv",
61 host_supported: true,
62 crate_name: "fnv",
Jason Macnakcc324142021-10-08 12:19:01 -070063 cargo_env_compat: true,
64 cargo_pkg_version: "1.0.7",
Joel Galenson672d6082020-10-23 08:05:11 -070065 srcs: ["lib.rs"],
66 edition: "2015",
67 features: [
68 "default",
69 "std",
70 ],
Jason Macnakcc324142021-10-08 12:19:01 -070071 apex_available: [
72 "//apex_available:platform",
73 "com.android.virt",
74 ],
Joel Galenson672d6082020-10-23 08:05:11 -070075}