Commit 93b37350 authored by tzik@chromium.org's avatar tzik@chromium.org

Add _GLIBCXX_DEBUG compilation mode.


BUG=86880
TEST=None


Review URL: http://codereview.chromium.org/7664007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97001 0039d316-1c4b-4281-b951-d872f2087c98
parent 8eb6a618
...@@ -422,6 +422,9 @@ ...@@ -422,6 +422,9 @@
# See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html
'profiling%': '0', 'profiling%': '0',
# Enable strict glibc debug mode.
'glibcxx_debug%': 0,
# Override whether we should use Breakpad on Linux. I.e. for Chrome bot. # Override whether we should use Breakpad on Linux. I.e. for Chrome bot.
'linux_breakpad%': 0, 'linux_breakpad%': 0,
# And if we want to dump symbols for Breakpad-enabled builds. # And if we want to dump symbols for Breakpad-enabled builds.
...@@ -785,6 +788,11 @@ ...@@ -785,6 +788,11 @@
['profiling==1', { ['profiling==1', {
'defines': ['ENABLE_PROFILING=1'], 'defines': ['ENABLE_PROFILING=1'],
}], }],
['OS=="linux" and glibcxx_debug==1', {
'defines': ['_GLIBCXX_DEBUG=1',],
'cflags_cc!': ['-fno-rtti'],
'cflags_cc+': ['-frtti', '-g'],
}],
['remoting==1', { ['remoting==1', {
'defines': ['ENABLE_REMOTING=1'], 'defines': ['ENABLE_REMOTING=1'],
}], }],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment