| 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 ], | 282 ], |
| 283 'conditions': [ | 283 'conditions': [ |
| 284 [ 'arm_neon == 1', { | 284 [ 'arm_neon == 1', { |
| 285 'defines': [ | 285 'defines': [ |
| 286 'SK_ARM_HAS_NEON', | 286 'SK_ARM_HAS_NEON', |
| 287 ], | 287 ], |
| 288 'cflags': [ | 288 'cflags': [ |
| 289 '-mfpu=neon', | 289 '-mfpu=neon', |
| 290 ], | 290 ], |
| 291 }], | 291 }], |
| 292 [ 'arm_neon_optional == 1', { | |
| 293 'defines': [ | |
| 294 'SK_ARM_HAS_OPTIONAL_NEON', | |
| 295 ], | |
| 296 }], | |
| 297 [ 'skia_os != "linux"', { | 292 [ 'skia_os != "linux"', { |
| 298 'cflags': [ | 293 'cflags': [ |
| 299 '-mfloat-abi=softfp', | 294 '-mfloat-abi=softfp', |
| 300 ], | 295 ], |
| 301 }], | 296 }], |
| 302 ], | 297 ], |
| 303 }], | 298 }], |
| 304 [ '"mips" in skia_arch_type', { | 299 [ '"mips" in skia_arch_type', { |
| 305 'cflags': [ '-EL' ], | 300 'cflags': [ '-EL' ], |
| 306 'conditions': [ | 301 'conditions': [ |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 680 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
| 686 }, | 681 }, |
| 687 }], | 682 }], |
| 688 | 683 |
| 689 ], # end 'conditions' | 684 ], # end 'conditions' |
| 690 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 685 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 691 'xcode_settings': { | 686 'xcode_settings': { |
| 692 'SYMROOT': '<(DEPTH)/xcodebuild', | 687 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 693 }, | 688 }, |
| 694 } | 689 } |
| OLD | NEW |