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

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

Issue 2028383006: Add GN configs for -fsanitizer=null. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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/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
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
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 }
OLDNEW
« build/config/sanitizers/BUILD.gn ('K') | « build/config/sanitizers/sanitizers.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698