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 'SK_PICTURE_USE_SK_RECORD', | 9 'SK_PICTURE_USE_SK_RECORD', |
| 10 'SK_PICTURE_OPTIMIZE_SK_RECORD', |
10 ], | 11 ], |
11 'conditions' : [ | 12 'conditions' : [ |
12 ['skia_pic', { | 13 ['skia_pic', { |
13 'cflags': [ | 14 'cflags': [ |
14 '-fPIC', | 15 '-fPIC', |
15 ], | 16 ], |
16 'conditions' : [ | 17 'conditions' : [ |
17 # FIXME: The reason we don't do this on Android is due to the way | 18 # FIXME: The reason we don't do this on Android is due to the way |
18 # we build the executables/skia_launcher on Android. See | 19 # we build the executables/skia_launcher on Android. See |
19 # https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.g
ypi#newcode455 | 20 # https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.g
ypi#newcode455 |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 [ 'skia_is_bot', { | 631 [ 'skia_is_bot', { |
631 'defines': [ 'SK_CRASH_HANDLER' ], | 632 'defines': [ 'SK_CRASH_HANDLER' ], |
632 }], | 633 }], |
633 | 634 |
634 ], # end 'conditions' | 635 ], # end 'conditions' |
635 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 636 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
636 'xcode_settings': { | 637 'xcode_settings': { |
637 'SYMROOT': '<(DEPTH)/xcodebuild', | 638 'SYMROOT': '<(DEPTH)/xcodebuild', |
638 }, | 639 }, |
639 } | 640 } |
OLD | NEW |