blob: ef76cb6f94f76af17f4dff306261ef3995ef89ab [file] [log] [blame]
Jeff Vander Stoepbf372732021-02-18 09:39:46 +01001// This file is generated by cargo2android.py --run --dependencies --device --tests.
Elliott Hughes9dcb4412021-04-02 10:43:29 -07002// Do not modify this file as changes will be overridden on upgrade.
Jeff Vander Stoepbf372732021-02-18 09:39:46 +01003
Bob Badour57031f22021-02-26 03:38:27 -08004package {
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
10license {
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 Stoepbf372732021-02-18 09:39:46 +010021rust_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
36rust_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
53rust_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
61rust_test {
62 name: "tokio-test_device_test_src_lib",
63 defaults: ["tokio-test_defaults"],
64}
65
66rust_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
83rust_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
92rust_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
98rust_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
107rust_test {
108 name: "tokio-test_device_test_tests_io",
109 defaults: ["tokio-test_defaults_tokio_test"],
110 srcs: ["tests/io.rs"],
111}
112
113rust_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
122rust_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 Hughes9dcb4412021-04-02 10:43:29 -0700134// 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 Stoepbf372732021-02-18 09:39:46 +0100138// instant-0.1.9
Elliott Hughes9dcb4412021-04-02 10:43:29 -0700139// libc-0.2.92 "default,std"
Jeff Vander Stoepbf372732021-02-18 09:39:46 +0100140// lock_api-0.4.2
141// log-0.4.14
142// memchr-2.3.4 "default,std"
Elliott Hughes9dcb4412021-04-02 10:43:29 -0700143// mio-0.7.11 "default,net,os-ext,os-poll,os-util,tcp,udp,uds"
Jeff Vander Stoepbf372732021-02-18 09:39:46 +0100144// num_cpus-1.13.0
Elliott Hughes9dcb4412021-04-02 10:43:29 -0700145// once_cell-1.7.2 "alloc,default,race,std"
Jeff Vander Stoepbf372732021-02-18 09:39:46 +0100146// parking_lot-0.11.1 "default"
Elliott Hughes9dcb4412021-04-02 10:43:29 -0700147// parking_lot_core-0.8.3
148// pin-project-lite-0.2.6
Jeff Vander Stoepbf372732021-02-18 09:39:46 +0100149// pin-utils-0.1.0
150// proc-macro-hack-0.5.19
151// proc-macro-nested-0.1.7
Elliott Hughes9dcb4412021-04-02 10:43:29 -0700152// proc-macro2-1.0.26 "default,proc-macro"
153// quote-1.0.9 "default,proc-macro"
Jeff Vander Stoepbf372732021-02-18 09:39:46 +0100154// scopeguard-1.1.0
155// signal-hook-registry-1.3.0
156// slab-0.4.2
157// smallvec-1.6.1
Elliott Hughes9dcb4412021-04-02 10:43:29 -0700158// 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 Stoepbf372732021-02-18 09:39:46 +0100160// tokio-macros-1.1.0
Elliott Hughes9dcb4412021-04-02 10:43:29 -0700161// tokio-stream-0.1.5 "default,time"
Jeff Vander Stoepbf372732021-02-18 09:39:46 +0100162// unicode-xid-0.2.1 "default"