aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-11-29 14:04:36 -0800
committerJoel Galenson <jgalenson@google.com>2021-12-10 15:33:07 -0800
commitecb93d4b858535bf62bde528bb1a1e9fbb7879ee (patch)
tree25eee8c8df8b41456966fdaf820f4cde502f5bfc
parent08abd458c3bdde737c01e6618bd8d41399ecdc85 (diff)
downloadpaste-ecb93d4b858535bf62bde528bb1a1e9fbb7879ee.tar.gz
Refresh Android.bp, cargo2android.json, TEST_MAPPING.
Test: None Change-Id: I2a3ae80842a92541676fcc5f4cd25c497d22ecab
-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