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

Unified Diff: gyp/common_conditions.gypi

Issue 23523055: add a way to get code coverage (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: borenet Created 7 years, 3 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/coverage.sh » ('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 d2b26112053fe3849a9b88217474d5f1ff581e7c..f9feb1c132ddcd07cf21e99044c42ed5f0fc5a37 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -205,6 +205,10 @@
'SK_BUILD_FOR_UNIX',
],
'configurations': {
+ 'Coverage': {
+ 'cflags': ['-g --coverage'],
+ 'ldflags': ['--coverage'],
+ },
'Debug': {
'cflags': ['-g']
},
« no previous file with comments | « no previous file | tools/coverage.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698