diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-25 12:32:41 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-25 12:32:41 +0000 |
commit | 539993550d9eb5975c4d770004fbfb5a122a845d (patch) | |
tree | b5a4c1e3bebc9e420a0cf35ab7d96c26bed0cbfb | |
parent | e6a041e6ad5de46359530213f78809ce920251e2 (diff) | |
parent | 724ca91d9ea29cdf152b9c579969203590a2b073 (diff) | |
download | fallible-streaming-iterator-android13-mainline-go-extservices-release.tar.gz |
Snap for 8358640 from 724ca91d9ea29cdf152b9c579969203590a2b073 to mainline-go-extservices-releaseaml_go_ext_330912000android13-mainline-go-extservices-release
Change-Id: Icc4d034165fb9073628237ab03b5237960ef34cc
-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 |