• 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_futures-channel_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_futures-channel_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",
41        "LICENSE-APACHE",
42        "LICENSE-MIT",
43    ],
44}
45
46rust_test {
47    name: "futures-channel_test_src_lib",
48    host_supported: true,
49    crate_name: "futures_channel",
50    cargo_env_compat: true,
51    cargo_pkg_version: "0.3.30",
52    crate_root: "src/lib.rs",
53    test_suites: ["general-tests"],
54    auto_gen_config: true,
55    test_options: {
56        unit_test: true,
57    },
58    edition: "2018",
59    features: [
60        "alloc",
61        "default",
62        "futures-sink",
63        "sink",
64        "std",
65    ],
66    rustlibs: [
67        "libfutures",
68        "libfutures_core",
69        "libfutures_sink",
70        "libfutures_test",
71    ],
72}
73
74rust_test {
75    name: "futures-channel_test_tests_channel",
76    host_supported: true,
77    crate_name: "channel",
78    cargo_env_compat: true,
79    cargo_pkg_version: "0.3.30",
80    crate_root: "tests/channel.rs",
81    test_suites: ["general-tests"],
82    auto_gen_config: true,
83    test_options: {
84        unit_test: true,
85    },
86    edition: "2018",
87    features: [
88        "alloc",
89        "default",
90        "futures-sink",
91        "sink",
92        "std",
93    ],
94    rustlibs: [
95        "libfutures",
96        "libfutures_channel",
97        "libfutures_core",
98        "libfutures_sink",
99        "libfutures_test",
100    ],
101}
102
103rust_test {
104    name: "futures-channel_test_tests_mpsc",
105    host_supported: true,
106    crate_name: "mpsc",
107    cargo_env_compat: true,
108    cargo_pkg_version: "0.3.30",
109    crate_root: "tests/mpsc.rs",
110    test_suites: ["general-tests"],
111    auto_gen_config: true,
112    test_options: {
113        unit_test: true,
114    },
115    edition: "2018",
116    features: [
117        "alloc",
118        "default",
119        "futures-sink",
120        "sink",
121        "std",
122    ],
123    rustlibs: [
124        "libfutures",
125        "libfutures_channel",
126        "libfutures_core",
127        "libfutures_sink",
128        "libfutures_test",
129    ],
130}
131
132rust_test {
133    name: "futures-channel_test_tests_mpsc-close",
134    host_supported: true,
135    crate_name: "mpsc_close",
136    cargo_env_compat: true,
137    cargo_pkg_version: "0.3.30",
138    crate_root: "tests/mpsc-close.rs",
139    test_suites: ["general-tests"],
140    auto_gen_config: true,
141    test_options: {
142        unit_test: true,
143    },
144    edition: "2018",
145    features: [
146        "alloc",
147        "default",
148        "futures-sink",
149        "sink",
150        "std",
151    ],
152    rustlibs: [
153        "libfutures",
154        "libfutures_channel",
155        "libfutures_core",
156        "libfutures_sink",
157        "libfutures_test",
158    ],
159}
160
161rust_test {
162    name: "futures-channel_test_tests_mpsc-size_hint",
163    host_supported: true,
164    crate_name: "mpsc_size_hint",
165    cargo_env_compat: true,
166    cargo_pkg_version: "0.3.30",
167    crate_root: "tests/mpsc-size_hint.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        "alloc",
176        "default",
177        "futures-sink",
178        "sink",
179        "std",
180    ],
181    rustlibs: [
182        "libfutures",
183        "libfutures_channel",
184        "libfutures_core",
185        "libfutures_sink",
186        "libfutures_test",
187    ],
188}
189
190rust_test {
191    name: "futures-channel_test_tests_oneshot",
192    host_supported: true,
193    crate_name: "oneshot",
194    cargo_env_compat: true,
195    cargo_pkg_version: "0.3.30",
196    crate_root: "tests/oneshot.rs",
197    test_suites: ["general-tests"],
198    auto_gen_config: true,
199    test_options: {
200        unit_test: true,
201    },
202    edition: "2018",
203    features: [
204        "alloc",
205        "default",
206        "futures-sink",
207        "sink",
208        "std",
209    ],
210    rustlibs: [
211        "libfutures",
212        "libfutures_channel",
213        "libfutures_core",
214        "libfutures_sink",
215        "libfutures_test",
216    ],
217}
218
219rust_library {
220    name: "libfutures_channel",
221    host_supported: true,
222    crate_name: "futures_channel",
223    cargo_env_compat: true,
224    cargo_pkg_version: "0.3.30",
225    crate_root: "src/lib.rs",
226    edition: "2018",
227    features: [
228        "alloc",
229        "default",
230        "futures-sink",
231        "sink",
232        "std",
233    ],
234    rustlibs: [
235        "libfutures_core",
236        "libfutures_sink",
237    ],
238    apex_available: [
239        "//apex_available:platform",
240        "com.android.btservices",
241        "com.android.resolv",
242        "com.android.virt",
243    ],
244    product_available: true,
245    vendor_available: true,
246    min_sdk_version: "29",
247}
248