| 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_no_recover = false |
| 486 is_ubsan_security = false |
| 485 is_ubsan_vptr = false | 487 is_ubsan_vptr = false |
| 488 msan_track_origins = 0 |
| 489 sanitizer_coverage_flags = "" |
| 490 use_cfi_diag = false |
| 491 use_custom_libcxx = false |
| 492 use_drfuzz = false |
| 493 use_libfuzzer = false |
| 494 use_prebuilt_instrumented_libraries = false |
| 495 use_sanitizer_coverage = false |
| 486 } | 496 } |
| 487 | 497 |
| 488 forward_variables_from(invoker, [ "deps" ]) | 498 forward_variables_from(invoker, [ "deps" ]) |
| 489 } | 499 } |
| 490 } | 500 } |
| 491 | 501 |
| 492 # This is a shorthand for gcc_toolchain instances based on the | 502 # This is a shorthand for gcc_toolchain instances based on the |
| 493 # Chromium-built version of Clang. Only the toolchain_cpu and | 503 # Chromium-built version of Clang. Only the toolchain_cpu and |
| 494 # toolchain_os variables need to be specified by the invoker, and | 504 # toolchain_os variables need to be specified by the invoker, and |
| 495 # optionally toolprefix if it's a cross-compile case. Note that for | 505 # optionally toolprefix if it's a cross-compile case. Note that for |
| (...skipping 29 matching lines...) Expand all Loading... |
| 525 "toolchain_os", | 535 "toolchain_os", |
| 526 "use_gold", | 536 "use_gold", |
| 527 "strip", | 537 "strip", |
| 528 ]) | 538 ]) |
| 529 | 539 |
| 530 if (defined(invoker.use_debug_fission)) { | 540 if (defined(invoker.use_debug_fission)) { |
| 531 use_debug_fission = invoker.use_debug_fission | 541 use_debug_fission = invoker.use_debug_fission |
| 532 } | 542 } |
| 533 } | 543 } |
| 534 } | 544 } |
| OLD | NEW |