Joel Galenson | 82d53a8 | 2021-11-29 14:05:45 -0800 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --config cargo2android.json. |
Elliott Hughes | 9dcb441 | 2021-04-02 10:43:29 -0700 | [diff] [blame] | 2 | // Do not modify this file as changes will be overridden on upgrade. |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 3 | |
Bob Badour | 57031f2 | 2021-02-26 03:38:27 -0800 | [diff] [blame] | 4 | package { |
| 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 |
| 10 | license { |
| 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 Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 21 | rust_library { |
| 22 | name: "libtokio_test", |
| 23 | host_supported: true, |
| 24 | crate_name: "tokio_test", |
Joel Galenson | 82d53a8 | 2021-11-29 14:05:45 -0800 | [diff] [blame] | 25 | cargo_env_compat: true, |
| 26 | cargo_pkg_version: "0.4.2", |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 27 | 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 | |
| 38 | rust_defaults { |
Joel Galenson | 82d53a8 | 2021-11-29 14:05:45 -0800 | [diff] [blame] | 39 | name: "tokio-test_test_defaults", |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 40 | crate_name: "tokio_test", |
Joel Galenson | 82d53a8 | 2021-11-29 14:05:45 -0800 | [diff] [blame] | 41 | cargo_env_compat: true, |
| 42 | cargo_pkg_version: "0.4.2", |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 43 | 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 Galenson | 82d53a8 | 2021-11-29 14:05:45 -0800 | [diff] [blame] | 57 | rust_test { |
| 58 | name: "tokio-test_test_tests_block_on", |
| 59 | defaults: ["tokio-test_test_defaults"], |
| 60 | host_supported: true, |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 61 | srcs: ["tests/block_on.rs"], |
| 62 | test_options: { |
| 63 | unit_test: true, |
| 64 | }, |
| 65 | } |
| 66 | |
| 67 | rust_test { |
Joel Galenson | 82d53a8 | 2021-11-29 14:05:45 -0800 | [diff] [blame] | 68 | name: "tokio-test_test_tests_io", |
| 69 | defaults: ["tokio-test_test_defaults"], |
| 70 | host_supported: true, |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 71 | srcs: ["tests/io.rs"], |
| 72 | test_options: { |
| 73 | unit_test: true, |
| 74 | }, |
| 75 | } |
| 76 | |
| 77 | rust_test { |
Joel Galenson | 82d53a8 | 2021-11-29 14:05:45 -0800 | [diff] [blame] | 78 | name: "tokio-test_test_tests_macros", |
| 79 | defaults: ["tokio-test_test_defaults"], |
| 80 | host_supported: true, |
Jeff Vander Stoep | bf37273 | 2021-02-18 09:39:46 +0100 | [diff] [blame] | 81 | srcs: ["tests/macros.rs"], |
| 82 | test_options: { |
| 83 | unit_test: true, |
| 84 | }, |
| 85 | } |