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

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

Issue 1979973002: Correctly set -stdlib=libc++ when building with a custom libc++. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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') | build/toolchain/nacl_toolchain.gni » ('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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 if (defined(invoker.symbol_level)) { 422 if (defined(invoker.symbol_level)) {
423 symbol_level = invoker.symbol_level 423 symbol_level = invoker.symbol_level
424 } 424 }
425 if (defined(invoker.use_allocator)) { 425 if (defined(invoker.use_allocator)) {
426 use_allocator = invoker.use_allocator 426 use_allocator = invoker.use_allocator
427 } 427 }
428 if (defined(invoker.use_gold)) { 428 if (defined(invoker.use_gold)) {
429 use_gold = invoker.use_gold 429 use_gold = invoker.use_gold
430 } 430 }
431 431
432 if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) { 432 # Disable sanitizers for non-default toolchains.
433 is_asan = false 433 is_asan = false
434 is_cfi = false 434 is_cfi = false
435 is_lsan = false 435 is_lsan = false
436 is_msan = false 436 is_msan = false
437 is_syzyasan = false 437 is_syzyasan = false
438 is_tsan = false 438 is_tsan = false
439 is_ubsan = false 439 is_ubsan = false
440 is_ubsan_vptr = false 440 is_ubsan_vptr = false
441 }
442 } 441 }
443 442
444 forward_variables_from(invoker, [ "deps" ]) 443 forward_variables_from(invoker, [ "deps" ])
445 } 444 }
446 } 445 }
447 446
448 # This is a shorthand for gcc_toolchain instances based on the 447 # This is a shorthand for gcc_toolchain instances based on the
449 # Chromium-built version of Clang. Only the toolchain_cpu and 448 # Chromium-built version of Clang. Only the toolchain_cpu and
450 # toolchain_os variables need to be specified by the invoker, and 449 # toolchain_os variables need to be specified by the invoker, and
451 # optionally toolprefix if it's a cross-compile case. Note that for 450 # optionally toolprefix if it's a cross-compile case. Note that for
(...skipping 25 matching lines...) Expand all
477 476
478 forward_variables_from(invoker, 477 forward_variables_from(invoker,
479 [ 478 [
480 "toolchain_cpu", 479 "toolchain_cpu",
481 "toolchain_os", 480 "toolchain_os",
482 "use_gold", 481 "use_gold",
483 "strip", 482 "strip",
484 ]) 483 ])
485 } 484 }
486 } 485 }
OLDNEW
« no previous file with comments | « build/config/sanitizers/sanitizers.gni ('k') | build/toolchain/nacl_toolchain.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698