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

Side by Side Diff: third_party/libwebp/libwebp.gyp

Issue 95873002: skip neon code in libwebp when neon is explicitly unavailable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't forget arm_neon_optional Created 7 years 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 | « third_party/libwebp/dsp/enc.c ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'libwebp_dec', 8 'target_name': 'libwebp_dec',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies' : [ 10 'dependencies' : [
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 ['_toolset=="target"', { 59 ['_toolset=="target"', {
60 'cflags!': [ '-finstrument-functions' ], 60 'cflags!': [ '-finstrument-functions' ],
61 }], 61 }],
62 ], 62 ],
63 }], 63 }],
64 ], 64 ],
65 }, 65 },
66 { 66 {
67 'target_name': 'libwebp_dsp_neon', 67 'target_name': 'libwebp_dsp_neon',
68 'conditions': [ 68 'conditions': [
69 ['target_arch == "arm" and arm_version >= 7', { 69 ['target_arch == "arm" and arm_version >= 7 and (arm_neon == 1 or arm_ne on_optional == 1)', {
70 'type': 'static_library', 70 'type': 'static_library',
71 'include_dirs': ['.'], 71 'include_dirs': ['.'],
72 'sources': [ 72 'sources': [
73 'dsp/dec_neon.c', 73 'dsp/dec_neon.c',
74 'dsp/enc_neon.c', 74 'dsp/enc_neon.c',
75 'dsp/upsampling_neon.c', 75 'dsp/upsampling_neon.c',
76 ], 76 ],
77 # behavior similar to *.c.neon in an Android.mk 77 # behavior similar to *.c.neon in an Android.mk
78 'cflags!': [ '-mfpu=vfpv3-d16' ], 78 'cflags!': [ '-mfpu=vfpv3-d16' ],
79 'cflags': [ '-mfpu=neon' ], 79 'cflags': [ '-mfpu=neon' ],
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 ], 144 ],
145 'direct_dependent_settings': { 145 'direct_dependent_settings': {
146 'include_dirs': ['.'], 146 'include_dirs': ['.'],
147 }, 147 },
148 'conditions': [ 148 'conditions': [
149 ['OS!="win"', {'product_name': 'webp'}], 149 ['OS!="win"', {'product_name': 'webp'}],
150 ], 150 ],
151 }, 151 },
152 ], 152 ],
153 } 153 }
OLDNEW
« no previous file with comments | « third_party/libwebp/dsp/enc.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698