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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/coverage.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # conditions used in both common.gypi and skia.gyp in chromium 1 # conditions used in both common.gypi and skia.gyp in chromium
2 # 2 #
3 { 3 {
4 'defines': [ 4 'defines': [
5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', 5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
6 ], 6 ],
7 'conditions' : [ 7 'conditions' : [
8 [ 'skia_gpu == 1', 8 [ 'skia_gpu == 1',
9 { 9 {
10 'defines': [ 10 'defines': [
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 ], 198 ],
199 199
200 200
201 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"] ', 201 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"] ',
202 { 202 {
203 'defines': [ 203 'defines': [
204 'SK_SAMPLES_FOR_X', 204 'SK_SAMPLES_FOR_X',
205 'SK_BUILD_FOR_UNIX', 205 'SK_BUILD_FOR_UNIX',
206 ], 206 ],
207 'configurations': { 207 'configurations': {
208 'Coverage': {
209 'cflags': ['-g --coverage'],
210 'ldflags': ['--coverage'],
211 },
208 'Debug': { 212 'Debug': {
209 'cflags': ['-g'] 213 'cflags': ['-g']
210 }, 214 },
211 'Release': { 215 'Release': {
212 'cflags': [ 216 'cflags': [
213 '-O<(skia_release_optimization_level)', 217 '-O<(skia_release_optimization_level)',
214 '-g', 218 '-g',
215 ], 219 ],
216 'defines': [ 'NDEBUG' ], 220 'defines': [ 'NDEBUG' ],
217 }, 221 },
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 'xcode_settings': { 486 'xcode_settings': {
483 'SYMROOT': '<(DEPTH)/xcodebuild', 487 'SYMROOT': '<(DEPTH)/xcodebuild',
484 }, 488 },
485 } 489 }
486 490
487 # Local Variables: 491 # Local Variables:
488 # tab-width:2 492 # tab-width:2
489 # indent-tabs-mode:nil 493 # indent-tabs-mode:nil
490 # End: 494 # End:
491 # vim: set expandtab tabstop=2 shiftwidth=2: 495 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« 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