OLD | NEW |
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 Loading... |
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 Loading... |
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: |
OLD | NEW |