| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index 40bb44ed5ce810f947856024d47bacd62b68d2d6..3fecc15b780f94db4c6833db1f1f5b6c8ee86e4a 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -1588,6 +1588,9 @@
|
| 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp',
|
| 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp',
|
|
|
| + # Enable runtime memory leak detector.
|
| + 'enable_leak_detector%': 0,
|
| +
|
| 'conditions': [
|
| ['buildtype=="Official"', {
|
| # Continue to embed build meta data in Official builds, basically the
|
| @@ -3082,6 +3085,9 @@
|
| 'SAFE_BROWSING_DB_REMOTE',
|
| ],
|
| }],
|
| + ['enable_leak_detector==1 and chromeos==1', {
|
| + 'defines': ['ENABLE_LEAK_DETECTOR=1'],
|
| + }],
|
| ], # conditions for 'target_defaults'
|
| 'target_conditions': [
|
| ['<(use_libpci)==1', {
|
| @@ -3855,6 +3861,11 @@
|
| 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-tables'],
|
| 'defines': ['NO_UNWIND_TABLES'],
|
| }],
|
| + ['enable_leak_detector==1 and chromeos==1', {
|
| + 'cflags': [
|
| + '-fno-omit-frame-pointer',
|
| + ],
|
| + }],
|
| ],
|
| },
|
| },
|
|
|