| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # conditions used in both common.gypi and skia.gyp in chromium | 6 # conditions used in both common.gypi and skia.gyp in chromium |
| 7 # | 7 # |
| 8 { | 8 { |
| 9 'defines': [ | 9 'defines': [ |
| 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', | 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 ], | 289 ], |
| 290 }], | 290 }], |
| 291 [ 'skia_os != "chromeos" and skia_os != "linux"', { | 291 [ 'skia_os != "chromeos" and skia_os != "linux"', { |
| 292 'cflags': [ | 292 'cflags': [ |
| 293 '-mfloat-abi=softfp', | 293 '-mfloat-abi=softfp', |
| 294 ], | 294 ], |
| 295 }], | 295 }], |
| 296 ], | 296 ], |
| 297 }], | 297 }], |
| 298 [ '"mips" in skia_arch_type', { | 298 [ '"mips" in skia_arch_type', { |
| 299 'cflags': [ | 299 'cflags': [ '-EL' ], |
| 300 '-EL', | |
| 301 ], | |
| 302 'conditions': [ | 300 'conditions': [ |
| 303 [ 'mips_arch_variant == "mips32r2"', { | 301 [ 'mips_arch_variant == "mips32r2"', { |
| 304 'cflags': [ | 302 'cflags': [ '-march=mips32r2' ], |
| 305 '-march=mips32r2', | |
| 306 ], | |
| 307 'conditions': [ | 303 'conditions': [ |
| 308 [ 'mips_dsp == 1', { | 304 [ 'mips_dsp == 1', { 'cflags': [ '-mdsp' ] }], |
| 309 'cflags': [ | 305 [ 'mips_dsp == 2', { 'cflags': [ '-mdspr2' ] }], |
| 310 '-mdsp', | |
| 311 ], | |
| 312 'defines': [ | |
| 313 'SK_MIPS_HAS_DSP', | |
| 314 ], | |
| 315 }], | |
| 316 [ 'mips_dsp == 2', { | |
| 317 'cflags': [ | |
| 318 '-mdspr2', | |
| 319 ], | |
| 320 'defines': [ | |
| 321 'SK_MIPS_HAS_DSP', | |
| 322 'SK_MIPS_HAS_DSPR2', | |
| 323 ], | |
| 324 }], | |
| 325 ], | 306 ], |
| 326 }], | 307 }], |
| 327 ], | 308 ], |
| 328 }], | 309 }], |
| 329 ], | 310 ], |
| 330 }, | 311 }, |
| 331 ], | 312 ], |
| 332 | 313 |
| 333 ['skia_android_framework', { | 314 ['skia_android_framework', { |
| 334 'cflags': [ | 315 'cflags': [ |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 [ 'sknx_no_simd', { | 620 [ 'sknx_no_simd', { |
| 640 'defines': [ 'SKNX_NO_SIMD' ], | 621 'defines': [ 'SKNX_NO_SIMD' ], |
| 641 }], | 622 }], |
| 642 | 623 |
| 643 ], # end 'conditions' | 624 ], # end 'conditions' |
| 644 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 625 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 645 'xcode_settings': { | 626 'xcode_settings': { |
| 646 'SYMROOT': '<(DEPTH)/xcodebuild', | 627 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 647 }, | 628 }, |
| 648 } | 629 } |
| OLD | NEW |