diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-02-17 03:34:25 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-02-17 03:34:25 +0000 |
commit | bf95bf3ae57c2482865d22c86937de6f75567371 (patch) | |
tree | ee5f57fcda7aa67a9ab5b8d75bb009441b4477b8 | |
parent | d26844ab3b9234d27dd586602fe9d0413e4528eb (diff) | |
parent | 84a12a4d267411fa4a3cac53a4883653181044ee (diff) | |
download | tinyvec_macros-android13-frc-resolv-release.tar.gz |
Snap for 8191477 from 84a12a4d267411fa4a3cac53a4883653181044ee to tm-frc-resolv-releaset_frc_res_330443000android13-frc-resolv-release
Change-Id: Ic0cae28125f9ae521d7a52df77b8ce33c487ceb8
-rw-r--r-- | Android.bp | 24 | ||||
-rw-r--r-- | TEST_MAPPING | 23 |
2 files changed, 23 insertions, 24 deletions
@@ -37,6 +37,8 @@ rust_library { name: "libtinyvec_macros", host_supported: true, crate_name: "tinyvec_macros", + cargo_env_compat: true, + cargo_pkg_version: "0.1.0", srcs: ["src/lib.rs"], edition: "2018", apex_available: [ @@ -45,25 +47,3 @@ rust_library { ], min_sdk_version: "29", } - -rust_defaults { - name: "tinyvec_macros_defaults", - crate_name: "tinyvec_macros", - srcs: ["src/lib.rs"], - test_suites: ["general-tests"], - auto_gen_config: true, - edition: "2018", -} - -rust_test_host { - name: "tinyvec_macros_host_test_src_lib", - defaults: ["tinyvec_macros_defaults"], - test_options: { - unit_test: true, - }, -} - -rust_test { - name: "tinyvec_macros_device_test_src_lib", - defaults: ["tinyvec_macros_defaults"], -} diff --git a/TEST_MAPPING b/TEST_MAPPING index 710401c..15c97a1 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -1,8 +1,27 @@ -// Generated by cargo2android.py for tests in Android.bp +// Generated by update_crate_tests.py for tests that depend on this crate. { + "imports": [ + { + "path": "external/rust/crates/quiche" + }, + { + "path": "external/rust/crates/tinyvec" + }, + { + "path": "external/rust/crates/unicode-normalization" + }, + { + "path": "external/rust/crates/url" + } + ], "presubmit": [ { - "name": "tinyvec_macros_device_test_src_lib" + "name": "doh_unit_test" + } + ], + "presubmit-rust": [ + { + "name": "doh_unit_test" } ] } |