diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-12-16 00:03:39 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-12-16 00:03:39 +0000 |
commit | 8925156b207a8b46c7f946ec3fabdd3080755222 (patch) | |
tree | ca9ba939281ce1cdb13491031e734ceb300d9940 | |
parent | 6dfa0d6225d07db7aea96ae77b8ead0be591cb2c (diff) | |
parent | 89913588fe28da5c469f0db79ce588b3035d9ee1 (diff) | |
download | cesu8-platform-tools-32.0.0.tar.gz |
Snap for 8005954 from 89913588fe28da5c469f0db79ce588b3035d9ee1 to sdk-releaseplatform-tools-33.0.1platform-tools-33.0.0platform-tools-32.0.0
Change-Id: I172f766d38c8f844af02f618cb3a13e9dc34733f
-rw-r--r-- | Android.bp | 21 | ||||
-rw-r--r-- | TEST_MAPPING | 58 | ||||
-rw-r--r-- | cargo2android.json | 2 |
3 files changed, 17 insertions, 64 deletions
@@ -34,29 +34,20 @@ license { ], } -rust_defaults { - name: "cesu8_test_defaults", - crate_name: "cesu8", +rust_test { + name: "cesu8_test_src_lib", // has rustc warnings - srcs: ["src/lib.rs"], + host_supported: true, + crate_name: "cesu8", cargo_env_compat: true, cargo_pkg_version: "1.1.0", + srcs: ["src/lib.rs"], test_suites: ["general-tests"], auto_gen_config: true, - edition: "2015", -} - -rust_test_host { - name: "cesu8_host_test_src_lib", - defaults: ["cesu8_test_defaults"], test_options: { unit_test: true, }, -} - -rust_test { - name: "cesu8_device_test_src_lib", - defaults: ["cesu8_test_defaults"], + edition: "2015", } rust_library { diff --git a/TEST_MAPPING b/TEST_MAPPING index 9965b4b..2b4350c 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -1,56 +1,18 @@ // Generated by update_crate_tests.py for tests that depend on this crate. { - "presubmit": [ - { - "name": "cesu8_device_test_src_lib" - }, - { - "name": "jni_device_test_src_lib" - }, - { - "name": "jni_device_test_tests_executor" - }, - { - "name": "jni_device_test_tests_executor_nested_attach" - }, - { - "name": "jni_device_test_tests_java_integers" - }, - { - "name": "jni_device_test_tests_jmap" - }, - { - "name": "jni_device_test_tests_jni_api" - }, - { - "name": "jni_device_test_tests_jni_global_refs" - }, + "imports": [ { - "name": "jni_device_test_tests_threads_attach_guard" - }, - { - "name": "jni_device_test_tests_threads_detach" - }, - { - "name": "jni_device_test_tests_threads_detach_daemon" - }, - { - "name": "jni_device_test_tests_threads_explicit_detach" - }, - { - "name": "jni_device_test_tests_threads_explicit_detach_daemon" - }, - { - "name": "jni_device_test_tests_threads_explicit_detach_permanent" - }, - { - "name": "jni_device_test_tests_threads_nested_attach_daemon" - }, + "path": "external/rust/crates/jni" + } + ], + "presubmit": [ { - "name": "jni_device_test_tests_threads_nested_attach_guard" - }, + "name": "cesu8_test_src_lib" + } + ], + "presubmit-rust": [ { - "name": "jni_device_test_tests_threads_nested_attach_permanently" + "name": "cesu8_test_src_lib" } ] } diff --git a/cargo2android.json b/cargo2android.json index 728c976..39b0f84 100644 --- a/cargo2android.json +++ b/cargo2android.json @@ -4,7 +4,7 @@ "com.android.uwb" ], "device": true, - "min_sdk_version": "29", + "min-sdk-version": "29", "run": true, "tests": true }
\ No newline at end of file |