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