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