blob: b9228785d02ac20fe21588074b97943bd2101cde [file] [log] [blame]
Joel Galensona8fea1d2021-04-27 09:26:23 -07001// This file is generated by cargo2android.py --config cargo2android.json.
Joel Galenson7980c2c2021-04-01 15:55:17 -07002// Do not modify this file as changes will be overridden on upgrade.
Jason Macnak09c36882020-04-01 16:22:56 +00003
Bob Badourc5627a12021-02-12 17:57:35 -08004package {
5 default_applicable_licenses: [
6 "external_rust_crates_futures-channel_license",
7 ],
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_futures-channel_license",
31 visibility: [":__subpackages__"],
32 license_kinds: [
33 "SPDX-license-identifier-Apache-2.0",
34 "SPDX-license-identifier-BSD",
35 "SPDX-license-identifier-MIT",
36 ],
37 license_text: [
38 "LICENSE",
39 "LICENSE-APACHE",
40 "LICENSE-MIT",
41 ],
42}
43
Matthew Maureree3bc632020-07-06 13:16:44 -070044rust_library {
Jason Macnak09c36882020-04-01 16:22:56 +000045 name: "libfutures_channel",
Andrew Walbran323bdc92020-06-09 14:06:25 +010046 host_supported: true,
Jason Macnak09c36882020-04-01 16:22:56 +000047 crate_name: "futures_channel",
48 srcs: ["src/lib.rs"],
49 edition: "2018",
50 features: [
51 "alloc",
52 "default",
53 "std",
54 ],
Matthew Maureree3bc632020-07-06 13:16:44 -070055 rustlibs: [
Jason Macnak09c36882020-04-01 16:22:56 +000056 "libfutures_core",
57 ],
Jiyong Park7f19f722020-12-07 15:43:32 +090058 apex_available: [
59 "//apex_available:platform",
60 "com.android.virt",
61 ],
Jason Macnak09c36882020-04-01 16:22:56 +000062}
63
64// dependent_library ["feature_list"]
Joel Galensona8fea1d2021-04-27 09:26:23 -070065// futures-core-0.3.14 "alloc,std"