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/cc_wrapper.gni") | 7 import("//build/toolchain/cc_wrapper.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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 # These values need to be passed through unchanged. | 399 # These values need to be passed through unchanged. |
400 host_toolchain = host_toolchain | 400 host_toolchain = host_toolchain |
401 target_os = target_os | 401 target_os = target_os |
402 target_cpu = target_cpu | 402 target_cpu = target_cpu |
403 | 403 |
404 forward_variables_from(invoker, | 404 forward_variables_from(invoker, |
405 [ | 405 [ |
406 "is_clang", | 406 "is_clang", |
407 "is_component_build", | 407 "is_component_build", |
408 "is_nacl_glibc", | 408 "is_nacl_glibc", |
| 409 "use_allocator", |
409 "use_gold", | 410 "use_gold", |
410 "symbol_level", | 411 "symbol_level", |
411 ]) | 412 ]) |
412 | 413 |
413 if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) { | 414 if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) { |
414 is_asan = false | 415 is_asan = false |
415 is_cfi = false | 416 is_cfi = false |
416 is_lsan = false | 417 is_lsan = false |
417 is_msan = false | 418 is_msan = false |
418 is_syzyasan = false | 419 is_syzyasan = false |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 nm = "${toolprefix}nm" | 458 nm = "${toolprefix}nm" |
458 | 459 |
459 forward_variables_from(invoker, | 460 forward_variables_from(invoker, |
460 [ | 461 [ |
461 "toolchain_cpu", | 462 "toolchain_cpu", |
462 "toolchain_os", | 463 "toolchain_os", |
463 "use_gold", | 464 "use_gold", |
464 ]) | 465 ]) |
465 } | 466 } |
466 } | 467 } |
OLD | NEW |