-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a major restructuring of the content in visibility.md. - Make two main headings: target visibility and bzl visibility. The latter remains a stub, to be filled in by a different CL. - Eliminate the best practices section, moving those bullet points inline into the relevant sections (called out as "Best practices:"). - Move more discussion/concepts to the top, before we get into visibility specifications. - Move obscure detail about package_group into its own stub section. While tiny, this parallels the distinction between rule targets, file targets, and package groups as the three main kinds of targets. - Turn warning about a cyclic dep error a formatted "Note:" callout. - Moved config setting into its own section, since it's a legacy edge case and not really relevant to rule targets in general. - Rephrased the sections on source file targets, config settings, and implicit deps, in an attempt to be clearer and more direct. I'm not in love with the examples on this page, but didn't attempt to touch them in this CL. The diff's already big enough for sure. Work toward #11261. PiperOrigin-RevId: 482890214 Change-Id: I5b0c7454228ff457319aeed04465af982132106b
- Loading branch information
1 parent
9d98d7f
commit 95ec95b
Showing
2 changed files
with
124 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters