diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-17 10:32:50 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-18 15:01:58 +0200 |
commit | d5da86b0980ce84c1d64507452eaf7a301f3c85d (patch) | |
tree | 1c4605fd5923f9700871a23dbff35889c7f42a85 /gyp | |
parent | d900e7a9a343eec566fe7fe876c9d4fa48d26990 (diff) | |
download | qtlocation-mapboxgl-d5da86b0980ce84c1d64507452eaf7a301f3c85d.tar.gz |
[linux] Enable coverage support for debug build
Diffstat (limited to 'gyp')
-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', |