From 0861eabef9b3cfe61fbef6577a5e854ac99a4a60 Mon Sep 17 00:00:00 2001 From: Joel Galenson Date: Mon, 29 Nov 2021 14:03:25 -0800 Subject: Refresh Android.bp, cargo2android.json, TEST_MAPPING. Test: None Change-Id: I7cfcb8056089f78861288b8ef1febf3a93c13faf --- Android.bp | 10 +++------- TEST_MAPPING | 13 +++++-------- cargo2android.json | 4 ++++ 3 files changed, 12 insertions(+), 15 deletions(-) create mode 100644 cargo2android.json diff --git a/Android.bp b/Android.bp index 710a437..b040e15 100644 --- a/Android.bp +++ b/Android.bp @@ -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 { @@ -46,6 +46,8 @@ rust_library { name: "libcrossbeam_channel", host_supported: true, crate_name: "crossbeam_channel", + cargo_env_compat: true, + cargo_pkg_version: "0.5.1", srcs: ["src/lib.rs"], edition: "2018", features: [ @@ -58,9 +60,3 @@ rust_library { "libcrossbeam_utils", ], } - -// dependent_library ["feature_list"] -// autocfg-1.0.1 -// cfg-if-1.0.0 -// crossbeam-utils-0.8.4 "lazy_static,std" -// lazy_static-1.4.0 diff --git a/TEST_MAPPING b/TEST_MAPPING index 05c6d70..3cbd48d 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -1,20 +1,17 @@ // 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" - }, - { - "name": "unicode-xid_device_test_tests_exhaustive_tests" + "path": "external/rust/crates/unicode-xid" } ] } 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 -- cgit v1.2.3