Jeff Vander Stoep | aea1bdd | 2020-10-14 23:48:28 +0200 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --run --device --dependencies. |
| 2 | |
Bob Badour | f1f506a | 2021-02-03 19:16:00 -0800 | [diff] [blame] | 3 | package { |
| 4 | default_applicable_licenses: ["external_rust_crates_parking_lot_license"], |
| 5 | } |
| 6 | |
| 7 | // Added automatically by a large-scale-change that took the approach of |
| 8 | // 'apply every license found to every target'. While this makes sure we respect |
| 9 | // every license restriction, it may not be entirely correct. |
| 10 | // |
| 11 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 12 | // |
| 13 | // Please consider splitting the single license below into multiple licenses, |
| 14 | // taking care not to lose any license_kind information, and overriding the |
| 15 | // default license using the 'licenses: [...]' property on targets as needed. |
| 16 | // |
| 17 | // For unused files, consider creating a 'filegroup' with "//visibility:private" |
| 18 | // to attach the license to, and including a comment whether the files may be |
| 19 | // used in the current project. |
| 20 | // |
| 21 | // large-scale-change included anything that looked like it might be a license |
| 22 | // text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. |
| 23 | // |
| 24 | // Please consider removing redundant or irrelevant files from 'license_text:'. |
| 25 | // http://go/android-license-faq |
| 26 | license { |
| 27 | name: "external_rust_crates_parking_lot_license", |
| 28 | visibility: [":__subpackages__"], |
| 29 | license_kinds: [ |
| 30 | "SPDX-license-identifier-Apache-2.0", |
| 31 | "SPDX-license-identifier-MIT", |
| 32 | ], |
| 33 | license_text: [ |
| 34 | "LICENSE-APACHE", |
| 35 | "LICENSE-MIT", |
| 36 | ], |
| 37 | } |
| 38 | |
Jeff Vander Stoep | aea1bdd | 2020-10-14 23:48:28 +0200 | [diff] [blame] | 39 | rust_library { |
| 40 | name: "libparking_lot", |
| 41 | host_supported: true, |
| 42 | crate_name: "parking_lot", |
| 43 | srcs: ["src/lib.rs"], |
| 44 | edition: "2018", |
Haibo Huang | 38593b5 | 2020-11-17 19:13:09 -0800 | [diff] [blame] | 45 | features: ["default"], |
Jeff Vander Stoep | aea1bdd | 2020-10-14 23:48:28 +0200 | [diff] [blame] | 46 | rustlibs: [ |
Jeff Vander Stoep | 16823f4 | 2020-10-21 21:50:55 +0200 | [diff] [blame] | 47 | "libinstant", |
Jeff Vander Stoep | aea1bdd | 2020-10-14 23:48:28 +0200 | [diff] [blame] | 48 | "liblock_api", |
| 49 | "libparking_lot_core", |
| 50 | ], |
| 51 | } |
| 52 | |
| 53 | // dependent_library ["feature_list"] |
| 54 | // cfg-if-0.1.10 |
Haibo Huang | 38593b5 | 2020-11-17 19:13:09 -0800 | [diff] [blame] | 55 | // cfg-if-1.0.0 |
| 56 | // instant-0.1.8 |
| 57 | // libc-0.2.80 "default,std" |
| 58 | // lock_api-0.4.2 |
Jeff Vander Stoep | 16823f4 | 2020-10-21 21:50:55 +0200 | [diff] [blame] | 59 | // parking_lot_core-0.8.0 |
Jeff Vander Stoep | aea1bdd | 2020-10-14 23:48:28 +0200 | [diff] [blame] | 60 | // scopeguard-1.1.0 |
Haibo Huang | 38593b5 | 2020-11-17 19:13:09 -0800 | [diff] [blame] | 61 | // smallvec-1.5.0 |