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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 # We can POD-style initialization of static mutexes to avoid generating | 667 # We can POD-style initialization of static mutexes to avoid generating |
668 # static initializers if we're using a pthread-compatible thread interface. | 668 # static initializers if we're using a pthread-compatible thread interface. |
669 [ 'skia_os != "win"', { | 669 [ 'skia_os != "win"', { |
670 'defines': [ | 670 'defines': [ |
671 'SK_USE_POSIX_THREADS', | 671 'SK_USE_POSIX_THREADS', |
672 ], | 672 ], |
673 }], | 673 }], |
674 | 674 |
675 [ 'skia_moz2d', { | 675 [ 'skia_moz2d', { |
676 'defines': [ | 676 'defines': [ |
677 'SK_SUPPORT_LEGACY_LAYERRASTERIZER_API=1', | 677 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d |
678 'SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG=1', | |
679 'SK_SUPPORT_LEGACY_GETTOTALCLIP=1', | |
680 ], | 678 ], |
681 }], | 679 }], |
682 | 680 |
683 ], # end 'conditions' | 681 ], # end 'conditions' |
684 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 682 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
685 'xcode_settings': { | 683 'xcode_settings': { |
686 'SYMROOT': '<(DEPTH)/xcodebuild', | 684 'SYMROOT': '<(DEPTH)/xcodebuild', |
687 }, | 685 }, |
688 } | 686 } |
OLD | NEW |