Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --run --device --dependencies --tests. |
| 2 | // Do not modify this file as changes will be overridden on upgrade. |
| 3 | |
Bob Badour | c74c741 | 2021-03-17 13:03:53 -0700 | [diff] [blame] | 4 | package { |
| 5 | default_applicable_licenses: [ |
| 6 | "external_rust_crates_crossbeam-epoch_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_crossbeam-epoch_license", |
| 31 | visibility: [":__subpackages__"], |
| 32 | license_kinds: [ |
| 33 | "SPDX-license-identifier-Apache-2.0", |
| 34 | "SPDX-license-identifier-MIT", |
| 35 | ], |
| 36 | license_text: [ |
| 37 | "LICENSE-APACHE", |
| 38 | "LICENSE-MIT", |
| 39 | ], |
| 40 | } |
| 41 | |
Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 42 | rust_defaults { |
| 43 | name: "crossbeam-epoch_defaults", |
| 44 | crate_name: "crossbeam_epoch", |
Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 45 | srcs: ["src/lib.rs"], |
| 46 | test_suites: ["general-tests"], |
| 47 | auto_gen_config: true, |
| 48 | edition: "2018", |
| 49 | features: [ |
| 50 | "alloc", |
| 51 | "default", |
| 52 | "lazy_static", |
| 53 | "std", |
| 54 | ], |
| 55 | rustlibs: [ |
| 56 | "libcfg_if", |
| 57 | "libcrossbeam_utils", |
| 58 | "liblazy_static", |
| 59 | "libmemoffset", |
| 60 | "librand", |
| 61 | "libscopeguard", |
| 62 | ], |
Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 63 | } |
| 64 | |
| 65 | rust_test_host { |
| 66 | name: "crossbeam-epoch_host_test_src_lib", |
| 67 | defaults: ["crossbeam-epoch_defaults"], |
| 68 | test_options: { |
| 69 | unit_test: true, |
| 70 | }, |
| 71 | } |
| 72 | |
| 73 | rust_test { |
| 74 | name: "crossbeam-epoch_device_test_src_lib", |
| 75 | defaults: ["crossbeam-epoch_defaults"], |
| 76 | } |
| 77 | |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame^] | 78 | rust_defaults { |
| 79 | name: "crossbeam-epoch_defaults_loom", |
| 80 | crate_name: "loom", |
| 81 | srcs: ["tests/loom.rs"], |
| 82 | test_suites: ["general-tests"], |
| 83 | auto_gen_config: true, |
| 84 | edition: "2018", |
| 85 | features: [ |
| 86 | "alloc", |
| 87 | "default", |
| 88 | "lazy_static", |
| 89 | "std", |
| 90 | ], |
| 91 | rustlibs: [ |
| 92 | "libcfg_if", |
| 93 | "libcrossbeam_epoch", |
| 94 | "libcrossbeam_utils", |
| 95 | "liblazy_static", |
| 96 | "libmemoffset", |
| 97 | "librand", |
| 98 | "libscopeguard", |
| 99 | ], |
| 100 | } |
| 101 | |
| 102 | rust_test_host { |
| 103 | name: "crossbeam-epoch_host_test_tests_loom", |
| 104 | defaults: ["crossbeam-epoch_defaults_loom"], |
| 105 | test_options: { |
| 106 | unit_test: true, |
| 107 | }, |
| 108 | } |
| 109 | |
| 110 | rust_test { |
| 111 | name: "crossbeam-epoch_device_test_tests_loom", |
| 112 | defaults: ["crossbeam-epoch_defaults_loom"], |
| 113 | } |
| 114 | |
Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 115 | rust_library { |
| 116 | name: "libcrossbeam_epoch", |
Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 117 | host_supported: true, |
| 118 | crate_name: "crossbeam_epoch", |
| 119 | srcs: ["src/lib.rs"], |
| 120 | edition: "2018", |
| 121 | features: [ |
| 122 | "alloc", |
| 123 | "default", |
| 124 | "lazy_static", |
| 125 | "std", |
| 126 | ], |
| 127 | rustlibs: [ |
| 128 | "libcfg_if", |
| 129 | "libcrossbeam_utils", |
| 130 | "liblazy_static", |
| 131 | "libmemoffset", |
| 132 | "libscopeguard", |
| 133 | ], |
Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 134 | } |
| 135 | |
| 136 | // dependent_library ["feature_list"] |
| 137 | // autocfg-1.0.1 |
| 138 | // cfg-if-1.0.0 |
Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 139 | // crossbeam-utils-0.8.3 "lazy_static,std" |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame^] | 140 | // getrandom-0.2.2 "std" |
Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 141 | // lazy_static-1.4.0 |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame^] | 142 | // libc-0.2.92 |
| 143 | // memoffset-0.6.3 "default" |
Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 144 | // ppv-lite86-0.2.10 "simd,std" |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame^] | 145 | // rand-0.8.3 "alloc,default,getrandom,libc,rand_chacha,rand_hc,std,std_rng" |
| 146 | // rand_chacha-0.3.0 "std" |
| 147 | // rand_core-0.6.2 "alloc,getrandom,std" |
Jakub Kotur | e0bbb9e | 2020-12-22 09:58:47 +0100 | [diff] [blame] | 148 | // scopeguard-1.1.0 |