Skip to content
  • Martin Stjernholm's avatar
    Allow //visibility:public to override other visibility rules. · 226b20dc
    Martin Stjernholm authored
    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
    226b20dc
Loading