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

Unified Diff: build/common.gypi

Issue 102903005: Add a flag to force disable libstdc++ debug mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index f7404734805799f3589577bdf53def62f1d0aee9..73a1b81bd3134b52a0ffe81f44e31d96f627e3e4 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1251,6 +1251,9 @@
# Do not use it by default.
'icu_use_data_file_flag%': 0,
+ # Force disable libstdc++ debug mode.
+ 'disable_glibcxx_debug%': 0,
+
'conditions': [
# The version of GCC in use, set later in platforms that use GCC and have
# not explicitly chosen to build with clang. Currently, this means all
@@ -2742,7 +2745,7 @@
}],
],
}],
- ['OS=="linux" and target_arch!="ia32"', {
+ ['OS=="linux" and target_arch!="ia32" and disable_glibcxx_debug==0', {
# Enable libstdc++ debugging facilities to help catch problems
# early, see http://crbug.com/65151 .
# TODO(phajdan.jr): Should we enable this for all of POSIX?
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698