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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 }, | 621 }, |
622 ], | 622 ], |
623 | 623 |
624 # We can POD-style initialization of static mutexes to avoid generating | 624 # We can POD-style initialization of static mutexes to avoid generating |
625 # static initializers if we're using a pthread-compatible thread interface. | 625 # static initializers if we're using a pthread-compatible thread interface. |
626 [ 'skia_os != "win"', { | 626 [ 'skia_os != "win"', { |
627 'defines': [ | 627 'defines': [ |
628 'SK_USE_POSIX_THREADS', | 628 'SK_USE_POSIX_THREADS', |
629 ], | 629 ], |
630 }], | 630 }], |
| 631 |
| 632 [ 'skia_moz2d', { |
| 633 'defines': [ |
| 634 'SK_SUPPORT_LEGACY_LAYERRASTERIZER_API=1', |
| 635 'SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG=1', |
| 636 'SK_SUPPORT_LEGACY_GETTOTALCLIP=1', |
| 637 ], |
| 638 }], |
| 639 |
631 ], # end 'conditions' | 640 ], # end 'conditions' |
632 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 641 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
633 'xcode_settings': { | 642 'xcode_settings': { |
634 'SYMROOT': '<(DEPTH)/xcodebuild', | 643 'SYMROOT': '<(DEPTH)/xcodebuild', |
635 }, | 644 }, |
636 } | 645 } |
OLD | NEW |