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.
bazel packages: prep for AttributeContainer optimization
Details: - RuleFactory: - don't plumb AttributeContainer through create{RuleUnchecked,AndAddRule}. - avoid overloading of createAndAddRule. - inline and simplify setRuleAttributeValue (only one of two callers wants 'visibility' logic) - inline and simplify getAttributeNoncomputedDefaultValue (check both name and type like we do for licenses) - AttributeContainer: - inline setAttributeValueByName into sole use (for $implicit_test). - add TODO comments. - make isAttributeValueExplicitlySpecified private PiperOrigin-RevId: 318841494
- Loading branch information
1 parent
f252671
commit 920b093
Showing
12 changed files
with
133 additions
and
193 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
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
Oops, something went wrong.