Joel Galenson | a8fea1d | 2021-04-27 09:26:23 -0700 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --config cargo2android.json. |
Joel Galenson | 7980c2c | 2021-04-01 15:55:17 -0700 | [diff] [blame] | 2 | // Do not modify this file as changes will be overridden on upgrade. |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 3 | |
Bob Badour | c5627a1 | 2021-02-12 17:57:35 -0800 | [diff] [blame] | 4 | package { |
| 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 |
| 29 | license { |
| 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 Maurer | ee3bc63 | 2020-07-06 13:16:44 -0700 | [diff] [blame] | 44 | rust_library { |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 45 | name: "libfutures_channel", |
Andrew Walbran | 323bdc9 | 2020-06-09 14:06:25 +0100 | [diff] [blame] | 46 | host_supported: true, |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 47 | crate_name: "futures_channel", |
| 48 | srcs: ["src/lib.rs"], |
| 49 | edition: "2018", |
| 50 | features: [ |
| 51 | "alloc", |
| 52 | "default", |
| 53 | "std", |
| 54 | ], |
Matthew Maurer | ee3bc63 | 2020-07-06 13:16:44 -0700 | [diff] [blame] | 55 | rustlibs: [ |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 56 | "libfutures_core", |
| 57 | ], |
Jiyong Park | 7f19f72 | 2020-12-07 15:43:32 +0900 | [diff] [blame] | 58 | apex_available: [ |
| 59 | "//apex_available:platform", |
| 60 | "com.android.virt", |
| 61 | ], |
Jason Macnak | 09c3688 | 2020-04-01 16:22:56 +0000 | [diff] [blame] | 62 | } |
| 63 | |
| 64 | // dependent_library ["feature_list"] |
Joel Galenson | a8fea1d | 2021-04-27 09:26:23 -0700 | [diff] [blame] | 65 | // futures-core-0.3.14 "alloc,std" |