86 lines
1.9 KiB
Plaintext
86 lines
1.9 KiB
Plaintext
// This file is generated by cargo2android.py --config cargo2android.json.
|
|
// Do not modify this file as changes will be overridden on upgrade.
|
|
|
|
package {
|
|
default_applicable_licenses: ["external_rust_crates_tokio-test_license"],
|
|
}
|
|
|
|
// Added automatically by a large-scale-change
|
|
// See: http://go/android-license-faq
|
|
license {
|
|
name: "external_rust_crates_tokio-test_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-MIT",
|
|
],
|
|
license_text: [
|
|
"LICENSE",
|
|
],
|
|
}
|
|
|
|
rust_library {
|
|
name: "libtokio_test",
|
|
host_supported: true,
|
|
crate_name: "tokio_test",
|
|
cargo_env_compat: true,
|
|
cargo_pkg_version: "0.4.2",
|
|
srcs: ["src/lib.rs"],
|
|
edition: "2018",
|
|
rustlibs: [
|
|
"libasync_stream",
|
|
"libbytes",
|
|
"libfutures_core",
|
|
"libtokio",
|
|
"libtokio_stream",
|
|
],
|
|
}
|
|
|
|
rust_defaults {
|
|
name: "tokio-test_test_defaults",
|
|
crate_name: "tokio_test",
|
|
cargo_env_compat: true,
|
|
cargo_pkg_version: "0.4.2",
|
|
test_suites: ["general-tests"],
|
|
auto_gen_config: true,
|
|
edition: "2018",
|
|
rustlibs: [
|
|
"libasync_stream",
|
|
"libbytes",
|
|
"libfutures_core",
|
|
"libfutures_util",
|
|
"libtokio",
|
|
"libtokio_stream",
|
|
"libtokio_test",
|
|
],
|
|
}
|
|
|
|
rust_test {
|
|
name: "tokio-test_test_tests_block_on",
|
|
defaults: ["tokio-test_test_defaults"],
|
|
host_supported: true,
|
|
srcs: ["tests/block_on.rs"],
|
|
test_options: {
|
|
unit_test: true,
|
|
},
|
|
}
|
|
|
|
rust_test {
|
|
name: "tokio-test_test_tests_io",
|
|
defaults: ["tokio-test_test_defaults"],
|
|
host_supported: true,
|
|
srcs: ["tests/io.rs"],
|
|
test_options: {
|
|
unit_test: true,
|
|
},
|
|
}
|
|
|
|
rust_test {
|
|
name: "tokio-test_test_tests_macros",
|
|
defaults: ["tokio-test_test_defaults"],
|
|
host_supported: true,
|
|
srcs: ["tests/macros.rs"],
|
|
test_options: {
|
|
unit_test: true,
|
|
},
|
|
}
|