aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-25 12:32:53 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-25 12:32:53 +0000
commitdadfc3ca910dcb76de63f60f7015fa13ee60ea76 (patch)
treea4ad33c12767c537e62c002f4b808f2535f25734
parent8ddcbac5b5ea53230074cd0a1b95ef4524256995 (diff)
parent74964b0515435c8c33cf768125530156fb271a5d (diff)
downloadremain-android13-mainline-go-media-release.tar.gz
Snap for 8358640 from 74964b0515435c8c33cf768125530156fb271a5d to mainline-go-media-releaseaml_go_med_330913000android13-mainline-go-media-release
Change-Id: I3439e1d8ffea472574e9f2ba14568ba3765ca0a1
-rw-r--r--Android.bp11
-rw-r--r--TEST_MAPPING31
-rw-r--r--cargo2android.json3
3 files changed, 38 insertions, 7 deletions
diff --git a/Android.bp b/Android.bp
index 9ad1f08..fe3e3a5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,5 @@
-// 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 {
default_applicable_licenses: ["external_rust_crates_remain_license"],
@@ -39,6 +40,8 @@ license {
rust_proc_macro {
name: "libremain",
crate_name: "remain",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.2.2",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
@@ -47,9 +50,3 @@ rust_proc_macro {
"libsyn",
],
}
-
-// dependent_library ["feature_list"]
-// proc-macro2-1.0.18 "default,proc-macro"
-// quote-1.0.7 "default,proc-macro"
-// syn-1.0.33 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote,visit,visit-mut"
-// unicode-xid-0.2.1 "default"
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..129fb3b
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,31 @@
+// Generated by update_crate_tests.py for tests that depend on this crate.
+{
+ "presubmit": [
+ {
+ "name": "ZipFuseTest"
+ },
+ {
+ "name": "apkdmverity.test"
+ },
+ {
+ "name": "authfs_device_test_src_lib"
+ },
+ {
+ "name": "virtualizationservice_device_test"
+ }
+ ],
+ "presubmit-rust": [
+ {
+ "name": "ZipFuseTest"
+ },
+ {
+ "name": "apkdmverity.test"
+ },
+ {
+ "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