diff options
author | Chih-Hung Hsieh <chh@google.com> | 2020-07-16 16:27:47 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2020-07-16 16:33:31 -0700 |
commit | f9dadd41ff646d10e372ba4b993fe5979e3ca1a0 (patch) | |
tree | e53d777a5722b1c8f2378fcf93b8efbbb739f78f /Android.bp | |
parent | b69fecd4a1853d75ed455a17516c4db82ef5ad14 (diff) | |
download | thread_local-f9dadd41ff646d10e372ba4b993fe5979e3ca1a0.tar.gz |
Add rust_test and update TEST_MAPPING
Test: atest -c --include-subdirs external/rust/crates
Change-Id: I3666fe3a0209e58b71604599a3e29a87614d1777
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --run --dependencies. +// This file is generated by cargo2android.py --run --dependencies --tests. rust_library_host { name: "libthread_local", @@ -10,5 +10,17 @@ rust_library_host { ], } +rust_test_host { + name: "thread_local_host_test_src_lib", + crate_name: "thread_local", + srcs: ["src/lib.rs"], + test_suites: ["general-tests"], + auto_gen_config: true, + edition: "2015", + rustlibs: [ + "liblazy_static", + ], +} + // dependent_library ["feature_list"] // lazy_static-1.4.0 |