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

Side by Side Diff: build/toolchain/gcc_toolchain.gni

Issue 1467413005: GN: Propagate top-level host_toolchain through to all toolchains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix assert Created 5 years 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/nacl/config.gni") 5 import("//build/config/nacl/config.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/toolchain/ccache.gni") 7 import("//build/toolchain/ccache.gni")
8 import("//build/toolchain/goma.gni") 8 import("//build/toolchain/goma.gni")
9 import("//build/toolchain/toolchain.gni") 9 import("//build/toolchain/toolchain.gni")
10 10
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 description = copy_description 380 description = copy_description
381 } 381 }
382 382
383 # When invoking this toolchain not as the default one, these args will be 383 # When invoking this toolchain not as the default one, these args will be
384 # passed to the build. They are ignored when this is the default toolchain. 384 # passed to the build. They are ignored when this is the default toolchain.
385 toolchain_args() { 385 toolchain_args() {
386 current_cpu = invoker.toolchain_cpu 386 current_cpu = invoker.toolchain_cpu
387 current_os = invoker.toolchain_os 387 current_os = invoker.toolchain_os
388 388
389 # These values need to be passed through unchanged. 389 # These values need to be passed through unchanged.
390 host_toolchain = host_toolchain
390 target_os = target_os 391 target_os = target_os
391 target_cpu = target_cpu 392 target_cpu = target_cpu
392 393
393 forward_variables_from(invoker, 394 forward_variables_from(invoker,
394 [ 395 [
395 "is_clang", 396 "is_clang",
396 "is_component_build", 397 "is_component_build",
397 "is_nacl_glibc", 398 "is_nacl_glibc",
398 "use_gold", 399 "use_gold",
399 "symbol_level", 400 "symbol_level",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 nm = "${toolprefix}nm" 447 nm = "${toolprefix}nm"
447 448
448 forward_variables_from(invoker, 449 forward_variables_from(invoker,
449 [ 450 [
450 "toolchain_cpu", 451 "toolchain_cpu",
451 "toolchain_os", 452 "toolchain_os",
452 "use_gold", 453 "use_gold",
453 ]) 454 ])
454 } 455 }
455 } 456 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698