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

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

Issue 2074363002: skip neon intrinsics in libpng when neon is not available (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « third_party/libpng/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 (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': 'libpng', 8 'target_name': 'libpng',
9 'dependencies': [ 9 'dependencies': [
10 '../zlib/zlib.gyp:zlib', 10 '../zlib/zlib.gyp:zlib',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 'defines': [ 63 'defines': [
64 'PNG_INTEL_SSE_OPT=1', 64 'PNG_INTEL_SSE_OPT=1',
65 ], 65 ],
66 'sources': [ 66 'sources': [
67 'contrib/intel/intel_init.c', 67 'contrib/intel/intel_init.c',
68 'contrib/intel/filter_sse2_intrinsics.c', 68 'contrib/intel/filter_sse2_intrinsics.c',
69 ], 69 ],
70 }], 70 }],
71 71
72 # ARM optimizations 72 # ARM optimizations
73 [ '(target_arch=="arm" or target_arch=="arm64") and OS!="ios"', { 73 [ '(target_arch=="arm" or target_arch=="arm64") and OS!="ios" and arm_ne on==1', {
74 'defines': [ 74 'defines': [
75 'PNG_ARM_NEON_OPT=2', 75 'PNG_ARM_NEON_OPT=2',
76 'PNG_ARM_NEON_IMPLEMENTATION=1', 76 'PNG_ARM_NEON_IMPLEMENTATION=1',
77 ], 77 ],
78 'sources': [ 78 'sources': [
79 'arm/arm_init.c', 79 'arm/arm_init.c',
80 'arm/filter_neon_intrinsics.c', 80 'arm/filter_neon_intrinsics.c',
81 ], 81 ],
82 }], 82 }],
83 83
(...skipping 16 matching lines...) Expand all
100 ], 100 ],
101 }, 101 },
102 }], 102 }],
103 ['OS=="android"', { 103 ['OS=="android"', {
104 'toolsets': ['target', 'host'], 104 'toolsets': ['target', 'host'],
105 }], 105 }],
106 ], 106 ],
107 }, 107 },
108 ] 108 ]
109 } 109 }
OLDNEW
« no previous file with comments | « third_party/libpng/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698