[linux] Enable coverage support for debug build

This commit is contained in:
Bruno de Oliveira Abinader
2016-02-17 10:32:50 +02:00
parent d900e7a9a3
commit d5da86b098

View File

@@ -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',