| 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"', { |
| 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_DSP', |
| 271 '__MIPS_HAVE_DSPR2', |
| 272 ], |
| 273 'variables': { |
| 274 'SK_MIPS_DSP_REV%': '2', |
| 275 }, |
| 276 'cflags': [ |
| 277 '-mdspr2', |
| 278 ], |
| 279 }], |
| 280 [ 'mips_dsp_optional == 1', { |
| 281 'defines': [ |
| 282 '__MIPS_HAVE_OPTIONAL_DSP_SUPPORT', |
| 283 ], |
| 284 'variables': { |
| 285 'SK_MIPS_DSP_REV%': '1', |
| 286 }, |
| 287 }], |
| 288 [ 'mips_dspr2_optional == 1', { |
| 289 'defines': [ |
| 290 '__MIPS_HAVE_OPTIONAL_DSP_SUPPORT', |
| 291 ], |
| 292 'variables': { |
| 293 'SK_MIPS_DSP_REV%': '2', |
| 294 }, |
| 295 }], |
| 296 ], |
| 297 }], |
| 247 ], | 298 ], |
| 248 }, | 299 }, |
| 249 ], | 300 ], |
| 250 | 301 |
| 251 ['skia_android_framework', { | 302 ['skia_android_framework', { |
| 252 'cflags': [ | 303 'cflags': [ |
| 253 # Skia does not enforce this usage pattern so we disable it here to avoi
d | 304 # Skia does not enforce this usage pattern so we disable it here to avoi
d |
| 254 # unecessary log spew when building | 305 # unecessary log spew when building |
| 255 '-Wno-unused-parameter', | 306 '-Wno-unused-parameter', |
| 256 | 307 |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 'SK_BUILD_JSON_WRITER', | 706 'SK_BUILD_JSON_WRITER', |
| 656 ] | 707 ] |
| 657 }], | 708 }], |
| 658 | 709 |
| 659 ], # end 'conditions' | 710 ], # end 'conditions' |
| 660 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 711 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 661 'xcode_settings': { | 712 'xcode_settings': { |
| 662 'SYMROOT': '<(DEPTH)/xcodebuild', | 713 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 663 }, | 714 }, |
| 664 } | 715 } |
| OLD | NEW |