| Index: gyp/common_conditions.gypi
|
| diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
|
| index 9b9dc226186cf8c12b03950ecba193053ffcaa96..22ed965e051947140e482cc2d885c05473e34375 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', '-w'],
|
| + 'ldflags': ['-fprofile-instr-generate', '-fcoverage-mapping'],
|
| + }, {
|
| + 'cflags': ['--coverage'],
|
| + 'ldflags': ['--coverage'],
|
| + }],
|
| + ],
|
| },
|
| 'Debug': {
|
| },
|
|
|