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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 { | 212 { |
213 'target_name': 'skia_opts_sse4', | 213 'target_name': 'skia_opts_sse4', |
214 'type': 'static_library', | 214 'type': 'static_library', |
215 'includes': [ | 215 'includes': [ |
216 'skia_common.gypi', | 216 'skia_common.gypi', |
217 ], | 217 ], |
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': [ |
| 223 '../third_party/skia/src/opts/SkBlurImage_opts_SSE4.cpp', |
| 224 ], |
222 'conditions': [ | 225 'conditions': [ |
223 [ 'OS in ["linux", "freebsd", "openbsd", "solaris", "android"]', { | 226 [ 'OS in ["linux", "freebsd", "openbsd", "solaris", "android"]', { |
224 'cflags': [ | 227 'cflags': [ |
225 '-msse4', | 228 '-msse4', |
226 ], | 229 ], |
227 }], | 230 }], |
228 [ 'OS == "mac"', { | 231 [ 'OS == "mac"', { |
229 'xcode_settings': { | 232 'xcode_settings': { |
230 'GCC_ENABLE_SSE41_EXTENSIONS': 'YES', | 233 'GCC_ENABLE_SSE41_EXTENSIONS': 'YES', |
231 }, | 234 }, |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 'defines': [ | 323 'defines': [ |
321 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', | 324 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', |
322 ], | 325 ], |
323 }], | 326 }], |
324 ], | 327 ], |
325 }, | 328 }, |
326 ], | 329 ], |
327 }], | 330 }], |
328 ], | 331 ], |
329 } | 332 } |
OLD | NEW |