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} 38 39rust_test { 40 name: "tokio-test_test_tests_block_on", 41 host_supported: true, 42 crate_name: "block_on", 43 cargo_env_compat: true, 44 cargo_pkg_version: "0.4.2", 45 crate_root: "tests/block_on.rs", 46 test_suites: ["general-tests"], 47 auto_gen_config: true, 48 test_options: { 49 unit_test: true, 50 }, 51 edition: "2018", 52 rustlibs: [ 53 "libasync_stream", 54 "libbytes", 55 "libfutures_core", 56 "libfutures_util", 57 "libtokio", 58 "libtokio_stream", 59 "libtokio_test", 60 ], 61} 62 63rust_test { 64 name: "tokio-test_test_tests_io", 65 host_supported: true, 66 crate_name: "io", 67 cargo_env_compat: true, 68 cargo_pkg_version: "0.4.2", 69 crate_root: "tests/io.rs", 70 test_suites: ["general-tests"], 71 auto_gen_config: true, 72 test_options: { 73 unit_test: true, 74 }, 75 edition: "2018", 76 rustlibs: [ 77 "libasync_stream", 78 "libbytes", 79 "libfutures_core", 80 "libfutures_util", 81 "libtokio", 82 "libtokio_stream", 83 "libtokio_test", 84 ], 85} 86 87rust_test { 88 name: "tokio-test_test_tests_macros", 89 host_supported: true, 90 crate_name: "macros", 91 cargo_env_compat: true, 92 cargo_pkg_version: "0.4.2", 93 crate_root: "tests/macros.rs", 94 test_suites: ["general-tests"], 95 auto_gen_config: true, 96 test_options: { 97 unit_test: true, 98 }, 99 edition: "2018", 100 rustlibs: [ 101 "libasync_stream", 102 "libbytes", 103 "libfutures_core", 104 "libfutures_util", 105 "libtokio", 106 "libtokio_stream", 107 "libtokio_test", 108 ], 109} 110