Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --run --dependencies --device --tests. |
Elliott Hughes | 9dcb441 | 2021-04-02 10:43:29 -0700 | [diff] [blame^] | 2 | // Do not modify this file as changes will be overridden on upgrade. |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 3 | |
Bob Badour | 57031f2 | 2021-02-26 03:38:27 -0800 | [diff] [blame] | 4 | package { |
| 5 | default_applicable_licenses: ["external_rust_crates_tokio-test_license"], |
| 6 | } |
| 7 | |
| 8 | // Added automatically by a large-scale-change |
| 9 | // See: http://go/android-license-faq |
| 10 | license { |
| 11 | name: "external_rust_crates_tokio-test_license", |
| 12 | visibility: [":__subpackages__"], |
| 13 | license_kinds: [ |
| 14 | "SPDX-license-identifier-MIT", |
| 15 | ], |
| 16 | license_text: [ |
| 17 | "LICENSE", |
| 18 | ], |
| 19 | } |
| 20 | |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 21 | rust_library { |
| 22 | name: "libtokio_test", |
| 23 | host_supported: true, |
| 24 | crate_name: "tokio_test", |
| 25 | srcs: ["src/lib.rs"], |
| 26 | edition: "2018", |
| 27 | rustlibs: [ |
| 28 | "libasync_stream", |
| 29 | "libbytes", |
| 30 | "libfutures_core", |
| 31 | "libtokio", |
| 32 | "libtokio_stream", |
| 33 | ], |
| 34 | } |
| 35 | |
| 36 | rust_defaults { |
| 37 | name: "tokio-test_defaults", |
| 38 | crate_name: "tokio_test", |
| 39 | srcs: ["src/lib.rs"], |
| 40 | test_suites: ["general-tests"], |
| 41 | auto_gen_config: true, |
| 42 | edition: "2018", |
| 43 | rustlibs: [ |
| 44 | "libasync_stream", |
| 45 | "libbytes", |
| 46 | "libfutures_core", |
| 47 | "libfutures_util", |
| 48 | "libtokio", |
| 49 | "libtokio_stream", |
| 50 | ], |
| 51 | } |
| 52 | |
| 53 | rust_test_host { |
| 54 | name: "tokio-test_host_test_src_lib", |
| 55 | defaults: ["tokio-test_defaults"], |
| 56 | test_options: { |
| 57 | unit_test: true, |
| 58 | }, |
| 59 | } |
| 60 | |
| 61 | rust_test { |
| 62 | name: "tokio-test_device_test_src_lib", |
| 63 | defaults: ["tokio-test_defaults"], |
| 64 | } |
| 65 | |
| 66 | rust_defaults { |
| 67 | name: "tokio-test_defaults_tokio_test", |
| 68 | crate_name: "tokio_test", |
| 69 | test_suites: ["general-tests"], |
| 70 | auto_gen_config: true, |
| 71 | edition: "2018", |
| 72 | rustlibs: [ |
| 73 | "libasync_stream", |
| 74 | "libbytes", |
| 75 | "libfutures_core", |
| 76 | "libfutures_util", |
| 77 | "libtokio", |
| 78 | "libtokio_stream", |
| 79 | "libtokio_test", |
| 80 | ], |
| 81 | } |
| 82 | |
| 83 | rust_test_host { |
| 84 | name: "tokio-test_host_test_tests_block_on", |
| 85 | defaults: ["tokio-test_defaults_tokio_test"], |
| 86 | srcs: ["tests/block_on.rs"], |
| 87 | test_options: { |
| 88 | unit_test: true, |
| 89 | }, |
| 90 | } |
| 91 | |
| 92 | rust_test { |
| 93 | name: "tokio-test_device_test_tests_block_on", |
| 94 | defaults: ["tokio-test_defaults_tokio_test"], |
| 95 | srcs: ["tests/block_on.rs"], |
| 96 | } |
| 97 | |
| 98 | rust_test_host { |
| 99 | name: "tokio-test_host_test_tests_io", |
| 100 | defaults: ["tokio-test_defaults_tokio_test"], |
| 101 | srcs: ["tests/io.rs"], |
| 102 | test_options: { |
| 103 | unit_test: true, |
| 104 | }, |
| 105 | } |
| 106 | |
| 107 | rust_test { |
| 108 | name: "tokio-test_device_test_tests_io", |
| 109 | defaults: ["tokio-test_defaults_tokio_test"], |
| 110 | srcs: ["tests/io.rs"], |
| 111 | } |
| 112 | |
| 113 | rust_test_host { |
| 114 | name: "tokio-test_host_test_tests_macros", |
| 115 | defaults: ["tokio-test_defaults_tokio_test"], |
| 116 | srcs: ["tests/macros.rs"], |
| 117 | test_options: { |
| 118 | unit_test: true, |
| 119 | }, |
| 120 | } |
| 121 | |
| 122 | rust_test { |
| 123 | name: "tokio-test_device_test_tests_macros", |
| 124 | defaults: ["tokio-test_defaults_tokio_test"], |
| 125 | srcs: ["tests/macros.rs"], |
| 126 | } |
| 127 | |
| 128 | // dependent_library ["feature_list"] |
| 129 | // async-stream-0.3.0 |
| 130 | // async-stream-impl-0.3.0 |
| 131 | // autocfg-1.0.1 |
| 132 | // bytes-1.0.1 "default,std" |
| 133 | // cfg-if-1.0.0 |
Elliott Hughes | 9dcb441 | 2021-04-02 10:43:29 -0700 | [diff] [blame^] | 134 | // futures-core-0.3.13 "alloc,default,std" |
| 135 | // futures-macro-0.3.13 |
| 136 | // futures-task-0.3.13 "alloc,std" |
| 137 | // futures-util-0.3.13 "alloc,async-await,async-await-macro,default,futures-macro,proc-macro-hack,proc-macro-nested,slab,std" |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 138 | // instant-0.1.9 |
Elliott Hughes | 9dcb441 | 2021-04-02 10:43:29 -0700 | [diff] [blame^] | 139 | // libc-0.2.92 "default,std" |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 140 | // lock_api-0.4.2 |
| 141 | // log-0.4.14 |
| 142 | // memchr-2.3.4 "default,std" |
Elliott Hughes | 9dcb441 | 2021-04-02 10:43:29 -0700 | [diff] [blame^] | 143 | // mio-0.7.11 "default,net,os-ext,os-poll,os-util,tcp,udp,uds" |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 144 | // num_cpus-1.13.0 |
Elliott Hughes | 9dcb441 | 2021-04-02 10:43:29 -0700 | [diff] [blame^] | 145 | // once_cell-1.7.2 "alloc,default,race,std" |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 146 | // parking_lot-0.11.1 "default" |
Elliott Hughes | 9dcb441 | 2021-04-02 10:43:29 -0700 | [diff] [blame^] | 147 | // parking_lot_core-0.8.3 |
| 148 | // pin-project-lite-0.2.6 |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 149 | // pin-utils-0.1.0 |
| 150 | // proc-macro-hack-0.5.19 |
| 151 | // proc-macro-nested-0.1.7 |
Elliott Hughes | 9dcb441 | 2021-04-02 10:43:29 -0700 | [diff] [blame^] | 152 | // proc-macro2-1.0.26 "default,proc-macro" |
| 153 | // quote-1.0.9 "default,proc-macro" |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 154 | // scopeguard-1.1.0 |
| 155 | // signal-hook-registry-1.3.0 |
| 156 | // slab-0.4.2 |
| 157 | // smallvec-1.6.1 |
Elliott Hughes | 9dcb441 | 2021-04-02 10:43:29 -0700 | [diff] [blame^] | 158 | // syn-1.0.68 "clone-impls,default,derive,extra-traits,full,parsing,printing,proc-macro,quote,visit-mut" |
| 159 | // tokio-1.4.0 "bytes,default,fs,full,io-std,io-util,libc,macros,memchr,mio,net,num_cpus,once_cell,parking_lot,process,rt,rt-multi-thread,signal,signal-hook-registry,sync,test-util,time,tokio-macros,winapi" |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 160 | // tokio-macros-1.1.0 |
Elliott Hughes | 9dcb441 | 2021-04-02 10:43:29 -0700 | [diff] [blame^] | 161 | // tokio-stream-0.1.5 "default,time" |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 162 | // unicode-xid-0.2.1 "default" |