Add _GLIBCXX_DEBUG compilation mode.
BUG=86880 TEST=None Review URL: http://codereview.chromium.org/7664007 git-svn-id: http://src.chromium.org/svn/trunk/src/build@97001 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
5c0ae2c2fa
Коммит
7129f96260
|
@ -422,6 +422,9 @@
|
|||
# See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html
|
||||
'profiling%': '0',
|
||||
|
||||
# Enable strict glibc debug mode.
|
||||
'glibcxx_debug%': 0,
|
||||
|
||||
# Override whether we should use Breakpad on Linux. I.e. for Chrome bot.
|
||||
'linux_breakpad%': 0,
|
||||
# And if we want to dump symbols for Breakpad-enabled builds.
|
||||
|
@ -785,6 +788,11 @@
|
|||
['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', {
|
||||
'defines': ['ENABLE_REMOTING=1'],
|
||||
}],
|
||||
|
|
Загрузка…
Ссылка в новой задаче