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_DEFAULT_RESOURCE_CACHE_MB_LIMIT=<(skia_resource_cache_mb_limit)', | |
10 ], | 9 ], |
11 'conditions' : [ | 10 'conditions' : [ |
12 ['skia_pic', { | 11 ['skia_pic', { |
13 'cflags': [ | 12 'cflags': [ |
14 '-fPIC', | 13 '-fPIC', |
15 ], | 14 ], |
16 'conditions' : [ | 15 'conditions' : [ |
17 # 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 |
18 # we build the executables/skia_launcher on Android. See | 17 # we build the executables/skia_launcher on Android. See |
19 # 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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 [ 'skia_crash_handler', { | 692 [ 'skia_crash_handler', { |
694 'defines': [ 'SK_CRASH_HANDLER' ], | 693 'defines': [ 'SK_CRASH_HANDLER' ], |
695 }], | 694 }], |
696 | 695 |
697 ], # end 'conditions' | 696 ], # end 'conditions' |
698 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 697 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
699 'xcode_settings': { | 698 'xcode_settings': { |
700 'SYMROOT': '<(DEPTH)/xcodebuild', | 699 'SYMROOT': '<(DEPTH)/xcodebuild', |
701 }, | 700 }, |
702 } | 701 } |
OLD | NEW |