diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:06:16 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:06:16 +0000 |
commit | 82b57876d4a2db05c40940c1c57453ea08986e48 (patch) | |
tree | b5a4c1e3bebc9e420a0cf35ab7d96c26bed0cbfb | |
parent | a206c7063a70e092bee223112d4c769b1f6c0c4b (diff) | |
parent | 724ca91d9ea29cdf152b9c579969203590a2b073 (diff) | |
download | fallible-streaming-iterator-android13-mainline-mediaprovider-release.tar.gz |
Snap for 8570526 from 724ca91d9ea29cdf152b9c579969203590a2b073 to mainline-mediaprovider-releaseaml_mpr_331918000aml_mpr_331812020aml_mpr_331711020aml_mpr_331613010aml_mpr_331512020aml_mpr_331412040aml_mpr_331311080aml_mpr_331112050aml_mpr_331112030aml_mpr_331011070aml_mpr_330911040aml_mpr_330811020android13-mainline-mediaprovider-release
Change-Id: Icc99520524d4e28d6541d5bfd9e6f46fbc27c4de
-rw-r--r-- | Android.bp | 32 | ||||
-rw-r--r-- | TEST_MAPPING | 15 | ||||
-rw-r--r-- | cargo2android.json | 6 |
3 files changed, 24 insertions, 29 deletions
@@ -1,4 +1,5 @@ -// This file is generated by cargo2android.py --device --run --dependencies --test --features=std. +// This file is generated by cargo2android.py --config cargo2android.json. +// Do not modify this file as changes will be overridden on upgrade. package { default_applicable_licenses: [ @@ -38,37 +39,14 @@ license { ], } -rust_defaults { - name: "fallible-streaming-iterator_defaults", - crate_name: "fallible_streaming_iterator", - // has rustc warnings - srcs: ["src/lib.rs"], - test_suites: ["general-tests"], - auto_gen_config: true, - edition: "2015", - features: [ - "std", - ], -} - -rust_test_host { - name: "fallible-streaming-iterator_host_test_src_lib", - defaults: ["fallible-streaming-iterator_defaults"], -} - -rust_test { - name: "fallible-streaming-iterator_device_test_src_lib", - defaults: ["fallible-streaming-iterator_defaults"], -} - rust_library { name: "libfallible_streaming_iterator", // has rustc warnings host_supported: true, crate_name: "fallible_streaming_iterator", + cargo_env_compat: true, + cargo_pkg_version: "0.1.9", srcs: ["src/lib.rs"], edition: "2015", - features: [ - "std", - ], + features: ["std"], } diff --git a/TEST_MAPPING b/TEST_MAPPING index 3b7bc44..91f37bf 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -1,8 +1,19 @@ -// Generated by cargo2android.py for tests in Android.bp +// Generated by update_crate_tests.py for tests that depend on this crate. { "presubmit": [ { - "name": "fallible-streaming-iterator_device_test_src_lib" + "name": "keystore2_test" + }, + { + "name": "legacykeystore_test" + } + ], + "presubmit-rust": [ + { + "name": "keystore2_test" + }, + { + "name": "legacykeystore_test" } ] } diff --git a/cargo2android.json b/cargo2android.json new file mode 100644 index 0000000..fba20cf --- /dev/null +++ b/cargo2android.json @@ -0,0 +1,6 @@ +{ + "device": true, + "features": "std", + "run": true, + "tests": true +}
\ No newline at end of file |