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
commit9a295d862978e3d29072fc3171ca28ff3f909c5d (patch)
tree25eee8c8df8b41456966fdaf820f4cde502f5bfc
parent7ca9d439f68dd4f813b134f92d6a59eac2a4a5a5 (diff)
parentecb93d4b858535bf62bde528bb1a1e9fbb7879ee (diff)
downloadpaste-9a295d862978e3d29072fc3171ca28ff3f909c5d.tar.gz
-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