aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-12-15 16:02:07 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-12-15 16:02:07 +0000
commitf58679b0c4df7adc08fd92572f46a8199d26f1e3 (patch)
tree25eee8c8df8b41456966fdaf820f4cde502f5bfc
parent7ca9d439f68dd4f813b134f92d6a59eac2a4a5a5 (diff)
parent9a295d862978e3d29072fc3171ca28ff3f909c5d (diff)
downloadpaste-f58679b0c4df7adc08fd92572f46a8199d26f1e3.tar.gz
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: 9a295d8629
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/paste/+/1912656 Change-Id: Ia317b107b928da5d7559d3f9b4660b6529b41d36
-rw-r--r--Android.bp4
-rw-r--r--TEST_MAPPING15
-rw-r--r--cargo2android.json3
3 files changed, 20 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 1c0a8b7..0d0a1a4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --dependencies.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -40,6 +40,8 @@ license {
rust_proc_macro {
name: "libpaste",
crate_name: "paste",
+ cargo_env_compat: true,
+ cargo_pkg_version: "1.0.5",
srcs: ["src/lib.rs"],
edition: "2018",
}
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 5f77ae8..162f83f 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -1,5 +1,10 @@
// Generated by update_crate_tests.py for tests that depend on this crate.
{
+ "imports": [
+ {
+ "path": "external/rust/crates/gdbstub_arch"
+ }
+ ],
"presubmit": [
{
"name": "ZipFuseTest"
@@ -8,7 +13,15 @@
"name": "authfs_device_test_src_lib"
},
{
- "name": "gdbstub_arch_device_test_src_lib"
+ "name": "virtualizationservice_device_test"
+ }
+ ],
+ "presubmit-rust": [
+ {
+ "name": "ZipFuseTest"
+ },
+ {
+ "name": "authfs_device_test_src_lib"
},
{
"name": "virtualizationservice_device_test"
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..958632b
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,3 @@
+{
+ "run": true
+} \ No newline at end of file