blob: 43cb97d1d0b83203524ea8218424ee5cc4edb546 [file] [log] [blame]
Joel Galenson82d53a82021-11-29 14:05:45 -08001// This file is generated by cargo2android.py --config cargo2android.json.
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",
Joel Galenson82d53a82021-11-29 14:05:45 -080025 cargo_env_compat: true,
26 cargo_pkg_version: "0.4.2",
Jeff Vander Stoepbf372732021-02-18 09:39:46 +010027 srcs: ["src/lib.rs"],
28 edition: "2018",
29 rustlibs: [
30 "libasync_stream",
31 "libbytes",
32 "libfutures_core",
33 "libtokio",
34 "libtokio_stream",
35 ],
36}
37
38rust_defaults {
Joel Galenson82d53a82021-11-29 14:05:45 -080039 name: "tokio-test_test_defaults",
Jeff Vander Stoepbf372732021-02-18 09:39:46 +010040 crate_name: "tokio_test",
Joel Galenson82d53a82021-11-29 14:05:45 -080041 cargo_env_compat: true,
42 cargo_pkg_version: "0.4.2",
Jeff Vander Stoepbf372732021-02-18 09:39:46 +010043 test_suites: ["general-tests"],
44 auto_gen_config: true,
45 edition: "2018",
46 rustlibs: [
47 "libasync_stream",
48 "libbytes",
49 "libfutures_core",
50 "libfutures_util",
51 "libtokio",
52 "libtokio_stream",
53 "libtokio_test",
54 ],
55}
56
Joel Galenson82d53a82021-11-29 14:05:45 -080057rust_test {
58 name: "tokio-test_test_tests_block_on",
59 defaults: ["tokio-test_test_defaults"],
60 host_supported: true,
Jeff Vander Stoepbf372732021-02-18 09:39:46 +010061 srcs: ["tests/block_on.rs"],
62 test_options: {
63 unit_test: true,
64 },
65}
66
67rust_test {
Joel Galenson82d53a82021-11-29 14:05:45 -080068 name: "tokio-test_test_tests_io",
69 defaults: ["tokio-test_test_defaults"],
70 host_supported: true,
Jeff Vander Stoepbf372732021-02-18 09:39:46 +010071 srcs: ["tests/io.rs"],
72 test_options: {
73 unit_test: true,
74 },
75}
76
77rust_test {
Joel Galenson82d53a82021-11-29 14:05:45 -080078 name: "tokio-test_test_tests_macros",
79 defaults: ["tokio-test_test_defaults"],
80 host_supported: true,
Jeff Vander Stoepbf372732021-02-18 09:39:46 +010081 srcs: ["tests/macros.rs"],
82 test_options: {
83 unit_test: true,
84 },
85}