diff options
| author | Ivan Lozano <ivanlozano@google.com> | 2020-06-13 03:13:29 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-06-13 03:13:29 +0000 |
| commit | f44ce04041d2829097c243b16c2e9bfd16951ef9 (patch) | |
| tree | 15499a907c04c8b754b99b9cd5918e6e2b0f68ec | |
| parent | b43537e55b0ade10c08c065070d3506deb9d5ada (diff) | |
| parent | 42f2c6cf6ec5acfb7bdea2380b4abf7b8b81806d (diff) | |
| download | platform_external_rust_crates_proc-macro2-f44ce04041d2829097c243b16c2e9bfd16951ef9.tar.gz platform_external_rust_crates_proc-macro2-f44ce04041d2829097c243b16c2e9bfd16951ef9.tar.bz2 platform_external_rust_crates_proc-macro2-f44ce04041d2829097c243b16c2e9bfd16951ef9.zip | |
Update Android.bp files to not use test_per_src. am: 962d301f33 am: dcdac7a895 am: bead7f72b2 am: 42f2c6cf6e
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/proc-macro2/+/1331833
Change-Id: I384fa4c10537f5869516f329b4e6f56bef96013b
| -rw-r--r-- | Android.bp | 40 |
1 files changed, 33 insertions, 7 deletions
@@ -19,15 +19,9 @@ rust_library_host_rlib { compile_multilib: "first", // added } -rust_test_host { +rust_defaults { name: "proc-macro2_tests", crate_name: "proc_macro2", - srcs: [ - "tests/comments.rs", - "tests/features.rs", - "tests/marker.rs", - "tests/test.rs", - ], test_suites: ["general-tests"], auto_gen_config: true, edition: "2018", @@ -47,6 +41,38 @@ rust_test_host { } rust_test_host { + name: "proc-macro2_tests_comments", + defaults: ["proc-macro2_tests"], + srcs: [ + "tests/comments.rs", + ], +} + +rust_test_host { + name: "proc-macro2_tests_features", + defaults: ["proc-macro2_tests"], + srcs: [ + "tests/features.rs", + ], +} + +rust_test_host { + name: "proc-macro2_tests_marker", + defaults: ["proc-macro2_tests"], + srcs: [ + "tests/marker.rs", + ], +} + +rust_test_host { + name: "proc-macro2_tests_test", + defaults: ["proc-macro2_tests"], + srcs: [ + "tests/test.rs", + ], +} + +rust_test_host { name: "proc-macro2_tests_proc_macro2", crate_name: "proc_macro2", srcs: ["src/lib.rs"], |
