Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: skia/skia_library_opts.gyp

Issue 377833002: GN: Fix skia build on mac, use -msse4.1 everywhere (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use -msse4.1 take two Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « skia/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « skia/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698