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

Unified Diff: chrome/chrome.gyp

Issue 155123: Code coverage on Windows (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
Index: chrome/chrome.gyp
===================================================================
--- chrome/chrome.gyp (revision 19085)
+++ chrome/chrome.gyp (working copy)
@@ -4774,7 +4774,7 @@
]}, # 'targets'
], # OS=="win"
# TODO(jrg): add in Windows code coverage targets.
- ['coverage!=0 and OS!="win"',
+ ['coverage!=0',
{ 'targets': [
{
'target_name': 'coverage',
@@ -4797,13 +4797,16 @@
# requires the 'coverage' target be run from within
# src/chrome.
'message': 'Running coverage_posix.py to generate coverage numbers',
- 'inputs': [],
- 'outputs': [],
+ # MSVS must have an input file and an output file.
+ 'inputs': [ '../tools/code_coverage/coverage_posix.py' ],
+ 'outputs': [ '<(PRODUCT_DIR)/coverage.info' ],
'action_name': 'coverage',
'action': [ 'python',
'../tools/code_coverage/coverage_posix.py',
'--directory',
'<(PRODUCT_DIR)',
+ '--src_root',
+ '..',
'--',
'<@(_dependencies)'],
# Use outputs of this action as inputs for the main target build.

Powered by Google App Engine
This is Rietveld 408576698