| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 # This gyp file contains the platform-specific optimizations for Skia | 6 # This gyp file contains the platform-specific optimizations for Skia |
| 7 { | 7 { |
| 8 'targets': [ | 8 'targets': [ |
| 9 # Due to an unfortunate intersection of lameness between gcc and gyp, | 9 # Due to an unfortunate intersection of lameness between gcc and gyp, |
| 10 # we have to build the *_SSE2.cpp files in a separate target. The | 10 # we have to build the *_SSE2.cpp files in a separate target. The |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 # build breakage, we do this on all platforms. | 23 # build breakage, we do this on all platforms. |
| 24 | 24 |
| 25 # For about the same reason, we need to compile the ARM opts files | 25 # For about the same reason, we need to compile the ARM opts files |
| 26 # separately as well. | 26 # separately as well. |
| 27 { | 27 { |
| 28 'target_name': 'skia_opts', | 28 'target_name': 'skia_opts', |
| 29 'type': 'static_library', | 29 'type': 'static_library', |
| 30 'includes': [ | 30 'includes': [ |
| 31 'skia_common.gypi', | 31 'skia_common.gypi', |
| 32 '../build/android/increase_size_for_speed.gypi', | 32 '../build/android/increase_size_for_speed.gypi', |
| 33 # Disable LTO due to compiler error |
| 34 # in mems_in_disjoint_alias_sets_p, at alias.c:393 |
| 35 # crbug.com/422255 |
| 36 '../build/android/disable_lto.gypi', |
| 33 ], | 37 ], |
| 34 'include_dirs': [ | 38 'include_dirs': [ |
| 35 '../third_party/skia/include/core', | 39 '../third_party/skia/include/core', |
| 36 '../third_party/skia/include/effects', | 40 '../third_party/skia/include/effects', |
| 37 '../third_party/skia/src/core', | 41 '../third_party/skia/src/core', |
| 38 '../third_party/skia/src/opts', | 42 '../third_party/skia/src/opts', |
| 39 '../third_party/skia/src/utils', | 43 '../third_party/skia/src/utils', |
| 40 ], | 44 ], |
| 41 'conditions': [ | 45 'conditions': [ |
| 42 [ 'os_posix == 1 and OS != "mac" and OS != "android" and \ | 46 [ 'os_posix == 1 and OS != "mac" and OS != "android" and \ |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 # NEON-specific sources in a separate static library. The situation | 295 # NEON-specific sources in a separate static library. The situation |
| 292 # is very similar to the SSSE3 one. | 296 # is very similar to the SSSE3 one. |
| 293 ['target_arch == "arm" and (arm_neon == 1 or arm_neon_optional == 1)', { | 297 ['target_arch == "arm" and (arm_neon == 1 or arm_neon_optional == 1)', { |
| 294 'targets': [ | 298 'targets': [ |
| 295 { | 299 { |
| 296 'target_name': 'skia_opts_neon', | 300 'target_name': 'skia_opts_neon', |
| 297 'type': 'static_library', | 301 'type': 'static_library', |
| 298 'includes': [ | 302 'includes': [ |
| 299 'skia_common.gypi', | 303 'skia_common.gypi', |
| 300 '../build/android/increase_size_for_speed.gypi', | 304 '../build/android/increase_size_for_speed.gypi', |
| 305 # Disable LTO due to Neon issues |
| 306 # crbug.com/408997 |
| 307 '../build/android/disable_lto.gypi', |
| 301 ], | 308 ], |
| 302 'include_dirs': [ | 309 'include_dirs': [ |
| 303 '../third_party/skia/include/core', | 310 '../third_party/skia/include/core', |
| 304 '../third_party/skia/include/effects', | 311 '../third_party/skia/include/effects', |
| 305 '../third_party/skia/src/core', | 312 '../third_party/skia/src/core', |
| 306 '../third_party/skia/src/opts', | 313 '../third_party/skia/src/opts', |
| 307 '../third_party/skia/src/utils', | 314 '../third_party/skia/src/utils', |
| 308 ], | 315 ], |
| 309 'cflags!': [ | 316 'cflags!': [ |
| 310 '-fno-omit-frame-pointer', | 317 '-fno-omit-frame-pointer', |
| (...skipping 21 matching lines...) Expand all Loading... |
| 332 '../third_party/skia/src/opts/SkTextureCompression_opts_neon.cpp', | 339 '../third_party/skia/src/opts/SkTextureCompression_opts_neon.cpp', |
| 333 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp', | 340 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp', |
| 334 '../third_party/skia/src/opts/memset16_neon.S', | 341 '../third_party/skia/src/opts/memset16_neon.S', |
| 335 '../third_party/skia/src/opts/memset32_neon.S', | 342 '../third_party/skia/src/opts/memset32_neon.S', |
| 336 ], | 343 ], |
| 337 }, | 344 }, |
| 338 ], | 345 ], |
| 339 }], | 346 }], |
| 340 ], | 347 ], |
| 341 } | 348 } |
| OLD | NEW |