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

Side by Side Diff: skia/skia_library_opts.gyp

Issue 430253002: Update NEON compiler flags for Skia to use the SK_ prefix. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/skia_common.gypi ('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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp', 58 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp',
59 '../third_party/skia/src/opts/SkXfermode_opts_SSE2.cpp', 59 '../third_party/skia/src/opts/SkXfermode_opts_SSE2.cpp',
60 ], 60 ],
61 'dependencies': [ 61 'dependencies': [
62 'skia_opts_ssse3', 62 'skia_opts_ssse3',
63 'skia_opts_sse4', 63 'skia_opts_sse4',
64 ], 64 ],
65 }], 65 }],
66 [ 'target_arch == "arm"', { 66 [ 'target_arch == "arm"', {
67 'conditions': [ 67 'conditions': [
68 [ 'arm_version >= 7 and arm_neon == 1', {
djsollen 2014/07/31 16:05:54 this is not needed as it is pulled in from the ski
69 'defines': [
70 '__ARM_HAVE_NEON',
71 ],
72 }],
73 [ 'arm_version >= 7 and arm_neon_optional == 1', {
74 'defines': [
75 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT',
76 ],
77 }],
78 [ 'arm_version >= 7 and (arm_neon == 1 or arm_neon_optional == 1)', { 68 [ 'arm_version >= 7 and (arm_neon == 1 or arm_neon_optional == 1)', {
79 'cflags': [ 69 'cflags': [
80 # The neon assembly contains conditional instructions which 70 # The neon assembly contains conditional instructions which
81 # aren't enclosed in an IT block. The assembler complains 71 # aren't enclosed in an IT block. The assembler complains
82 # without this option. 72 # without this option.
83 # See #86592. 73 # See #86592.
84 '-Wa,-mimplicit-it=always', 74 '-Wa,-mimplicit-it=always',
85 ], 75 ],
86 'dependencies': [ 76 'dependencies': [
87 'skia_opts_neon', 77 'skia_opts_neon',
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 '../third_party/skia/src/opts/SkBitmapProcState_matrix_repeat_neon.h ', 315 '../third_party/skia/src/opts/SkBitmapProcState_matrix_repeat_neon.h ',
326 '../third_party/skia/src/opts/SkBlitMask_opts_arm_neon.cpp', 316 '../third_party/skia/src/opts/SkBlitMask_opts_arm_neon.cpp',
327 '../third_party/skia/src/opts/SkBlitRow_opts_arm_neon.cpp', 317 '../third_party/skia/src/opts/SkBlitRow_opts_arm_neon.cpp',
328 '../third_party/skia/src/opts/SkBlurImage_opts_neon.cpp', 318 '../third_party/skia/src/opts/SkBlurImage_opts_neon.cpp',
329 '../third_party/skia/src/opts/SkMorphology_opts_neon.cpp', 319 '../third_party/skia/src/opts/SkMorphology_opts_neon.cpp',
330 '../third_party/skia/src/opts/SkTextureCompression_opts_neon.cpp', 320 '../third_party/skia/src/opts/SkTextureCompression_opts_neon.cpp',
331 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp', 321 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp',
332 '../third_party/skia/src/opts/memset16_neon.S', 322 '../third_party/skia/src/opts/memset16_neon.S',
333 '../third_party/skia/src/opts/memset32_neon.S', 323 '../third_party/skia/src/opts/memset32_neon.S',
334 ], 324 ],
335 'conditions': [
djsollen 2014/07/31 16:05:54 same here
336 ['arm_neon == 1', {
337 'defines': [
338 '__ARM_HAVE_NEON',
339 ],
340 }],
341 ['arm_neon_optional == 1', {
342 'defines': [
343 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT',
344 ],
345 }],
346 ],
347 }, 325 },
348 ], 326 ],
349 }], 327 }],
350 ], 328 ],
351 } 329 }
OLDNEW
« no previous file with comments | « skia/skia_common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698