diff options
author | Jeffrey Vander Stoep <jeffv@google.com> | 2021-10-29 15:11:33 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-10-29 15:11:33 +0000 |
commit | 2e908126866b1b3b835e5dfb9ffd6286aa0b4380 (patch) | |
tree | 0c47f4da71e60da15b3cb29eb3ac9b5407de1a9d | |
parent | b772482d75395488950c84acdcc2a73866829825 (diff) | |
parent | fd84ab0b772dd09d443f4a6f8b51092477687fe0 (diff) | |
download | grpcio-2e908126866b1b3b835e5dfb9ffd6286aa0b4380.tar.gz |
Revert "Enable tests" am: 229fdf0f2e am: b752a721e8 am: 313c52632f am: fd84ab0b77
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/grpcio/+/1873568
Change-Id: I88f339c124e3e59fae12e0b75de3f1c5339c8778
-rw-r--r-- | Android.bp | 38 | ||||
-rw-r--r-- | TEST_MAPPING | 8 |
2 files changed, 1 insertions, 45 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --run --device --features=protobuf,protobuf-codec --tests. +// This file is generated by cargo2android.py --run --device --features=protobuf,protobuf-codec. // Do not modify this file as changes will be overridden on upgrade. package { @@ -18,42 +18,6 @@ license { ], } -rust_defaults { - name: "grpcio_test_defaults", - crate_name: "grpcio", - srcs: ["src/lib.rs"], - cargo_env_compat: true, - cargo_pkg_version: "0.9.1", - test_suites: ["general-tests"], - auto_gen_config: true, - edition: "2018", - features: [ - "protobuf", - "protobuf-codec", - ], - rustlibs: [ - "libfutures", - "libgrpcio_sys", - "liblibc", - "liblog_rust", - "libparking_lot", - "libprotobuf", - ], -} - -rust_test_host { - name: "grpcio_host_test_src_lib", - defaults: ["grpcio_test_defaults"], - test_options: { - unit_test: true, - }, -} - -rust_test { - name: "grpcio_device_test_src_lib", - defaults: ["grpcio_test_defaults"], -} - rust_library { name: "libgrpcio", host_supported: true, diff --git a/TEST_MAPPING b/TEST_MAPPING deleted file mode 100644 index 2784e7f..0000000 --- a/TEST_MAPPING +++ /dev/null @@ -1,8 +0,0 @@ -// Generated by update_crate_tests.py for tests that depend on this crate. -{ - "presubmit": [ - { - "name": "grpcio_device_test_src_lib" - } - ] -} |