Chromium Code Reviews| 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 'SK_SUPPORT_GPU=<(skia_gpu)', | 6 'SK_SUPPORT_GPU=<(skia_gpu)', |
| 7 'SK_SUPPORT_OPENCL=<(skia_opencl)', | 7 'SK_SUPPORT_OPENCL=<(skia_opencl)', |
| 8 'SK_DISTANCEFIELD_FONTSC=<(skia_distancefield_fonts)', | 8 'SK_DISTANCEFIELD_FONTSC=<(skia_distancefield_fonts)', |
| 9 ], | 9 ], |
| 10 'conditions' : [ | 10 'conditions' : [ |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 330 # This old compiler is really bad at figuring out when things are uninitialized, so ignore it. | 330 # This old compiler is really bad at figuring out when things are uninitialized, so ignore it. |
| 331 [ '<(mac_sdk)==10.6', { | 331 [ '<(mac_sdk)==10.6', { |
| 332 'xcode_settings': { | 332 'xcode_settings': { |
| 333 'OTHER_CPLUSPLUSFLAGS': [ | 333 'OTHER_CPLUSPLUSFLAGS': [ |
| 334 '-Wno-uninitialized', | 334 '-Wno-uninitialized', |
| 335 ], | 335 ], |
| 336 }, | 336 }, |
| 337 }], | 337 }], |
| 338 ], | 338 ], |
| 339 'configurations': { | 339 'configurations': { |
| 340 'Coverage': { | |
| 341 'xcode_settings': { | |
| 342 'GCC_OPTIMIZATION_LEVEL': '0', | |
| 343 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', | |
| 344 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS' : 'YES', | |
|
mtklein
2013/11/21 16:33:25
Extra space here before :
| |
| 345 }, | |
| 346 }, | |
|
mtklein
2013/11/21 16:33:25
When I patch this on 10.9, I get an out/Coverage t
| |
| 340 'Debug': { | 347 'Debug': { |
| 341 'xcode_settings': { | 348 'xcode_settings': { |
| 342 'GCC_OPTIMIZATION_LEVEL': '0', | 349 'GCC_OPTIMIZATION_LEVEL': '0', |
| 343 }, | 350 }, |
| 344 }, | 351 }, |
| 345 'Release': { | 352 'Release': { |
| 346 'xcode_settings': { | 353 'xcode_settings': { |
| 347 'GCC_OPTIMIZATION_LEVEL': '<(skia_release_optimization_level)', | 354 'GCC_OPTIMIZATION_LEVEL': '<(skia_release_optimization_level)', |
| 348 }, | 355 }, |
| 349 'defines': [ 'NDEBUG' ], | 356 'defines': [ 'NDEBUG' ], |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 483 'xcode_settings': { | 490 'xcode_settings': { |
| 484 'SYMROOT': '<(DEPTH)/xcodebuild', | 491 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 485 }, | 492 }, |
| 486 } | 493 } |
| 487 | 494 |
| 488 # Local Variables: | 495 # Local Variables: |
| 489 # tab-width:2 | 496 # tab-width:2 |
| 490 # indent-tabs-mode:nil | 497 # indent-tabs-mode:nil |
| 491 # End: | 498 # End: |
| 492 # vim: set expandtab tabstop=2 shiftwidth=2: | 499 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |