Chromium Code Reviews
DescriptionGN: Propagate top-level host_toolchain through to all toolchains
The logic to choose host_toolchain depends on variables like
is_clang that might be overridden in toolchain_args() as well as
set as a build argument by the user. Only the top-level build
arguments should affect the host_toolchain value, not anything
set in some toolchain's toolchain_args() block. To achieve this,
set host_toolchain once at top level and then make each toolchain
propagate that value down in its toolchain_args() block.
BUG=512869
R=dpranke@chromium.org
Committed: https://crrev.com/e393ea6912a747e8c340fc5a53f2be45028d70c1
Cr-Commit-Position: refs/heads/master@{#362758}
Patch Set 1 #Patch Set 2 : tweak assert for windows x86 kludge #
Total comments: 1
Patch Set 3 : fix assert #
Total comments: 2
Patch Set 4 : drop assert, add TODO #Patch Set 5 : restore kludge for android case #
Messages
Total messages: 27 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||