Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: gyp/common_conditions.gypi

Issue 1258083006: Cherry-pick m45 fixes onto m44 (Closed) Base URL: https://skia.googlesource.com/skia.git@m44
Patch Set: All the fixes Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/buildbot_spec.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': {
},
« no previous file with comments | « no previous file | tools/buildbot_spec.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698