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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 ], | 299 ], |
300 }], | 300 }], |
301 [ 'skia_os != "chromeos" and skia_os != "linux"', { | 301 [ 'skia_os != "chromeos" and skia_os != "linux"', { |
302 'cflags': [ | 302 'cflags': [ |
303 '-mfloat-abi=softfp', | 303 '-mfloat-abi=softfp', |
304 ], | 304 ], |
305 }], | 305 }], |
306 ], | 306 ], |
307 }], | 307 }], |
308 [ '"mips" in skia_arch_type', { | 308 [ '"mips" in skia_arch_type', { |
309 'cflags': [ '-EL' ], | 309 'target_conditions': [ |
310 'conditions': [ | 310 [ '_toolset == "target"', { |
311 [ 'mips_arch_variant == "mips32r2"', { | 311 'cflags' : ['-EL'], |
312 'cflags': [ '-march=mips32r2' ], | 312 'conditions' : [ |
313 'conditions': [ | 313 [ 'mips_arch_variant == "mips32r2"', { |
314 [ 'mips_dsp == 1', { 'cflags': [ '-mdsp' ] }], | 314 'cflags': [ '-march=mips32r2' ], |
315 [ 'mips_dsp == 2', { 'cflags': [ '-mdspr2' ] }], | 315 'conditions': [ |
| 316 [ 'mips_dsp == 1', { 'cflags': [ '-mdsp' ] }], |
| 317 [ 'mips_dsp == 2', { 'cflags': [ '-mdspr2' ] }], |
| 318 ], |
| 319 }], |
316 ], | 320 ], |
317 }], | 321 }], |
318 ], | 322 ], |
319 }], | 323 }], |
320 ], | 324 ], |
321 }, | 325 }, |
322 ], | 326 ], |
323 | 327 |
324 ['skia_android_framework', { | 328 ['skia_android_framework', { |
325 'cflags': [ | 329 'cflags': [ |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 690 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
687 }, | 691 }, |
688 }], | 692 }], |
689 | 693 |
690 ], # end 'conditions' | 694 ], # end 'conditions' |
691 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 695 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
692 'xcode_settings': { | 696 'xcode_settings': { |
693 'SYMROOT': '<(DEPTH)/xcodebuild', | 697 'SYMROOT': '<(DEPTH)/xcodebuild', |
694 }, | 698 }, |
695 } | 699 } |
OLD | NEW |