diff options
author | Joel Galenson <jgalenson@google.com> | 2021-12-15 15:28:00 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-12-15 15:28:00 +0000 |
commit | 3a423cbd39df8d0e08dad837f1ee3b5964066033 (patch) | |
tree | 56a6967701ac6101a0d79dd61724d3a4587ceb7a | |
parent | 24c95aca462699305dbea62444d4420454408d40 (diff) | |
parent | 930746e7fe4cc8bfb772d2d90c7c3a9442febad7 (diff) | |
download | tinyvec-android-s-v2-beta-3.tar.gz |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING."android-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-beta-3android-s-qpr3-beta-1android-t-preview-1android-s-v2-beta-3android-s-qpr3-beta-1
-rw-r--r-- | Android.bp | 20 | ||||
-rw-r--r-- | TEST_MAPPING | 27 | ||||
-rw-r--r-- | cargo2android.json | 6 |
3 files changed, 25 insertions, 28 deletions
@@ -87,9 +87,10 @@ rust_defaults { ], } -rust_test_host { - name: "tinyvec_host_test_tests_arrayvec", +rust_test { + name: "tinyvec_test_tests_arrayvec", defaults: ["tinyvec_test_defaults"], + host_supported: true, srcs: ["tests/arrayvec.rs"], test_options: { unit_test: true, @@ -97,22 +98,11 @@ rust_test_host { } rust_test { - name: "tinyvec_device_test_tests_arrayvec", - defaults: ["tinyvec_test_defaults"], - srcs: ["tests/arrayvec.rs"], -} - -rust_test_host { - name: "tinyvec_host_test_tests_tinyvec", + name: "tinyvec_test_tests_tinyvec", defaults: ["tinyvec_test_defaults"], + host_supported: true, srcs: ["tests/tinyvec.rs"], test_options: { unit_test: true, }, } - -rust_test { - name: "tinyvec_device_test_tests_tinyvec", - defaults: ["tinyvec_test_defaults"], - srcs: ["tests/tinyvec.rs"], -} diff --git a/TEST_MAPPING b/TEST_MAPPING index e448918..45f8bcc 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -1,29 +1,36 @@ // Generated by update_crate_tests.py for tests that depend on this crate. { - "presubmit": [ + "imports": [ { - "name": "doh_unit_test" + "path": "external/rust/crates/quiche" }, { - "name": "quiche_device_test_src_lib" + "path": "external/rust/crates/unicode-normalization" }, { - "name": "tinyvec_device_test_tests_arrayvec" - }, + "path": "external/rust/crates/url" + } + ], + "presubmit": [ { - "name": "tinyvec_device_test_tests_tinyvec" + "name": "doh_unit_test" }, { - "name": "unicode-normalization_device_test_src_lib" + "name": "tinyvec_test_tests_arrayvec" }, { - "name": "url_device_test_src_lib" + "name": "tinyvec_test_tests_tinyvec" + } + ], + "presubmit-rust": [ + { + "name": "doh_unit_test" }, { - "name": "url_device_test_tests_data" + "name": "tinyvec_test_tests_arrayvec" }, { - "name": "url_device_test_tests_unit" + "name": "tinyvec_test_tests_tinyvec" } ] } diff --git a/cargo2android.json b/cargo2android.json index b86e1c0..5974d19 100644 --- a/cargo2android.json +++ b/cargo2android.json @@ -3,10 +3,10 @@ "//apex_available:platform", "com.android.resolv" ], - "min_sdk_version": "29", "dependencies": true, - "features": "alloc,default,tinyvec_macros", "device": true, + "features": "alloc,default,tinyvec_macros", + "min-sdk-version": "29", "run": true, "tests": true -} +}
\ No newline at end of file |