| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index 70d2ec571f5181e5207aa9f2df232e9a5445eab8..d77e5011641a26a79b5e75292bcff2b5979aa899 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -1364,6 +1364,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.
|
| @@ -2707,6 +2710,9 @@
|
| ['profiling==1', {
|
| 'defines': ['ENABLE_PROFILING=1'],
|
| }],
|
| + ['leak_detector==1 and chromeos==1', {
|
| + 'defines': ['ENABLE_LEAK_DETECTOR=1'],
|
| + }],
|
| ['remoting==1', {
|
| 'defines': ['ENABLE_REMOTING=1'],
|
| }],
|
| @@ -3815,6 +3821,11 @@
|
| 'release_optimize%': 's',
|
| },
|
| }],
|
| + ['leak_detector==1 and chromeos==1', {
|
| + 'cflags': [
|
| + '-fno-omit-frame-pointer',
|
| + ],
|
| + }],
|
| ['profiling==1', {
|
| 'cflags': [
|
| '-fno-omit-frame-pointer',
|
|
|