blob: d4d4aa277573c30cb7ba2e97053ff8ca2a0fdf15 [file] [log] [blame]
Joel Galenson6e21a922021-04-27 09:47:12 -07001// This file is generated by cargo2android.py --config cargo2android.json.
Joel Galenson4c85ef42021-04-01 15:51:41 -07002// Do not modify this file as changes will be overridden on upgrade.
Jason Macnak3d406bb2020-03-19 21:05:06 +00003
Bob Badour3ef5afd2021-02-12 14:45:20 -08004package {
5 default_applicable_licenses: ["external_rust_crates_futures_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_futures_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
Matthew Maurer25976a92020-07-06 13:16:01 -070040rust_library {
Jason Macnak3d406bb2020-03-19 21:05:06 +000041 name: "libfutures",
Andrew Walbrana0954fc2020-06-09 14:04:28 +010042 host_supported: true,
Jason Macnak3d406bb2020-03-19 21:05:06 +000043 crate_name: "futures",
44 srcs: ["src/lib.rs"],
45 edition: "2018",
46 features: [
47 "alloc",
48 "async-await",
49 "default",
50 "executor",
51 "futures-executor",
52 "std",
53 ],
Matthew Maurer25976a92020-07-06 13:16:01 -070054 rustlibs: [
Jason Macnak3d406bb2020-03-19 21:05:06 +000055 "libfutures_channel",
56 "libfutures_core",
57 "libfutures_executor",
58 "libfutures_io",
59 "libfutures_sink",
60 "libfutures_task",
61 "libfutures_util",
62 ],
Jiyong Park46caea82020-12-07 15:42:46 +090063 apex_available: [
64 "//apex_available:platform",
65 "com.android.virt",
66 ],
Jason Macnak3d406bb2020-03-19 21:05:06 +000067}
68
69// dependent_library ["feature_list"]
Joel Galenson6e21a922021-04-27 09:47:12 -070070// futures-channel-0.3.14 "alloc,futures-sink,sink,std"
71// futures-core-0.3.14 "alloc,std"
72// futures-executor-0.3.14 "std"
73// futures-io-0.3.14 "std"
74// futures-macro-0.3.14
75// futures-sink-0.3.14 "alloc,std"
76// futures-task-0.3.14 "alloc,std"
77// futures-util-0.3.14 "alloc,async-await,async-await-macro,channel,futures-channel,futures-io,futures-macro,futures-sink,io,memchr,proc-macro-hack,proc-macro-nested,sink,slab,std"
Jiyong Park46caea82020-12-07 15:42:46 +090078// memchr-2.3.4 "default,std"
Joel Galenson4c85ef42021-04-01 15:51:41 -070079// pin-project-lite-0.2.6
Chih-Hung Hsieh87830522020-07-12 14:21:19 -070080// pin-utils-0.1.0
Jiyong Park46caea82020-12-07 15:42:46 +090081// proc-macro-hack-0.5.19
Haibo Huang51d51a02021-02-09 16:59:45 -080082// proc-macro-nested-0.1.7
Joel Galenson4c85ef42021-04-01 15:51:41 -070083// proc-macro2-1.0.26 "default,proc-macro"
84// quote-1.0.9 "default,proc-macro"
Joel Galenson6e21a922021-04-27 09:47:12 -070085// slab-0.4.3 "default,std"
86// syn-1.0.70 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote,visit-mut"
Chih-Hung Hsieh87830522020-07-12 14:21:19 -070087// unicode-xid-0.2.1 "default"