aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:22:31 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:22:31 +0000
commit9e52cb21b8c98f2f359a769bc22a27be469fdc90 (patch)
treea4ad33c12767c537e62c002f4b808f2535f25734
parenta77f0ca947a2231cd7ba09db2f7ae8c24d819ec6 (diff)
parent74964b0515435c8c33cf768125530156fb271a5d (diff)
downloadremain-android13-mainline-os-statsd-release.tar.gz
Change-Id: I2277e6fcc7556cd1a8fe67a538ee09d10d071811
-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