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_DISTANCEFIELD_FONTS=<(skia_force_distancefield_fonts)', | 8 'SK_FORCE_DISTANCEFIELD_FONTS=<(skia_force_distancefield_fonts)', |
9 ], | 9 ], |
10 'conditions' : [ | 10 'conditions' : [ |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 [ 'skia_sanitizer', { | 406 [ 'skia_sanitizer', { |
407 'cflags': [ | 407 'cflags': [ |
408 '-fsanitize=<(skia_sanitizer)', | 408 '-fsanitize=<(skia_sanitizer)', |
409 ], | 409 ], |
410 'ldflags': [ | 410 'ldflags': [ |
411 '-fsanitize=<(skia_sanitizer)', | 411 '-fsanitize=<(skia_sanitizer)', |
412 ], | 412 ], |
413 'conditions' : [ | 413 'conditions' : [ |
414 [ 'skia_sanitizer == "thread"', { | 414 [ 'skia_sanitizer == "thread"', { |
415 'defines': [ 'DYNAMIC_ANNOTATIONS_ENABLED=1' ], | 415 'defines': [ 'DYNAMIC_ANNOTATIONS_ENABLED=1' ], |
416 'cflags': [ '-fPIC', '-fsanitize-blacklist=>!(pwd)/../tools/tsan
.blacklist' ], | 416 'cflags': [ '-fPIC' ], |
417 'target_conditions': [ | 417 'target_conditions': [ |
418 [ '_type == "executable"', { | 418 [ '_type == "executable"', { |
419 'cflags': [ '-fPIE' ], | 419 'cflags': [ '-fPIE' ], |
420 'ldflags': [ '-pie' ], | 420 'ldflags': [ '-pie' ], |
421 }], | 421 }], |
422 ], | 422 ], |
423 }], | 423 }], |
424 [ 'skia_sanitizer == "undefined"', { | 424 [ 'skia_sanitizer == "undefined"', { |
425 'cflags': [ '-fPIC' ], | 425 'cflags': [ '-fPIC' ], |
426 'cflags_cc!': ['-fno-rtti'], | 426 'cflags_cc!': ['-fno-rtti'], |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 'SK_BUILD_JSON_WRITER', | 658 'SK_BUILD_JSON_WRITER', |
659 ] | 659 ] |
660 }], | 660 }], |
661 | 661 |
662 ], # end 'conditions' | 662 ], # end 'conditions' |
663 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 663 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
664 'xcode_settings': { | 664 'xcode_settings': { |
665 'SYMROOT': '<(DEPTH)/xcodebuild', | 665 'SYMROOT': '<(DEPTH)/xcodebuild', |
666 }, | 666 }, |
667 } | 667 } |
OLD | NEW |