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

Side by Side Diff: chrome/chrome.gyp

Issue 100189: Code coverage improvements.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/common.gypi ('k') | tools/code_coverage/coverage_posix.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/common.gypi', 10 '../build/common.gypi',
(...skipping 2979 matching lines...) Expand 10 before | Expand all | Expand 10 after
2990 'configurations': { 2990 'configurations': {
2991 'Debug': { 2991 'Debug': {
2992 'msvs_precompiled_header': 'tools/build/win/precompiled.h', 2992 'msvs_precompiled_header': 'tools/build/win/precompiled.h',
2993 'msvs_precompiled_source': 'tools/build/win/precompiled.cc', 2993 'msvs_precompiled_source': 'tools/build/win/precompiled.cc',
2994 }, 2994 },
2995 }, 2995 },
2996 }, 2996 },
2997 ]}, # 'targets' 2997 ]}, # 'targets'
2998 ], # OS=="win" 2998 ], # OS=="win"
2999 # TODO(jrg): add in Windows code coverage targets. 2999 # TODO(jrg): add in Windows code coverage targets.
3000 # Also test on Linux. 3000 ['coverage!=0 and OS!="win"',
3001 ['coverage!=0 and OS=="mac"',
3002 { 'targets': [ 3001 { 'targets': [
3003 { 3002 {
3004 'target_name': 'coverage', 3003 'target_name': 'coverage',
3005 # do NOT place this in the 'all' list; most won't want it. 3004 # do NOT place this in the 'all' list; most won't want it.
3006 # In gyp, booleans are 0/1 not True/False. 3005 # In gyp, booleans are 0/1 not True/False.
3007 'suppress_wildcard': 1, 3006 'suppress_wildcard': 1,
3008 'type': 'none', 3007 'type': 'none',
3009 'dependencies': [ 3008 'dependencies': [
3010 '../base/base.gyp:base_unittests', 3009 '../base/base.gyp:base_unittests',
3010 '../media/media.gyp:media_unittests',
3011 '../net/net.gyp:net_unittests',
3012 '../printing/printing.gyp:printing_unittests',
3011 ], 3013 ],
3012 'actions': [ 3014 'actions': [
3013 { 3015 {
3016 # 'message' for Linux/scons in particular
3017 'message': 'Running coverage_posix.py to generate coverage numbers ',
3014 'inputs': [], 3018 'inputs': [],
3015 'outputs': [], 3019 'outputs': [],
3016 'action_name': 'coverage', 3020 'action_name': 'coverage',
3017 'action': [ 'python', 3021 'action': [ 'python',
3018 '../tools/code_coverage/coverage_posix.py', 3022 '../tools/code_coverage/coverage_posix.py',
3019 '--directory', 3023 '--directory',
3020 '<(PRODUCT_DIR)' ], 3024 '<(PRODUCT_DIR)',
3025 » » » '--',
3026 » » » '<@(_dependencies)'],
3027 # Use outputs of this action as inputs for the main target build.
3028 # Seems as a misnomer but makes this happy on Linux (scons).
3029 'process_outputs_as_sources': 1,
3021 }, 3030 },
3022 ], # 'actions' 3031 ], # 'actions'
3023 }, 3032 },
3024 ] 3033 ]
3025 }], 3034 }],
3026 ], # 'conditions' 3035 ], # 'conditions'
3027 } 3036 }
OLDNEW
« 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