forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify config_setting visibility checking.
Make select() keys normal attribute -> configured target prerequisite dependencies. This automatically opts them into RuleContext.Builder's standard visibility checking. The main historic argument against this is interference with "manual trimming". But that's an on-ice feature that needs fundamental reevaluation and shouldn't block other code in the meantime. This is a simplified alternative to bazelbuild#12877, for bazelbuild#12669. PiperOrigin-RevId: 354326088 Change-Id: Ifaafc563f22d401599540ead70e49db6a86a1995
- Loading branch information
1 parent
e234033
commit adc887a
Showing
3 changed files
with
11 additions
and
26 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
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