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

Unified Diff: gyp/common_conditions.gypi

Issue 1213063009: Add scripts for running LLVM coverage (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove accidentally-include script Created 5 years, 6 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/llvm_coverage.sh » ('j') | tools/llvm_coverage.sh » ('J')
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..c4d0d017b08fe2e40e56972fff215bd2b448f7ac 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': {
},
« no previous file with comments | « no previous file | tools/llvm_coverage.sh » ('j') | tools/llvm_coverage.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698