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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 'include_dirs': [ | 218 'include_dirs': [ |
219 '../third_party/skia/include/core', | 219 '../third_party/skia/include/core', |
220 '../third_party/skia/src/core', | 220 '../third_party/skia/src/core', |
221 ], | 221 ], |
222 'sources': [ | 222 'sources': [ |
223 '../third_party/skia/src/opts/SkBlurImage_opts_SSE4.cpp', | 223 '../third_party/skia/src/opts/SkBlurImage_opts_SSE4.cpp', |
224 ], | 224 ], |
225 'conditions': [ | 225 'conditions': [ |
226 [ 'OS in ["linux", "freebsd", "openbsd", "solaris", "android"]', { | 226 [ 'OS in ["linux", "freebsd", "openbsd", "solaris", "android"]', { |
227 'cflags': [ | 227 'cflags': [ |
228 '-msse4', | 228 '-msse4.1', |
229 ], | 229 ], |
230 }], | 230 }], |
231 [ 'OS == "mac"', { | 231 [ 'OS == "mac"', { |
232 'xcode_settings': { | 232 'xcode_settings': { |
233 'GCC_ENABLE_SSE41_EXTENSIONS': 'YES', | 233 'GCC_ENABLE_SSE41_EXTENSIONS': 'YES', |
234 }, | 234 }, |
235 }], | 235 }], |
236 [ 'target_arch == "x64"', { | 236 [ 'target_arch == "x64"', { |
237 'sources': [ | 237 'sources': [ |
238 '../third_party/skia/src/opts/SkBlitRow_opts_SSE4_x64_asm.S', | 238 '../third_party/skia/src/opts/SkBlitRow_opts_SSE4_x64_asm.S', |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 'defines': [ | 323 'defines': [ |
324 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', | 324 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', |
325 ], | 325 ], |
326 }], | 326 }], |
327 ], | 327 ], |
328 }, | 328 }, |
329 ], | 329 ], |
330 }], | 330 }], |
331 ], | 331 ], |
332 } | 332 } |
OLD | NEW |