-
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.
Trim input build settings after transition
By convention, BuildOptions should not contain Starlark build settings that are set to their default values. However, if a Starlark transition has a build setting as an input, the value of that setting has to be added to the input BuildOptions temporarily so that it can be read by the transition. Before this commit, if a build setting was an input but not an output of a transition, its default value remained in the BuildOptions and could cause action conflicts. With this commit, all build settings rather than only output build settings are trimmed post-transition if they are set to their default value. Fixes #12888. Closes #13971. PiperOrigin-RevId: 399532377
- Loading branch information
1 parent
2f63e92
commit 5e57e84
Showing
2 changed files
with
166 additions
and
2 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