Joel Galenson | 6e21a92 | 2021-04-27 09:47:12 -0700 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --config cargo2android.json. |
Joel Galenson | 4c85ef4 | 2021-04-01 15:51:41 -0700 | [diff] [blame] | 2 | // Do not modify this file as changes will be overridden on upgrade. |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 3 | |
Bob Badour | 3ef5afd | 2021-02-12 14:45:20 -0800 | [diff] [blame] | 4 | package { |
| 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 |
| 27 | license { |
| 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 Maurer | 25976a9 | 2020-07-06 13:16:01 -0700 | [diff] [blame] | 40 | rust_library { |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 41 | name: "libfutures", |
Andrew Walbran | a0954fc | 2020-06-09 14:04:28 +0100 | [diff] [blame] | 42 | host_supported: true, |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 43 | 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 Maurer | 25976a9 | 2020-07-06 13:16:01 -0700 | [diff] [blame] | 54 | rustlibs: [ |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 55 | "libfutures_channel", |
| 56 | "libfutures_core", |
| 57 | "libfutures_executor", |
| 58 | "libfutures_io", |
| 59 | "libfutures_sink", |
| 60 | "libfutures_task", |
| 61 | "libfutures_util", |
| 62 | ], |
Jiyong Park | 46caea8 | 2020-12-07 15:42:46 +0900 | [diff] [blame] | 63 | apex_available: [ |
| 64 | "//apex_available:platform", |
| 65 | "com.android.virt", |
| 66 | ], |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | // dependent_library ["feature_list"] |
Joel Galenson | 6e21a92 | 2021-04-27 09:47:12 -0700 | [diff] [blame] | 70 | // 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 Park | 46caea8 | 2020-12-07 15:42:46 +0900 | [diff] [blame] | 78 | // memchr-2.3.4 "default,std" |
Joel Galenson | 4c85ef4 | 2021-04-01 15:51:41 -0700 | [diff] [blame] | 79 | // pin-project-lite-0.2.6 |
Chih-Hung Hsieh | 8783052 | 2020-07-12 14:21:19 -0700 | [diff] [blame] | 80 | // pin-utils-0.1.0 |
Jiyong Park | 46caea8 | 2020-12-07 15:42:46 +0900 | [diff] [blame] | 81 | // proc-macro-hack-0.5.19 |
Haibo Huang | 51d51a0 | 2021-02-09 16:59:45 -0800 | [diff] [blame] | 82 | // proc-macro-nested-0.1.7 |
Joel Galenson | 4c85ef4 | 2021-04-01 15:51:41 -0700 | [diff] [blame] | 83 | // proc-macro2-1.0.26 "default,proc-macro" |
| 84 | // quote-1.0.9 "default,proc-macro" |
Joel Galenson | 6e21a92 | 2021-04-27 09:47:12 -0700 | [diff] [blame] | 85 | // 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 Hsieh | 8783052 | 2020-07-12 14:21:19 -0700 | [diff] [blame] | 87 | // unicode-xid-0.2.1 "default" |