diff options
-rw-r--r-- | Android.bp | 8 | ||||
-rw-r--r-- | TEST_MAPPING | 21 | ||||
-rw-r--r-- | cargo2android.json | 4 |
3 files changed, 22 insertions, 11 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --run --device --dependencies. +// This file is generated by cargo2android.py --config cargo2android.json. // Do not modify this file as changes will be overridden on upgrade. package { @@ -39,8 +39,11 @@ license { rust_library { name: "libitertools", + // has rustc warnings host_supported: true, crate_name: "itertools", + cargo_env_compat: true, + cargo_pkg_version: "0.10.1", srcs: ["src/lib.rs"], edition: "2018", features: [ @@ -52,6 +55,3 @@ rust_library { "libeither", ], } - -// dependent_library ["feature_list"] -// either-1.6.1 diff --git a/TEST_MAPPING b/TEST_MAPPING index 05c6d70..f6e148f 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -1,20 +1,27 @@ // Generated by update_crate_tests.py for tests that depend on this crate. { - "presubmit": [ + "imports": [ { - "name": "base64_device_test_tests_decode" + "path": "external/rust/crates/base64" }, { - "name": "base64_device_test_tests_encode" + "path": "external/rust/crates/tinytemplate" }, { - "name": "base64_device_test_tests_helpers" + "path": "external/rust/crates/tinyvec" }, { - "name": "unicode-xid_device_test_src_lib" - }, + "path": "external/rust/crates/unicode-xid" + } + ], + "presubmit": [ + { + "name": "apkdmverity.test" + } + ], + "presubmit-rust": [ { - "name": "unicode-xid_device_test_tests_exhaustive_tests" + "name": "apkdmverity.test" } ] } diff --git a/cargo2android.json b/cargo2android.json new file mode 100644 index 0000000..bf78496 --- /dev/null +++ b/cargo2android.json @@ -0,0 +1,4 @@ +{ + "device": true, + "run": true +}
\ No newline at end of file |