DescriptionGN: Don't define argument overrides globally
Previously, argument overrides (set via "gn args" or toolchain_args()) were
global, even though their default values (set inside declare_args()) were set
locally and thus only available to the file that set them, plus any file that
imported it.
Now, argument overrides are always applied locally, at the end of the
declare_args() block. This ensures that argument defaults and overrides
behave in the same way.
BUG=619963
Committed: https://crrev.com/5662a8082448584fd3d77f0dba03759b2163e8e5
Cr-Commit-Position: refs/heads/master@{#404746}
Patch Set 1 #Patch Set 2 : Support toolchain overrides and system vars #
Total comments: 2
Patch Set 3 : Address comments #
Messages
Total messages: 19 (8 generated)
|