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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/sanitizers/sanitizers.gni ('k') | build/toolchain/nacl_toolchain.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/gcc_toolchain.gni
diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni
index f38b5a3bfd50ef2fc47581e3dd9a826ecd3ddc82..c16b20ff0f64c8e16387f44dc041ffcb649704f1 100644
--- a/build/toolchain/gcc_toolchain.gni
+++ b/build/toolchain/gcc_toolchain.gni
@@ -429,16 +429,15 @@ template("gcc_toolchain") {
use_gold = invoker.use_gold
}
- if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) {
- is_asan = false
- is_cfi = false
- is_lsan = false
- is_msan = false
- is_syzyasan = false
- is_tsan = false
- is_ubsan = false
- is_ubsan_vptr = false
- }
+ # Disable sanitizers for non-default toolchains.
+ is_asan = false
+ is_cfi = false
+ is_lsan = false
+ is_msan = false
+ is_syzyasan = false
+ is_tsan = false
+ is_ubsan = false
+ is_ubsan_vptr = false
}
forward_variables_from(invoker, [ "deps" ])
« 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