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