summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2021-01-15 16:33:57 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-15 16:33:57 +0000
commitcddd972cc5d8d459675d5a478c88a3987c683fb0 (patch)
tree8448dffde1a974fc8a103d868dea5c516f94fe05
parent653f0a91c6794951a748b5d1121c5ef7b744a68b (diff)
parent906ed142e1a3f75c12d1fd6159df422d0c7f8d52 (diff)
downloadmatches-cddd972cc5d8d459675d5a478c88a3987c683fb0.tar.gz
Update TEST_MAPPING am: 6de71ad7e3 am: 906ed142e1
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/matches/+/1552514 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id7c711eda0a11aca00a668737f1bd5e4e523a6ba
-rw-r--r--Android.bp6
-rw-r--r--TEST_MAPPING10
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"