diff options
author | Roland Levillain <rpl@google.com> | 2019-06-28 15:41:19 +0100 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2019-07-19 14:15:06 +0100 |
commit | 9b5fde9ca4ac10a7ba51a6d3b4f458cbc089a6ab (patch) | |
tree | 76b45ef682fda4c6d31142d3af1ac72e47f5962d /java/java_test.go | |
parent | f2fad971583db4f4d3e164b63b584c342eea0ed3 (diff) |
Handle `test_per_src` test variations as dependencies of APEX modules.
If a test module with a `test_per_src` property set to `true` is
included in an APEX module, add all the variants for mutator
`test_per_src` as dependencies of the APEX module (not just the
first one).
This is done by adding variation "" of mutator `test_per_src` when
adding a test dependency to an APEX module, which creates an indirect
dependency of the APEX module on all the `test_per_src` variants of
the test module. When generating outputs for the APEX bundle, fetch
and include the set of test outputs from the "" variant.
Test: m (`apex/apex_test.go` amended)
Bug: 129534335
Change-Id: I1c99855971a8a9b2fc5b964a420e882b6791d4e6
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions