| 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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 } | 475 } |
| 476 | 476 |
| 477 # Disable sanitizers for non-default toolchains. | 477 # Disable sanitizers for non-default toolchains. |
| 478 is_asan = false | 478 is_asan = false |
| 479 is_cfi = false | 479 is_cfi = false |
| 480 is_lsan = false | 480 is_lsan = false |
| 481 is_msan = false | 481 is_msan = false |
| 482 is_syzyasan = false | 482 is_syzyasan = false |
| 483 is_tsan = false | 483 is_tsan = false |
| 484 is_ubsan = false | 484 is_ubsan = false |
| 485 is_ubsan_null = false |
| 485 is_ubsan_vptr = false | 486 is_ubsan_vptr = false |
| 486 } | 487 } |
| 487 | 488 |
| 488 forward_variables_from(invoker, [ "deps" ]) | 489 forward_variables_from(invoker, [ "deps" ]) |
| 489 } | 490 } |
| 490 } | 491 } |
| 491 | 492 |
| 492 # This is a shorthand for gcc_toolchain instances based on the | 493 # This is a shorthand for gcc_toolchain instances based on the |
| 493 # Chromium-built version of Clang. Only the toolchain_cpu and | 494 # Chromium-built version of Clang. Only the toolchain_cpu and |
| 494 # toolchain_os variables need to be specified by the invoker, and | 495 # toolchain_os variables need to be specified by the invoker, and |
| (...skipping 30 matching lines...) Expand all Loading... |
| 525 "toolchain_os", | 526 "toolchain_os", |
| 526 "use_gold", | 527 "use_gold", |
| 527 "strip", | 528 "strip", |
| 528 ]) | 529 ]) |
| 529 | 530 |
| 530 if (defined(invoker.use_debug_fission)) { | 531 if (defined(invoker.use_debug_fission)) { |
| 531 use_debug_fission = invoker.use_debug_fission | 532 use_debug_fission = invoker.use_debug_fission |
| 532 } | 533 } |
| 533 } | 534 } |
| 534 } | 535 } |
| OLD | NEW |