blob: 355f9d8c27e5af3693944208e96db564f03d2b37 [file] [log] [blame]
Jiyong Park7f19f722020-12-07 15:43:32 +09001// This file is generated by cargo2android.py --run --dependencies --device --patch=patches/Android.bp.patch.
Jason Macnak09c36882020-04-01 16:22:56 +00002
Bob Badourc5627a12021-02-12 17:57:35 -08003package {
4 default_applicable_licenses: [
5 "external_rust_crates_futures-channel_license",
6 ],
7}
8
9// Added automatically by a large-scale-change that took the approach of
10// 'apply every license found to every target'. While this makes sure we respect
11// every license restriction, it may not be entirely correct.
12//
13// e.g. GPL in an MIT project might only apply to the contrib/ directory.
14//
15// Please consider splitting the single license below into multiple licenses,
16// taking care not to lose any license_kind information, and overriding the
17// default license using the 'licenses: [...]' property on targets as needed.
18//
19// For unused files, consider creating a 'fileGroup' with "//visibility:private"
20// to attach the license to, and including a comment whether the files may be
21// used in the current project.
22//
23// large-scale-change included anything that looked like it might be a license
24// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
25//
26// Please consider removing redundant or irrelevant files from 'license_text:'.
27// See: http://go/android-license-faq
28license {
29 name: "external_rust_crates_futures-channel_license",
30 visibility: [":__subpackages__"],
31 license_kinds: [
32 "SPDX-license-identifier-Apache-2.0",
33 "SPDX-license-identifier-BSD",
34 "SPDX-license-identifier-MIT",
35 ],
36 license_text: [
37 "LICENSE",
38 "LICENSE-APACHE",
39 "LICENSE-MIT",
40 ],
41}
42
Matthew Maureree3bc632020-07-06 13:16:44 -070043rust_library {
Jason Macnak09c36882020-04-01 16:22:56 +000044 name: "libfutures_channel",
Andrew Walbran323bdc92020-06-09 14:06:25 +010045 host_supported: true,
Jason Macnak09c36882020-04-01 16:22:56 +000046 crate_name: "futures_channel",
47 srcs: ["src/lib.rs"],
48 edition: "2018",
49 features: [
50 "alloc",
51 "default",
52 "std",
53 ],
Matthew Maureree3bc632020-07-06 13:16:44 -070054 rustlibs: [
Jason Macnak09c36882020-04-01 16:22:56 +000055 "libfutures_core",
56 ],
Jiyong Park7f19f722020-12-07 15:43:32 +090057 apex_available: [
58 "//apex_available:platform",
59 "com.android.virt",
60 ],
Jason Macnak09c36882020-04-01 16:22:56 +000061}
62
63// dependent_library ["feature_list"]
Haibo Huang09da6032021-02-09 17:02:02 -080064// futures-core-0.3.12 "alloc,std"