blob: c7bc955705fcdff96b836da0c5f2fa4976783596 [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",
Joel Galenson60e2aea2021-09-22 10:55:52 -070048 cargo_env_compat: true,
David LeGaref7dc9c12022-03-02 00:20:44 +000049 cargo_pkg_version: "0.3.21",
Jason Macnak09c36882020-04-01 16:22:56 +000050 srcs: ["src/lib.rs"],
51 edition: "2018",
52 features: [
53 "alloc",
54 "default",
55 "std",
56 ],
Matthew Maureree3bc632020-07-06 13:16:44 -070057 rustlibs: [
Jason Macnak09c36882020-04-01 16:22:56 +000058 "libfutures_core",
59 ],
Jiyong Park7f19f722020-12-07 15:43:32 +090060 apex_available: [
61 "//apex_available:platform",
Roopa Sattirajub45a6c52021-12-21 16:29:29 -080062 "com.android.bluetooth",
Luke Huang37376b22021-06-22 12:34:13 +080063 "com.android.resolv",
Jiyong Park7f19f722020-12-07 15:43:32 +090064 "com.android.virt",
65 ],
Luke Huang37376b22021-06-22 12:34:13 +080066 min_sdk_version: "29",
Jason Macnak09c36882020-04-01 16:22:56 +000067}