| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index ee0334ba9194fca62a0445ff6370e4aee05c8b08..48b9163577e514bf5d1859d34b386ee4e9dcc9fb 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -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'],
|
| }],
|
|
|