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

Unified Diff: chrome/chrome.gyp

Issue 56136: Start of code coverage for Mac.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « build/common.gypi ('k') | tools/code_coverage/coverage_posix.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome.gyp
===================================================================
--- chrome/chrome.gyp (revision 13066)
+++ chrome/chrome.gyp (working copy)
@@ -2805,5 +2805,32 @@
},
]}, # 'targets'
], # OS=="win"
+ # TODO(jrg): add in Windows code coverage targets.
+ # Also test on Linux.
+ ['coverage!=0 and OS=="mac"',
+ { 'targets': [
+ {
+ 'target_name': 'coverage',
+ # do NOT place this in the 'all' list; most won't want it.
+ # In gyp, booleans are 0/1 not True/False.
+ 'suppress_wildcard': 1,
+ 'type': 'none',
+ 'dependencies': [
+ '../base/base.gyp:base_unittests',
+ ],
+ 'actions': [
+ {
+ 'inputs': [],
+ 'outputs': [],
+ 'action_name': 'coverage',
+ 'action': [ 'python',
+ '../tools/code_coverage/coverage_posix.py',
+ '--directory',
+ '<(PRODUCT_DIR)' ],
+ },
+ ], # 'actions'
+ },
+ ]
+ }],
], # 'conditions'
}
« no previous file with comments | « build/common.gypi ('k') | tools/code_coverage/coverage_posix.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698