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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
237 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', | 237 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', |
238 ], | 238 ], |
239 }], | 239 }], |
240 [ 'skia_os != "chromeos"', { | 240 [ 'skia_os != "chromeos"', { |
241 'cflags': [ | 241 'cflags': [ |
242 '-mfloat-abi=softfp', | 242 '-mfloat-abi=softfp', |
243 ], | 243 ], |
244 }], | 244 }], |
245 ], | 245 ], |
246 }], | 246 }], |
247 [ 'skia_arch_type == "mips"', { | |
djsollen
2014/05/29 17:01:08
spacing
| |
248 'cflags': [ | |
249 '-mips32r2', | |
250 '-EL', | |
251 ], | |
252 'defines': [ | |
253 'SK_CPU_MIPS', | |
254 'SK_CPU_LENDIAN', | |
255 ], | |
256 'conditions': [ | |
257 [ 'mips_dsp == 1', { | |
258 'defines': [ | |
259 '__MIPS_HAVE_DSP', | |
260 ], | |
261 'variables': { | |
262 'SK_MIPS_DSP_REV%': '1' | |
263 }, | |
264 'cflags': [ | |
265 '-mdsp', | |
266 ], | |
267 }], | |
268 [ 'mips_dspr2 == 1', { | |
269 'defines': [ | |
270 '__MIPS_HAVE_DSPR2', | |
271 ], | |
272 'variables': { | |
273 'SK_MIPS_DSP_REV%': '2' | |
274 }, | |
275 'cflags': [ | |
276 '-mdspr2', | |
277 ], | |
278 }], | |
279 [ 'mips_dsp_optional == 1', { | |
280 'defines': [ | |
281 '__MIPS_HAVE_OPTIONAL_DSP_SUPPORT', | |
282 ], | |
283 }], | |
284 [ 'mips_dspr2_optional == 1', { | |
285 'defines': [ | |
286 '__MIPS_HAVE_OPTIONAL_DSPR2_SUPPORT', | |
287 ], | |
288 }], | |
289 ], | |
290 }], | |
247 ], | 291 ], |
248 }, | 292 }, |
249 ], | 293 ], |
250 | 294 |
251 ['skia_android_framework', { | 295 ['skia_android_framework', { |
252 'cflags': [ | 296 'cflags': [ |
253 # Skia does not enforce this usage pattern so we disable it here to avoi d | 297 # Skia does not enforce this usage pattern so we disable it here to avoi d |
254 # unecessary log spew when building | 298 # unecessary log spew when building |
255 '-Wno-unused-parameter', | 299 '-Wno-unused-parameter', |
256 | 300 |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
655 'SK_BUILD_JSON_WRITER', | 699 'SK_BUILD_JSON_WRITER', |
656 ] | 700 ] |
657 }], | 701 }], |
658 | 702 |
659 ], # end 'conditions' | 703 ], # end 'conditions' |
660 # 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 |
661 'xcode_settings': { | 705 'xcode_settings': { |
662 'SYMROOT': '<(DEPTH)/xcodebuild', | 706 'SYMROOT': '<(DEPTH)/xcodebuild', |
663 }, | 707 }, |
664 } | 708 } |
OLD | NEW |