• 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-deque_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-deque_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-deque_test_tests_fifo",
46    host_supported: true,
47    crate_name: "fifo",
48    cargo_env_compat: true,
49    cargo_pkg_version: "0.8.5",
50    crate_root: "tests/fifo.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: [
62        "libcrossbeam_deque",
63        "libcrossbeam_epoch",
64        "libcrossbeam_utils",
65        "librand",
66    ],
67}
68
69rust_test {
70    name: "crossbeam-deque_test_tests_injector",
71    host_supported: true,
72    crate_name: "injector",
73    cargo_env_compat: true,
74    cargo_pkg_version: "0.8.5",
75    crate_root: "tests/injector.rs",
76    test_suites: ["general-tests"],
77    auto_gen_config: true,
78    test_options: {
79        unit_test: true,
80    },
81    edition: "2021",
82    features: [
83        "default",
84        "std",
85    ],
86    rustlibs: [
87        "libcrossbeam_deque",
88        "libcrossbeam_epoch",
89        "libcrossbeam_utils",
90        "librand",
91    ],
92}
93
94rust_test {
95    name: "crossbeam-deque_test_tests_lifo",
96    host_supported: true,
97    crate_name: "lifo",
98    cargo_env_compat: true,
99    cargo_pkg_version: "0.8.5",
100    crate_root: "tests/lifo.rs",
101    test_suites: ["general-tests"],
102    auto_gen_config: true,
103    test_options: {
104        unit_test: true,
105    },
106    edition: "2021",
107    features: [
108        "default",
109        "std",
110    ],
111    rustlibs: [
112        "libcrossbeam_deque",
113        "libcrossbeam_epoch",
114        "libcrossbeam_utils",
115        "librand",
116    ],
117}
118
119rust_test {
120    name: "crossbeam-deque_test_tests_steal",
121    host_supported: true,
122    crate_name: "steal",
123    cargo_env_compat: true,
124    cargo_pkg_version: "0.8.5",
125    crate_root: "tests/steal.rs",
126    test_suites: ["general-tests"],
127    auto_gen_config: true,
128    test_options: {
129        unit_test: true,
130    },
131    edition: "2021",
132    features: [
133        "default",
134        "std",
135    ],
136    rustlibs: [
137        "libcrossbeam_deque",
138        "libcrossbeam_epoch",
139        "libcrossbeam_utils",
140        "librand",
141    ],
142}
143
144rust_library {
145    name: "libcrossbeam_deque",
146    host_supported: true,
147    crate_name: "crossbeam_deque",
148    cargo_env_compat: true,
149    cargo_pkg_version: "0.8.5",
150    crate_root: "src/lib.rs",
151    edition: "2021",
152    features: [
153        "default",
154        "std",
155    ],
156    rustlibs: [
157        "libcrossbeam_epoch",
158        "libcrossbeam_utils",
159    ],
160    apex_available: [
161        "//apex_available:platform",
162        "//apex_available:anyapex",
163    ],
164    product_available: true,
165    vendor_available: true,
166}
167