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

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

Issue 2031903002: Update GN files w/ changes needed to make sanitizers work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move buildconfig changes to build/config 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
« no previous file with comments | « build/config/sanitizers/sanitizers.gni ('k') | third_party/instrumented_libraries/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_null = false
486 is_ubsan_no_recover = false
487 is_ubsan_security = false
486 is_ubsan_vptr = false 488 is_ubsan_vptr = false
489 msan_track_origins = 0
490 sanitizer_coverage_flags = ""
491 use_cfi_diag = false
492 use_custom_libcxx = false
493 use_drfuzz = false
494 use_libfuzzer = false
495 use_prebuilt_instrumented_libraries = false
496 use_sanitizer_coverage = false
487 } 497 }
488 498
489 forward_variables_from(invoker, [ "deps" ]) 499 forward_variables_from(invoker, [ "deps" ])
490 } 500 }
491 } 501 }
492 502
493 # This is a shorthand for gcc_toolchain instances based on the 503 # This is a shorthand for gcc_toolchain instances based on the
494 # Chromium-built version of Clang. Only the toolchain_cpu and 504 # Chromium-built version of Clang. Only the toolchain_cpu and
495 # toolchain_os variables need to be specified by the invoker, and 505 # toolchain_os variables need to be specified by the invoker, and
496 # optionally toolprefix if it's a cross-compile case. Note that for 506 # optionally toolprefix if it's a cross-compile case. Note that for
(...skipping 29 matching lines...) Expand all
526 "toolchain_os", 536 "toolchain_os",
527 "use_gold", 537 "use_gold",
528 "strip", 538 "strip",
529 ]) 539 ])
530 540
531 if (defined(invoker.use_debug_fission)) { 541 if (defined(invoker.use_debug_fission)) {
532 use_debug_fission = invoker.use_debug_fission 542 use_debug_fission = invoker.use_debug_fission
533 } 543 }
534 } 544 }
535 } 545 }
OLDNEW
« no previous file with comments | « build/config/sanitizers/sanitizers.gni ('k') | third_party/instrumented_libraries/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698