summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2019-05-17 22:42:02 +0100
committer Martin Stjernholm <mast@google.com> 2019-05-24 16:33:50 +0100
commit226b20dc15457271a8174bc1c9d474e8435e3b68 (patch)
tree75fbe601fc820e0a749785364b11dd1d88d0751f /java/java_test.go
parentacce05a58cfbd7185cd3780a0ce82ef722696a9b (diff)
Allow //visibility:public to override other visibility rules.
However only allow it when they are merged from different defaults. Extend the tests to cover that and other cases with visibilities in defaults. Also avoid dumping the whole visibility spec in the error message when a visibility check fails, because it gets noisy for long visibility lists, and can be confusing when //visibility:public gets merged with other visibility rules. Test: Soong self test Bug: 112158820 Bug: 130796911 Change-Id: I242513975a3f824b9ea2eab5b94b194b9af2481b
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions