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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 'conditions': [ | 285 'conditions': [ |
286 [ 'mips_arch_variant == "mips32r2"', { | 286 [ 'mips_arch_variant == "mips32r2"', { |
287 'cflags': [ | 287 'cflags': [ |
288 '-march=mips32r2', | 288 '-march=mips32r2', |
289 ], | 289 ], |
290 'conditions': [ | 290 'conditions': [ |
291 [ 'mips_dsp == 1', { | 291 [ 'mips_dsp == 1', { |
292 'cflags': [ | 292 'cflags': [ |
293 '-mdsp', | 293 '-mdsp', |
294 ], | 294 ], |
| 295 'defines': [ |
| 296 'SK_MIPS_HAS_DSP', |
| 297 ], |
295 }], | 298 }], |
296 [ 'mips_dsp == 2', { | 299 [ 'mips_dsp == 2', { |
297 'cflags': [ | 300 'cflags': [ |
298 '-mdspr2', | 301 '-mdspr2', |
299 ], | 302 ], |
300 'defines': [ | 303 'defines': [ |
301 '__MIPS_HAVE_DSPR2', | 304 'SK_MIPS_HAS_DSP', |
| 305 'SK_MIPS_HAS_DSPR2', |
302 ], | 306 ], |
303 }], | 307 }], |
304 ], | 308 ], |
305 }], | 309 }], |
306 ], | 310 ], |
307 }], | 311 }], |
308 ], | 312 ], |
309 }, | 313 }, |
310 ], | 314 ], |
311 | 315 |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 [ 'skia_crash_handler', { | 699 [ 'skia_crash_handler', { |
696 'defines': [ 'SK_CRASH_HANDLER' ], | 700 'defines': [ 'SK_CRASH_HANDLER' ], |
697 }], | 701 }], |
698 | 702 |
699 ], # end 'conditions' | 703 ], # end 'conditions' |
700 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 704 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
701 'xcode_settings': { | 705 'xcode_settings': { |
702 'SYMROOT': '<(DEPTH)/xcodebuild', | 706 'SYMROOT': '<(DEPTH)/xcodebuild', |
703 }, | 707 }, |
704 } | 708 } |
OLD | NEW |