aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-17 02:46:23 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-17 02:46:23 +0000
commit00a4d008370170ae24cc71fc6a293e8000854742 (patch)
tree5ba8f4e7cb27e5079549df0c552ceda186a0f538
parent827b675a8ce22a3a9b31d701064821907dab491a (diff)
parent74b42a9432b4335dafff9f6d1a76d6a6176882be (diff)
downloadno-panic-android13-frc-documentsui-release.tar.gz
Snap for 8192738 from 74b42a9432b4335dafff9f6d1a76d6a6176882be to tm-frc-documentsui-releaset_frc_doc_330543000t_frc_doc_330443060t_frc_doc_330443000android13-frc-documentsui-release
Change-Id: I663a9ed0a47488f16d2d1130335cce75104b3ffe
-rw-r--r--Android.bp11
-rw-r--r--TEST_MAPPING6
-rw-r--r--cargo2android.json4
3 files changed, 11 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index 0ce190f..f56a6fd 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,5 @@
-// This file is generated by cargo2android.py --run --dependencies --host-first-multilib.
+// 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_no-panic_license"],
@@ -39,6 +40,8 @@ license {
rust_proc_macro {
name: "libno_panic",
crate_name: "no_panic",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.1.15",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
@@ -48,9 +51,3 @@ rust_proc_macro {
],
compile_multilib: "first",
}
-
-// dependent_library ["feature_list"]
-// proc-macro2-1.0.24 "default,proc-macro"
-// quote-1.0.8 "default,proc-macro"
-// syn-1.0.60 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote"
-// unicode-xid-0.2.1 "default"
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 20d68b6..d863df5 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -1,8 +1,8 @@
-// Generated by cargo2android.py for tests that depend on this crate.
+// Generated by update_crate_tests.py for tests that depend on this crate.
{
- "presubmit": [
+ "imports": [
{
- "name": "libm_device_test_src_lib"
+ "path": "external/rust/crates/libm"
}
]
}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..bb77633
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,4 @@
+{
+ "host-first-multilib": true,
+ "run": true
+} \ No newline at end of file