• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_crossbeam-utils_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_crossbeam-utils_license",
33    visibility: [":__subpackages__"],
34    license_kinds: [
35        "SPDX-license-identifier-Apache-2.0",
36        "SPDX-license-identifier-MIT",
37    ],
38    license_text: [
39        "LICENSE-APACHE",
40        "LICENSE-MIT",
41    ],
42}
43
44rust_test {
45    name: "crossbeam-utils_test_src_lib",
46    host_supported: true,
47    crate_name: "crossbeam_utils",
48    cargo_env_compat: true,
49    cargo_pkg_version: "0.8.19",
50    crate_root: "src/lib.rs",
51    test_suites: ["general-tests"],
52    auto_gen_config: true,
53    test_options: {
54        unit_test: true,
55    },
56    edition: "2021",
57    features: [
58        "default",
59        "std",
60    ],
61    rustlibs: ["librand"],
62}
63
64rust_test {
65    name: "crossbeam-utils_test_tests_atomic_cell",
66    host_supported: true,
67    crate_name: "atomic_cell",
68    cargo_env_compat: true,
69    cargo_pkg_version: "0.8.19",
70    crate_root: "tests/atomic_cell.rs",
71    test_suites: ["general-tests"],
72    auto_gen_config: true,
73    test_options: {
74        unit_test: true,
75    },
76    edition: "2021",
77    features: [
78        "default",
79        "std",
80    ],
81    rustlibs: [
82        "libcrossbeam_utils",
83        "librand",
84    ],
85}
86
87rust_test {
88    name: "crossbeam-utils_test_tests_cache_padded",
89    host_supported: true,
90    crate_name: "cache_padded",
91    cargo_env_compat: true,
92    cargo_pkg_version: "0.8.19",
93    crate_root: "tests/cache_padded.rs",
94    test_suites: ["general-tests"],
95    auto_gen_config: true,
96    test_options: {
97        unit_test: true,
98    },
99    edition: "2021",
100    features: [
101        "default",
102        "std",
103    ],
104    rustlibs: [
105        "libcrossbeam_utils",
106        "librand",
107    ],
108}
109
110rust_test {
111    name: "crossbeam-utils_test_tests_parker",
112    host_supported: true,
113    crate_name: "parker",
114    cargo_env_compat: true,
115    cargo_pkg_version: "0.8.19",
116    crate_root: "tests/parker.rs",
117    test_suites: ["general-tests"],
118    auto_gen_config: true,
119    test_options: {
120        unit_test: true,
121    },
122    edition: "2021",
123    features: [
124        "default",
125        "std",
126    ],
127    rustlibs: [
128        "libcrossbeam_utils",
129        "librand",
130    ],
131}
132
133rust_test {
134    name: "crossbeam-utils_test_tests_sharded_lock",
135    host_supported: true,
136    crate_name: "sharded_lock",
137    cargo_env_compat: true,
138    cargo_pkg_version: "0.8.19",
139    crate_root: "tests/sharded_lock.rs",
140    test_suites: ["general-tests"],
141    auto_gen_config: true,
142    test_options: {
143        unit_test: true,
144    },
145    edition: "2021",
146    features: [
147        "default",
148        "std",
149    ],
150    rustlibs: [
151        "libcrossbeam_utils",
152        "librand",
153    ],
154}
155
156rust_test {
157    name: "crossbeam-utils_test_tests_thread",
158    host_supported: true,
159    crate_name: "thread",
160    cargo_env_compat: true,
161    cargo_pkg_version: "0.8.19",
162    crate_root: "tests/thread.rs",
163    test_suites: ["general-tests"],
164    auto_gen_config: true,
165    test_options: {
166        unit_test: true,
167    },
168    edition: "2021",
169    features: [
170        "default",
171        "std",
172    ],
173    rustlibs: [
174        "libcrossbeam_utils",
175        "librand",
176    ],
177}
178
179rust_test {
180    name: "crossbeam-utils_test_tests_wait_group",
181    host_supported: true,
182    crate_name: "wait_group",
183    cargo_env_compat: true,
184    cargo_pkg_version: "0.8.19",
185    crate_root: "tests/wait_group.rs",
186    test_suites: ["general-tests"],
187    auto_gen_config: true,
188    test_options: {
189        unit_test: true,
190    },
191    edition: "2021",
192    features: [
193        "default",
194        "std",
195    ],
196    rustlibs: [
197        "libcrossbeam_utils",
198        "librand",
199    ],
200}
201
202rust_library {
203    name: "libcrossbeam_utils",
204    host_supported: true,
205    crate_name: "crossbeam_utils",
206    cargo_env_compat: true,
207    cargo_pkg_version: "0.8.19",
208    crate_root: "src/lib.rs",
209    edition: "2021",
210    features: [
211        "default",
212        "std",
213    ],
214    apex_available: [
215        "//apex_available:platform",
216        "com.android.virt",
217    ],
218    product_available: true,
219    vendor_available: true,
220}
221