diff options
Diffstat (limited to 'gyp/common_conditions.gypi')
-rw-r--r-- | gyp/common_conditions.gypi | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index 9b9dc22618..c4d0d017b0 100644 --- a/gyp/common_conditions.gypi +++ b/gyp/common_conditions.gypi @@ -408,8 +408,15 @@ ], 'configurations': { 'Coverage': { - 'cflags': ['--coverage'], - 'ldflags': ['--coverage'], + 'conditions': [ + [ 'skia_clang_build', { + 'cflags': ['-fprofile-instr-generate', '-fcoverage-mapping'], + 'ldflags': ['-fprofile-instr-generate', '-fcoverage-mapping'], + }, { + 'cflags': ['--coverage'], + 'ldflags': ['--coverage'], + }], + ], }, 'Debug': { }, |