| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index e900cc4a6e72266d3c29f75608c6981acf567e28..8a59df6eb9cb5d0e8a78bfe88b279f5add4da1b2 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -1350,6 +1350,9 @@
|
| # Profile without optimizing out stack frames when profiling==1.
|
| 'profiling_full_stack_frames%': '0',
|
|
|
| + # Enable automatic leak detector.
|
| + 'leak_detector%': 0,
|
| +
|
| # And if we want to dump symbols for Breakpad-enabled builds.
|
| 'linux_dump_symbols%': 0,
|
| # And if we want to strip the binary after dumping symbols.
|
| @@ -2696,6 +2699,9 @@
|
| ['profiling==1', {
|
| 'defines': ['ENABLE_PROFILING=1'],
|
| }],
|
| + ['leak_detector==1 and chromeos==1', {
|
| + 'defines': ['ENABLE_LEAK_DETECTOR=1'],
|
| + }],
|
| ['remoting==1', {
|
| 'defines': ['ENABLE_REMOTING=1'],
|
| }],
|
| @@ -3753,6 +3759,12 @@
|
| 'release_optimize%': 's',
|
| },
|
| }],
|
| + ['leak_detector==1 and chromeos==1', {
|
| + 'cflags': [
|
| + '-fno-omit-frame-pointer',
|
| + '-g',
|
| + ],
|
| + }],
|
| ['profiling==1', {
|
| 'cflags': [
|
| '-fno-omit-frame-pointer',
|
|
|