| 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_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', | 8 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', |
| 9 ], | 9 ], |
| 10 'conditions' : [ | 10 'conditions' : [ |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 # Enable asan, tsan, etc. | 452 # Enable asan, tsan, etc. |
| 453 [ 'skia_sanitizer', { | 453 [ 'skia_sanitizer', { |
| 454 'cflags': [ | 454 'cflags': [ |
| 455 '-fsanitize=<(skia_sanitizer)', | 455 '-fsanitize=<(skia_sanitizer)', |
| 456 ], | 456 ], |
| 457 'ldflags': [ | 457 'ldflags': [ |
| 458 '-fsanitize=<(skia_sanitizer)', | 458 '-fsanitize=<(skia_sanitizer)', |
| 459 ], | 459 ], |
| 460 'conditions' : [ | 460 'conditions' : [ |
| 461 [ 'skia_sanitizer == "thread"', { | 461 [ 'skia_sanitizer == "thread"', { |
| 462 'defines': [ 'SK_DYNAMIC_ANNOTATIONS_ENABLED=1' ], | 462 'defines': [ 'DYNAMIC_ANNOTATIONS_ENABLED=1' ], |
| 463 }], | 463 }], |
| 464 [ 'skia_sanitizer == "undefined"', { | 464 [ 'skia_sanitizer == "undefined"', { |
| 465 'cflags_cc!': ['-fno-rtti'], | 465 'cflags_cc!': ['-fno-rtti'], |
| 466 }], | 466 }], |
| 467 ], | 467 ], |
| 468 }], | 468 }], |
| 469 [ 'skia_clang_build', { | 469 [ 'skia_clang_build', { |
| 470 'cflags_cc': [ | 470 'cflags_cc': [ |
| 471 # Build in C++11 mode to make sure we'll have an easy time switc
hing. | 471 # Build in C++11 mode to make sure we'll have an easy time switc
hing. |
| 472 '-std=c++11', | 472 '-std=c++11', |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 [ 'skia_is_bot', { | 649 [ 'skia_is_bot', { |
| 650 'defines': [ 'SK_CRASH_HANDLER' ], | 650 'defines': [ 'SK_CRASH_HANDLER' ], |
| 651 }], | 651 }], |
| 652 | 652 |
| 653 ], # end 'conditions' | 653 ], # end 'conditions' |
| 654 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 654 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 655 'xcode_settings': { | 655 'xcode_settings': { |
| 656 'SYMROOT': '<(DEPTH)/xcodebuild', | 656 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 657 }, | 657 }, |
| 658 } | 658 } |
| OLD | NEW |