diff options
-rw-r--r-- | gyp/common.gypi | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gyp/common.gypi b/gyp/common.gypi index c5eb30b3ab..530fbf6f5a 100644 --- a/gyp/common.gypi +++ b/gyp/common.gypi @@ -88,7 +88,18 @@ ], 'configurations': { 'Debug': { - 'cflags_cc': [ '-g', '-O0', '-fno-omit-frame-pointer','-fwrapv', '-fstack-protector-all', '-fno-common' ], + 'cflags_cc': [ + '-g', + '-O0', + '-fno-omit-frame-pointer', + '-fwrapv', + '-fstack-protector-all', + '-fno-common', + '--coverage', + ], + 'ldflags': [ + '--coverage', + ], 'defines': [ 'DEBUG' ], 'xcode_settings': { 'GCC_OPTIMIZATION_LEVEL': '0', |