diff options
author | Joel Galenson <jgalenson@google.com> | 2021-12-15 18:06:59 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-12-15 18:06:59 +0000 |
commit | 3eaac1d03750a3fede31fa0cbbf6d41214638bc6 (patch) | |
tree | d9ccef6def8def89a2570e9f3e3a7e944d61f16b | |
parent | 0baa82d94366f1a01abf45b9a7f3979c9a4f1198 (diff) | |
parent | d2d27ec8e5265540b9bcde8ede92b0623e93afae (diff) | |
download | rand_chacha-3eaac1d03750a3fede31fa0cbbf6d41214638bc6.tar.gz |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: 5bdbcff46b am: 0a8fc67a26 am: d002f98c41 am: d2d27ec8e5t_frc_odp_330442040t_frc_odp_330442000t_frc_con_330443020t_frc_cbr_330443000t_frc_ase_330444010t_frc_art_330443060t_frc_adb_330444000android-13.0.0_r30android-13.0.0_r29android-13.0.0_r28android-13.0.0_r27android-13.0.0_r24android-13.0.0_r23android-13.0.0_r22android-13.0.0_r21android-13.0.0_r20android-13.0.0_r19android-13.0.0_r18android-13.0.0_r17android-13.0.0_r16aml_uwb_331115000aml_uwb_331015040aml_uwb_330810010aml_tz4_331012050aml_tz4_331012040aml_tz4_331012000aml_go_wif_330911000aml_go_uwb_330912000aml_go_tz4_330912000aml_go_tet_330914010aml_go_swc_330913000aml_go_sta_330911000aml_go_sdk_330810000aml_go_sch_330911000aml_go_res_330912000aml_go_per_330912000aml_go_odp_330913000aml_go_odp_330912000aml_go_neu_330912000aml_go_net_330913000aml_go_mpr_330912000aml_go_ase_330913000aml_go_ads_330915100aml_go_ads_330915000aml_go_ads_330913000aml_go_adb_330913000aml_ase_331311020aml_ase_331112000aml_ase_331011020aml_ads_331131000android13-qpr1-s8-releaseandroid13-qpr1-s7-releaseandroid13-qpr1-s6-releaseandroid13-qpr1-s5-releaseandroid13-qpr1-s4-releaseandroid13-qpr1-s3-releaseandroid13-qpr1-s2-releaseandroid13-qpr1-s1-releaseandroid13-qpr1-releaseandroid13-mainline-go-wifi-releaseandroid13-mainline-go-uwb-releaseandroid13-mainline-go-tzdata4-releaseandroid13-mainline-go-tethering-releaseandroid13-mainline-go-sdkext-releaseandroid13-mainline-go-scheduling-releaseandroid13-mainline-go-resolv-releaseandroid13-mainline-go-permission-releaseandroid13-mainline-go-os-statsd-releaseandroid13-mainline-go-odp-releaseandroid13-mainline-go-neuralnetworks-releaseandroid13-mainline-go-networking-releaseandroid13-mainline-go-mediaprovider-releaseandroid13-mainline-go-media-swcodec-releaseandroid13-mainline-go-appsearch-releaseandroid13-mainline-go-adservices-releaseandroid13-mainline-go-adbd-releaseandroid13-mainline-appsearch-releaseandroid13-frc-odp-releaseandroid13-frc-conscrypt-releaseandroid13-frc-cellbroadcast-releaseandroid13-frc-art-releaseandroid13-frc-adbd-releaseandroid13-dev
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/rand_chacha/+/1912658
Change-Id: I01274f8244bf9c5cc8d6b525a5accf3a5099bbd9
-rw-r--r-- | Android.bp | 23 | ||||
-rw-r--r-- | TEST_MAPPING | 244 | ||||
-rw-r--r-- | cargo2android.json | 2 |
3 files changed, 42 insertions, 227 deletions
@@ -60,14 +60,18 @@ rust_library { ], } -rust_defaults { - name: "rand_chacha_test_defaults", +rust_test { + name: "rand_chacha_test_src_lib", + host_supported: true, crate_name: "rand_chacha", - srcs: ["src/lib.rs"], cargo_env_compat: true, cargo_pkg_version: "0.3.1", + srcs: ["src/lib.rs"], test_suites: ["general-tests"], auto_gen_config: true, + test_options: { + unit_test: true, + }, edition: "2018", features: [ "default", @@ -79,16 +83,3 @@ rust_defaults { "libserde_json", ], } - -rust_test_host { - name: "rand_chacha_host_test_src_lib", - defaults: ["rand_chacha_test_defaults"], - test_options: { - unit_test: true, - }, -} - -rust_test { - name: "rand_chacha_device_test_src_lib", - defaults: ["rand_chacha_test_defaults"], -} diff --git a/TEST_MAPPING b/TEST_MAPPING index 7c2f56b..3f99cb1 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -1,65 +1,52 @@ // Generated by update_crate_tests.py for tests that depend on this crate. { - "presubmit": [ - { - "name": "base64_device_test_tests_decode" - }, - { - "name": "base64_device_test_tests_encode" - }, - { - "name": "base64_device_test_tests_helpers" - }, - { - "name": "crossbeam-deque_device_test_src_lib" - }, + "imports": [ { - "name": "crossbeam-deque_device_test_tests_fifo" + "path": "external/rust/crates/base64" }, { - "name": "crossbeam-deque_device_test_tests_injector" + "path": "external/rust/crates/cast" }, { - "name": "crossbeam-deque_device_test_tests_lifo" + "path": "external/rust/crates/crc32fast" }, { - "name": "crossbeam-deque_device_test_tests_steal" + "path": "external/rust/crates/crossbeam-deque" }, { - "name": "crossbeam-epoch_device_test_src_lib" + "path": "external/rust/crates/crossbeam-epoch" }, { - "name": "crossbeam-epoch_device_test_tests_loom" + "path": "external/rust/crates/crossbeam-queue" }, { - "name": "crossbeam-queue_device_test_src_lib" + "path": "external/rust/crates/crossbeam-utils" }, { - "name": "crossbeam-queue_device_test_tests_array_queue" + "path": "external/rust/crates/mio" }, { - "name": "crossbeam-queue_device_test_tests_seg_queue" + "path": "external/rust/crates/quickcheck" }, { - "name": "crossbeam-utils_device_test_src_lib" + "path": "external/rust/crates/regex" }, { - "name": "crossbeam-utils_device_test_tests_atomic_cell" + "path": "external/rust/crates/ryu" }, { - "name": "crossbeam-utils_device_test_tests_cache_padded" - }, - { - "name": "crossbeam-utils_device_test_tests_parker" - }, + "path": "external/rust/crates/tokio" + } + ], + "presubmit": [ { - "name": "crossbeam-utils_device_test_tests_sharded_lock" + "name": "ZipFuseTest" }, { - "name": "crossbeam-utils_device_test_tests_thread" + "name": "apkdmverity.test" }, { - "name": "crossbeam-utils_device_test_tests_wait_group" + "name": "authfs_device_test_src_lib" }, { "name": "keystore2_test" @@ -71,205 +58,42 @@ "name": "legacykeystore_test" }, { - "name": "mio_device_test_src_lib" - }, - { - "name": "rand_chacha_device_test_src_lib" + "name": "microdroid_manager_test" }, { - "name": "tokio_device_test_tests__require_full" + "name": "rand_chacha_test_src_lib" }, { - "name": "tokio_device_test_tests_buffered" - }, - { - "name": "tokio_device_test_tests_io_async_fd" - }, - { - "name": "tokio_device_test_tests_io_async_read" - }, - { - "name": "tokio_device_test_tests_io_chain" - }, - { - "name": "tokio_device_test_tests_io_copy" - }, - { - "name": "tokio_device_test_tests_io_copy_bidirectional" - }, - { - "name": "tokio_device_test_tests_io_driver" - }, - { - "name": "tokio_device_test_tests_io_driver_drop" - }, - { - "name": "tokio_device_test_tests_io_lines" - }, - { - "name": "tokio_device_test_tests_io_mem_stream" - }, - { - "name": "tokio_device_test_tests_io_read" - }, - { - "name": "tokio_device_test_tests_io_read_buf" - }, - { - "name": "tokio_device_test_tests_io_read_exact" - }, - { - "name": "tokio_device_test_tests_io_read_line" - }, - { - "name": "tokio_device_test_tests_io_read_to_end" - }, - { - "name": "tokio_device_test_tests_io_read_to_string" - }, - { - "name": "tokio_device_test_tests_io_read_until" - }, - { - "name": "tokio_device_test_tests_io_split" - }, - { - "name": "tokio_device_test_tests_io_take" - }, - { - "name": "tokio_device_test_tests_io_write" - }, - { - "name": "tokio_device_test_tests_io_write_all" - }, - { - "name": "tokio_device_test_tests_io_write_buf" - }, - { - "name": "tokio_device_test_tests_io_write_int" - }, - { - "name": "tokio_device_test_tests_macros_join" - }, - { - "name": "tokio_device_test_tests_macros_pin" - }, - { - "name": "tokio_device_test_tests_macros_select" - }, - { - "name": "tokio_device_test_tests_macros_test" - }, - { - "name": "tokio_device_test_tests_macros_try_join" - }, - { - "name": "tokio_device_test_tests_net_bind_resource" - }, - { - "name": "tokio_device_test_tests_net_lookup_host" - }, - { - "name": "tokio_device_test_tests_no_rt" - }, - { - "name": "tokio_device_test_tests_process_kill_on_drop" - }, - { - "name": "tokio_device_test_tests_rt_basic" - }, - { - "name": "tokio_device_test_tests_rt_common" - }, - { - "name": "tokio_device_test_tests_rt_threaded" - }, - { - "name": "tokio_device_test_tests_sync_barrier" - }, - { - "name": "tokio_device_test_tests_sync_broadcast" - }, - { - "name": "tokio_device_test_tests_sync_errors" - }, - { - "name": "tokio_device_test_tests_sync_mpsc" - }, - { - "name": "tokio_device_test_tests_sync_mutex" - }, - { - "name": "tokio_device_test_tests_sync_mutex_owned" - }, - { - "name": "tokio_device_test_tests_sync_notify" - }, - { - "name": "tokio_device_test_tests_sync_oneshot" - }, - { - "name": "tokio_device_test_tests_sync_rwlock" - }, - { - "name": "tokio_device_test_tests_sync_semaphore" - }, - { - "name": "tokio_device_test_tests_sync_semaphore_owned" - }, - { - "name": "tokio_device_test_tests_sync_watch" - }, - { - "name": "tokio_device_test_tests_task_abort" - }, - { - "name": "tokio_device_test_tests_task_blocking" - }, - { - "name": "tokio_device_test_tests_task_local" - }, - { - "name": "tokio_device_test_tests_task_local_set" - }, - { - "name": "tokio_device_test_tests_tcp_accept" - }, - { - "name": "tokio_device_test_tests_tcp_connect" - }, - { - "name": "tokio_device_test_tests_tcp_echo" - }, - { - "name": "tokio_device_test_tests_tcp_into_split" - }, + "name": "virtualizationservice_device_test" + } + ], + "presubmit-rust": [ { - "name": "tokio_device_test_tests_tcp_into_std" + "name": "ZipFuseTest" }, { - "name": "tokio_device_test_tests_tcp_peek" + "name": "apkdmverity.test" }, { - "name": "tokio_device_test_tests_tcp_shutdown" + "name": "authfs_device_test_src_lib" }, { - "name": "tokio_device_test_tests_tcp_socket" + "name": "keystore2_test" }, { - "name": "tokio_device_test_tests_tcp_split" + "name": "keystore2_test_utils_test" }, { - "name": "tokio_device_test_tests_time_rt" + "name": "legacykeystore_test" }, { - "name": "tokio_device_test_tests_udp" + "name": "microdroid_manager_test" }, { - "name": "tokio_device_test_tests_uds_cred" + "name": "rand_chacha_test_src_lib" }, { - "name": "tokio_device_test_tests_uds_split" + "name": "virtualizationservice_device_test" } ] } diff --git a/cargo2android.json b/cargo2android.json index 72ca2d4..ac56e26 100644 --- a/cargo2android.json +++ b/cargo2android.json @@ -7,4 +7,4 @@ "device": true, "run": true, "tests": true -} +}
\ No newline at end of file |