diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-23 22:51:27 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-23 22:51:27 +0000 |
commit | 1d490e7ffcfbc6d05de9cd4ae4252480f43ef163 (patch) | |
tree | ef05221c0f24e4068adb5d1d41186ff2473b277b | |
parent | 690b0e7c80fd14839381c81514dc4cce2db81f94 (diff) | |
parent | c82b508c1f71f9d2ffdb5a68405eb1db20eae940 (diff) | |
download | proc-macro-error-attr-1d490e7ffcfbc6d05de9cd4ae4252480f43ef163.tar.gz |
Snap for 8347268 from c82b508c1f71f9d2ffdb5a68405eb1db20eae940 to mainline-go-cellbroadcast-release
Change-Id: Id225d9a345751cf5b35b49fab40006437a06e7f4
-rw-r--r-- | Android.bp | 24 | ||||
-rw-r--r-- | TEST_MAPPING | 18 | ||||
-rw-r--r-- | cargo2android.json | 5 |
3 files changed, 20 insertions, 27 deletions
@@ -1,5 +1,4 @@ -// This file is generated by cargo2android.py --config cargo2android.json. -// Do not modify this file as changes will be overridden on upgrade. +// This file is generated by cargo2android.py --run --dependencies --host-first-multilib --tests. package { default_applicable_licenses: [ @@ -42,8 +41,6 @@ license { rust_proc_macro { name: "libproc_macro_error_attr", crate_name: "proc_macro_error_attr", - cargo_env_compat: true, - cargo_pkg_version: "1.0.4", srcs: ["src/lib.rs"], edition: "2018", rustlibs: [ @@ -52,3 +49,22 @@ rust_proc_macro { ], compile_multilib: "first", } + +rust_test_host { + name: "proc-macro-error-attr_host_test_src_lib", + crate_name: "proc_macro_error_attr", + srcs: ["src/lib.rs"], + test_suites: ["general-tests"], + auto_gen_config: true, + edition: "2018", + rustlibs: [ + "libproc_macro2", + "libquote", + ], +} + +// dependent_library ["feature_list"] +// proc-macro2-1.0.23 "default,proc-macro" +// quote-1.0.7 "default,proc-macro" +// unicode-xid-0.2.1 "default" +// version_check-0.9.2 diff --git a/TEST_MAPPING b/TEST_MAPPING deleted file mode 100644 index 8029a19..0000000 --- a/TEST_MAPPING +++ /dev/null @@ -1,18 +0,0 @@ -// Generated by update_crate_tests.py for tests that depend on this crate. -{ - "imports": [ - { - "path": "external/rust/crates/base64" - } - ], - "presubmit": [ - { - "name": "authfs_device_test_src_lib" - } - ], - "presubmit-rust": [ - { - "name": "authfs_device_test_src_lib" - } - ] -} diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index b360f74..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "host-first-multilib": true, - "run": true, - "tests": true -}
\ No newline at end of file |