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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
253 'conditions': [ | 253 'conditions': [ |
254 [ 'mips_arch_variant == "mips32r2"', { | 254 [ 'mips_arch_variant == "mips32r2"', { |
255 'cflags': [ | 255 'cflags': [ |
256 '-march=mips32r2', | 256 '-march=mips32r2', |
257 ], | 257 ], |
258 'conditions': [ | 258 'conditions': [ |
259 [ 'mips_dsp == 1', { | 259 [ 'mips_dsp == 1', { |
260 'cflags': [ | 260 'cflags': [ |
261 '-mdsp', | 261 '-mdsp', |
262 ], | 262 ], |
263 'defines': [ | |
264 '__MIPS_HAVE_DSP', | |
djsollen
2014/07/11 15:57:01
rename to SK_MIPS_HAS_DSP
| |
265 ], | |
263 }], | 266 }], |
264 [ 'mips_dsp == 2', { | 267 [ 'mips_dsp == 2', { |
265 'cflags': [ | 268 'cflags': [ |
266 '-mdspr2', | 269 '-mdspr2', |
267 ], | 270 ], |
268 'defines': [ | 271 'defines': [ |
272 '__MIPS_HAVE_DSP', | |
269 '__MIPS_HAVE_DSPR2', | 273 '__MIPS_HAVE_DSPR2', |
270 ], | 274 ], |
271 }], | 275 }], |
272 ], | 276 ], |
273 }], | 277 }], |
274 ], | 278 ], |
275 }], | 279 }], |
276 ], | 280 ], |
277 }, | 281 }, |
278 ], | 282 ], |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
677 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d | 681 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d |
678 ], | 682 ], |
679 }], | 683 }], |
680 | 684 |
681 ], # end 'conditions' | 685 ], # end 'conditions' |
682 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details | 686 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details |
683 'xcode_settings': { | 687 'xcode_settings': { |
684 'SYMROOT': '<(DEPTH)/xcodebuild', | 688 'SYMROOT': '<(DEPTH)/xcodebuild', |
685 }, | 689 }, |
686 } | 690 } |
OLD | NEW |