Skip to content

Commit

Permalink
Add mention of package_group's own visibility
Browse files Browse the repository at this point in the history
Follow-up to #8982.

RELNOTES: None
PiperOrigin-RevId: 311500526
  • Loading branch information
brandjon authored and copybara-github committed May 14, 2020
1 parent 762c27d commit 13934f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions site/docs/visibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ For example, if `//some/package:mytarget` has its `visibility` set to
that is part of the `//some/package/...` source tree, as well as targets defined
in `//tests/BUILD`, but not by targets defined in `//tests/integration/BUILD`.

As a special case, `package_group` targets themselves do not have a `visibility`
attribute; they are always publicly visible.

## Visibility of a rule target

If a rule target does not set the `visibility` attribute, its visibility is
Expand Down

0 comments on commit 13934f0

Please sign in to comment.