aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-12-15 15:28:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-12-15 15:28:00 +0000
commit935e163a3fc9f9372e11b80d67d46487dda8710a (patch)
treee091c9a97d6073bb88e2a8cf89de7e13be8137df
parentc994c7edfc18b4aafb0a2261c0f00775ecbd00f3 (diff)
parent2416a11c8225cc00bee159a0a850a7406f63b76e (diff)
downloadwalkdir-935e163a3fc9f9372e11b80d67d46487dda8710a.tar.gz
-rw-r--r--Android.bp7
-rw-r--r--TEST_MAPPING12
-rw-r--r--cargo2android.json4
3 files changed, 13 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index 9ea5995..9b0078c 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 {
@@ -41,12 +41,11 @@ rust_library {
name: "libwalkdir",
host_supported: true,
crate_name: "walkdir",
+ cargo_env_compat: true,
+ cargo_pkg_version: "2.3.2",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
"libsame_file",
],
}
-
-// dependent_library ["feature_list"]
-// same-file-1.0.6
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 05c6d70..87ecd5c 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -1,20 +1,20 @@
// 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/bitflags"
},
{
- "name": "base64_device_test_tests_helpers"
+ "path": "external/rust/crates/tinytemplate"
},
{
- "name": "unicode-xid_device_test_src_lib"
+ "path": "external/rust/crates/tinyvec"
},
{
- "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