diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-12-16 02:06:36 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-12-16 02:06:36 +0000 |
commit | b5ab02fe634e45b7496a52bab888f68c7eb3382d (patch) | |
tree | fd03f94c918973c95c752e8f728ce1ea606ae9f2 | |
parent | bd3febc4d13a926b4f67c84048148489a8354873 (diff) | |
parent | 32788e5840f00e9548519978bf065fb53fb78760 (diff) | |
download | syn-mid-android13-d1-release.tar.gz |
Snap for 8006021 from 32788e5840f00e9548519978bf065fb53fb78760 to tm-d1-releaseandroid-13.0.0_r9android-13.0.0_r15android-13.0.0_r14android-13.0.0_r13android-13.0.0_r11android-13.0.0_r10android13-d1-s3-releaseandroid13-d1-s2-releaseandroid13-d1-s1-releaseandroid13-d1-release
Change-Id: I13f3860af029fdfa8037e8a1ac9074df62209760
-rw-r--r-- | Android.bp | 25 | ||||
-rw-r--r-- | cargo2android.json | 5 |
2 files changed, 9 insertions, 21 deletions
@@ -1,4 +1,5 @@ -// This file is generated by cargo2android.py --run --tests --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_syn-mid_license"], @@ -39,6 +40,8 @@ license { rust_library_host { name: "libsyn_mid", crate_name: "syn_mid", + cargo_env_compat: true, + cargo_pkg_version: "0.5.3", srcs: ["src/lib.rs"], edition: "2018", rustlibs: [ @@ -48,23 +51,3 @@ rust_library_host { ], compile_multilib: "first", } - -rust_test_host { - name: "syn-mid_host_test_src_lib", - crate_name: "syn_mid", - srcs: ["src/lib.rs"], - test_suites: ["general-tests"], - auto_gen_config: true, - edition: "2018", - rustlibs: [ - "libproc_macro2", - "libquote", - "libsyn", - ], -} - -// dependent_library ["feature_list"] -// proc-macro2-1.0.24 -// quote-1.0.8 -// syn-1.0.58 "derive,parsing,printing,quote" -// unicode-xid-0.2.1 "default" diff --git a/cargo2android.json b/cargo2android.json new file mode 100644 index 0000000..b360f74 --- /dev/null +++ b/cargo2android.json @@ -0,0 +1,5 @@ +{ + "host-first-multilib": true, + "run": true, + "tests": true +}
\ No newline at end of file |