Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: build/toolchain/mac/BUILD.gn

Issue 2229063002: Remove GN forwarding of the target variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@args_impl
Patch Set: fixes Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/toolchain/gcc_toolchain.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/mac/BUILD.gn
diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn
index 6930916f2f994caa55878884cf0ffca607633168..44cf56d4a9b74928bab5471eb321fb35c1da273f 100644
--- a/build/toolchain/mac/BUILD.gn
+++ b/build/toolchain/mac/BUILD.gn
@@ -73,14 +73,11 @@ template("mac_toolchain") {
# Populate toolchain args from the invoker.
forward_variables_from(invoker.toolchain_args, "*")
- # These values need to be passed through unchanged to all secondary
- # toolchains. BUILDCONFIG.gn sets some defaults based on the values of
- # the operating system and compiler, and we want to force the values to
- # be consistent if re-running the computation in another context leads
- # to different defaults.
+ # The host toolchain value computed by the default toolchain's setup
+ # needs to be passed through unchanged to all secondary toolchains to
+ # ensure that it's always the same, regardless of the values that may be
+ # set on those toolchains.
host_toolchain = host_toolchain
- target_os = target_os
- target_cpu = target_cpu
}
# When the invoker has explicitly overridden use_goma or cc_wrapper in the
« no previous file with comments | « build/toolchain/gcc_toolchain.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698