| 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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 # Enable asan, tsan, etc. | 470 # Enable asan, tsan, etc. |
| 471 [ 'skia_sanitizer', { | 471 [ 'skia_sanitizer', { |
| 472 'cflags': [ | 472 'cflags': [ |
| 473 '-fsanitize=<(skia_sanitizer)', | 473 '-fsanitize=<(skia_sanitizer)', |
| 474 ], | 474 ], |
| 475 'ldflags': [ | 475 'ldflags': [ |
| 476 '-fsanitize=<(skia_sanitizer)', | 476 '-fsanitize=<(skia_sanitizer)', |
| 477 ], | 477 ], |
| 478 'conditions' : [ | 478 'conditions' : [ |
| 479 [ 'skia_sanitizer == "thread"', { | 479 [ 'skia_sanitizer == "thread"', { |
| 480 'defines': [ 'DYNAMIC_ANNOTATIONS_ENABLED=1' ], | 480 'defines': [ 'THREAD_SANITIZER' ], |
| 481 }], | 481 }], |
| 482 [ 'skia_sanitizer == "undefined"', { | 482 [ 'skia_sanitizer == "undefined"', { |
| 483 'cflags_cc!': ['-fno-rtti'], | 483 'cflags_cc!': ['-fno-rtti'], |
| 484 }], | 484 }], |
| 485 ], | 485 ], |
| 486 }], | 486 }], |
| 487 [ 'skia_clang_build', { | 487 [ 'skia_clang_build', { |
| 488 'cflags_cc': [ | 488 'cflags_cc': [ |
| 489 '-Wno-unknown-warning-option', # Allows unknown warnings. | 489 '-Wno-unknown-warning-option', # Allows unknown warnings. |
| 490 '-Wno-deprecated', # From Qt, via debugger (older C
lang). | 490 '-Wno-deprecated', # From Qt, via debugger (older C
lang). |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d | 659 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d |
| 660 ], | 660 ], |
| 661 }], | 661 }], |
| 662 | 662 |
| 663 ], # end 'conditions' | 663 ], # end 'conditions' |
| 664 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 664 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 665 'xcode_settings': { | 665 'xcode_settings': { |
| 666 'SYMROOT': '<(DEPTH)/xcodebuild', | 666 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 667 }, | 667 }, |
| 668 } | 668 } |
| OLD | NEW |