• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
2// Do not modify this file after the first "rust_*" or "genrule" module
3// because the changes will be overridden on upgrade.
4// Content before the first "rust_*" or "genrule" module is preserved.
5
6package {
7    default_team: "trendy_team_android_rust",
8    default_applicable_licenses: ["external_rust_crates_tokio-test_license"],
9}
10
11// Added automatically by a large-scale-change
12// See: http://go/android-license-faq
13license {
14    name: "external_rust_crates_tokio-test_license",
15    visibility: [":__subpackages__"],
16    license_kinds: [
17        "SPDX-license-identifier-MIT",
18    ],
19    license_text: [
20        "LICENSE",
21    ],
22}
23
24rust_library {
25    name: "libtokio_test",
26    host_supported: true,
27    crate_name: "tokio_test",
28    cargo_env_compat: true,
29    cargo_pkg_version: "0.4.2",
30    crate_root: "src/lib.rs",
31    edition: "2018",
32    rustlibs: [
33        "libasync_stream",
34        "libbytes",
35        "libfutures_core",
36        "libtokio",
37        "libtokio_stream",
38    ],
39    apex_available: [
40        "//apex_available:platform",
41        "//apex_available:anyapex",
42    ],
43    product_available: true,
44    vendor_available: true,
45}
46
47rust_test {
48    name: "tokio-test_test_tests_block_on",
49    host_supported: true,
50    crate_name: "block_on",
51    cargo_env_compat: true,
52    cargo_pkg_version: "0.4.2",
53    crate_root: "tests/block_on.rs",
54    test_suites: ["general-tests"],
55    auto_gen_config: true,
56    test_options: {
57        unit_test: true,
58    },
59    edition: "2018",
60    rustlibs: [
61        "libasync_stream",
62        "libbytes",
63        "libfutures_core",
64        "libfutures_util",
65        "libtokio",
66        "libtokio_stream",
67        "libtokio_test",
68    ],
69}
70
71rust_test {
72    name: "tokio-test_test_tests_io",
73    host_supported: true,
74    crate_name: "io",
75    cargo_env_compat: true,
76    cargo_pkg_version: "0.4.2",
77    crate_root: "tests/io.rs",
78    test_suites: ["general-tests"],
79    auto_gen_config: true,
80    test_options: {
81        unit_test: true,
82    },
83    edition: "2018",
84    rustlibs: [
85        "libasync_stream",
86        "libbytes",
87        "libfutures_core",
88        "libfutures_util",
89        "libtokio",
90        "libtokio_stream",
91        "libtokio_test",
92    ],
93}
94
95rust_test {
96    name: "tokio-test_test_tests_macros",
97    host_supported: true,
98    crate_name: "macros",
99    cargo_env_compat: true,
100    cargo_pkg_version: "0.4.2",
101    crate_root: "tests/macros.rs",
102    test_suites: ["general-tests"],
103    auto_gen_config: true,
104    test_options: {
105        unit_test: true,
106    },
107    edition: "2018",
108    rustlibs: [
109        "libasync_stream",
110        "libbytes",
111        "libfutures_core",
112        "libfutures_util",
113        "libtokio",
114        "libtokio_stream",
115        "libtokio_test",
116    ],
117}
118