From 6de71ad7e394e65e825c30eb2977774b8a3a8b65 Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Fri, 15 Jan 2021 14:18:27 +0100 Subject: Update TEST_MAPPING Run cargo2android to update TEST_MAPPING files with the changes in aosp/1501997 and aosp/1548356. Test: TH Change-Id: I4c89c6b01f82f764b0ffc208d6be7bc7b648d8d6 --- Android.bp | 6 ++++++ TEST_MAPPING | 10 ++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Android.bp b/Android.bp index 95882d0..e679a38 100644 --- a/Android.bp +++ b/Android.bp @@ -27,6 +27,9 @@ rust_defaults { rust_test_host { name: "matches_host_test_lib", defaults: ["matches_defaults"], + test_options: { + unit_test: true, + }, } rust_test { @@ -50,6 +53,9 @@ rust_defaults { rust_test_host { name: "matches_host_test_tests_macro_use_one", defaults: ["matches_defaults_macro_use_one"], + test_options: { + unit_test: true, + }, } rust_test { diff --git a/TEST_MAPPING b/TEST_MAPPING index 8b581f0..138b36c 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -1,16 +1,14 @@ -// Generated by cargo2android.py for tests in Android.bp +// Generated by cargo2android.py for tests that depend on this crate. { "presubmit": [ { - "host": true, - "name": "matches_host_test_lib" + "name": "matches_device_test_lib" }, { - "name": "matches_device_test_lib" + "name": "url_device_test_src_lib" }, { - "host": true, - "name": "matches_host_test_tests_macro_use_one" + "name": "unicode-bidi_device_test_src_lib" }, { "name": "matches_device_test_tests_macro_use_one" -- cgit v1.2.3