| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |