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

Side by Side Diff: libjpeg.gyp

Issue 1953443002: Update to libjpeg_turbo 1.4.90 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Patch Set: Created 4 years, 7 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 | « jversion.h ('k') | libjpeg.txt » ('j') | 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 # This file is not used when use_system_libjpeg==1. Settings for building with 6 # This file is not used when use_system_libjpeg==1. Settings for building with
7 # the system libjpeg is in third_party/libjpeg/libjpeg.gyp. 7 # the system libjpeg is in third_party/libjpeg/libjpeg.gyp.
8 'variables': { 8 'variables': {
9 'use_system_yasm%': 0,
9 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb o', 10 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb o',
10 'conditions': [ 11 'conditions': [
11 [ 'OS=="win"', { 12 [ 'OS=="win"', {
12 'object_suffix': 'obj', 13 'object_suffix': 'obj',
13 }, { 14 }, {
14 'object_suffix': 'o', 15 'object_suffix': 'o',
15 }], 16 }],
16 ], 17 ],
17 }, 18 },
18 'targets': [ 19 'targets': [
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 # VS2010 does not correctly incrementally link obj files generated 95 # VS2010 does not correctly incrementally link obj files generated
95 # from asm files. This flag disables UseLibraryDependencyInputs to 96 # from asm files. This flag disables UseLibraryDependencyInputs to
96 # avoid this problem. 97 # avoid this problem.
97 'msvs_2010_disable_uldi_when_referenced': 1, 98 'msvs_2010_disable_uldi_when_referenced': 1,
98 'conditions': [ 99 'conditions': [
99 [ 'OS!="win"', {'product_name': 'jpeg_turbo'}], 100 [ 'OS!="win"', {'product_name': 'jpeg_turbo'}],
100 # Add target-specific source files. 101 # Add target-specific source files.
101 [ 'target_arch=="ia32"', { 102 [ 'target_arch=="ia32"', {
102 'sources': [ 103 'sources': [
103 'simd/jsimd_i386.c', 104 'simd/jsimd_i386.c',
104 'simd/jccolmmx.asm', 105 'simd/jccolor-mmx.asm',
105 'simd/jccolss2.asm', 106 'simd/jccolor-sse2.asm',
106 'simd/jcgrammx.asm', 107 'simd/jcgray-mmx.asm',
107 'simd/jcgrass2.asm', 108 'simd/jcgray-sse2.asm',
108 'simd/jcqnt3dn.asm', 109 'simd/jchuff-sse2.asm',
109 'simd/jcqntmmx.asm', 110 'simd/jcsample-mmx.asm',
110 'simd/jcqnts2f.asm', 111 'simd/jcsample-sse2.asm',
111 'simd/jcqnts2i.asm', 112 'simd/jdcolor-mmx.asm',
112 'simd/jcqntsse.asm', 113 'simd/jdcolor-sse2.asm',
113 'simd/jcsammmx.asm', 114 'simd/jdmerge-mmx.asm',
114 'simd/jcsamss2.asm', 115 'simd/jdmerge-sse2.asm',
115 'simd/jdcolmmx.asm', 116 'simd/jdsample-mmx.asm',
116 'simd/jdcolss2.asm', 117 'simd/jdsample-sse2.asm',
117 'simd/jdmermmx.asm', 118 'simd/jfdctflt-3dn.asm',
118 'simd/jdmerss2.asm', 119 'simd/jfdctflt-sse.asm',
119 'simd/jdsammmx.asm', 120 'simd/jfdctfst-mmx.asm',
120 'simd/jdsamss2.asm', 121 'simd/jfdctfst-sse2.asm',
121 'simd/jf3dnflt.asm', 122 'simd/jfdctint-mmx.asm',
122 'simd/jfmmxfst.asm', 123 'simd/jfdctint-sse2.asm',
123 'simd/jfmmxint.asm', 124 'simd/jidctflt-3dn.asm',
124 'simd/jfss2fst.asm', 125 'simd/jidctflt-sse2.asm',
125 'simd/jfss2int.asm', 126 'simd/jidctflt-sse.asm',
126 'simd/jfsseflt.asm', 127 'simd/jidctfst-mmx.asm',
127 'simd/ji3dnflt.asm', 128 'simd/jidctfst-sse2.asm',
128 'simd/jimmxfst.asm', 129 'simd/jidctint-mmx.asm',
129 'simd/jimmxint.asm', 130 'simd/jidctint-sse2.asm',
130 'simd/jimmxred.asm', 131 'simd/jidctred-mmx.asm',
131 'simd/jiss2flt.asm', 132 'simd/jidctred-sse2.asm',
132 'simd/jiss2fst.asm', 133 'simd/jquant-3dn.asm',
133 'simd/jiss2int.asm', 134 'simd/jquantf-sse2.asm',
134 'simd/jiss2red.asm', 135 'simd/jquanti-sse2.asm',
135 'simd/jisseflt.asm', 136 'simd/jquant-mmx.asm',
137 'simd/jquant-sse.asm',
136 'simd/jsimdcpu.asm', 138 'simd/jsimdcpu.asm',
137 ], 139 ],
138 }], 140 }],
139 [ 'target_arch=="x64" and msan!=1', { 141 [ 'target_arch=="x64" and msan!=1', {
140 'sources': [ 142 'sources': [
141 'simd/jsimd_x86_64.c', 143 'simd/jsimd_x86_64.c',
142 'simd/jccolss2-64.asm', 144 'simd/jccolor-sse2-64.asm',
143 'simd/jcgrass2-64.asm', 145 'simd/jcgray-sse2-64.asm',
144 'simd/jcqnts2f-64.asm', 146 'simd/jchuff-sse2-64.asm',
145 'simd/jcqnts2i-64.asm', 147 'simd/jcsample-sse2-64.asm',
146 'simd/jcsamss2-64.asm', 148 'simd/jdcolor-sse2-64.asm',
147 'simd/jdcolss2-64.asm', 149 'simd/jdmerge-sse2-64.asm',
148 'simd/jdmerss2-64.asm', 150 'simd/jdsample-sse2-64.asm',
149 'simd/jdsamss2-64.asm', 151 'simd/jfdctflt-sse-64.asm',
150 'simd/jfss2fst-64.asm', 152 'simd/jfdctfst-sse2-64.asm',
151 'simd/jfss2int-64.asm', 153 'simd/jfdctint-sse2-64.asm',
152 'simd/jfsseflt-64.asm', 154 'simd/jidctflt-sse2-64.asm',
153 'simd/jiss2flt-64.asm', 155 'simd/jidctfst-sse2-64.asm',
154 'simd/jiss2fst-64.asm', 156 'simd/jidctint-sse2-64.asm',
155 'simd/jiss2int-64.asm', 157 'simd/jidctred-sse2-64.asm',
156 'simd/jiss2red-64.asm', 158 'simd/jquantf-sse2-64.asm',
159 'simd/jquanti-sse2-64.asm',
157 ], 160 ],
158 }], 161 }],
159 # MemorySanitizer doesn't support assembly code, so keep it disabled in 162 # MemorySanitizer doesn't support assembly code, so keep it disabled in
160 # MSan builds for now. 163 # MSan builds for now.
161 [ 'msan==1', { 164 [ 'msan==1', {
162 'sources': [ 165 'sources': [
163 'jsimd_none.c', 166 'jsimd_none.c',
164 ], 167 ],
165 }], 168 }],
166 # The ARM SIMD implementation can be used for devices that support 169 # The ARM SIMD implementation can be used for devices that support
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 [ 'OS=="win"', { 203 [ 'OS=="win"', {
201 'variables': { 204 'variables': {
202 'yasm_path': '../yasm/binaries/win/yasm<(EXECUTABLE_SUFFIX)', 205 'yasm_path': '../yasm/binaries/win/yasm<(EXECUTABLE_SUFFIX)',
203 'conditions': [ 206 'conditions': [
204 [ 'target_arch=="ia32"', { 207 [ 'target_arch=="ia32"', {
205 'yasm_format': '-fwin32', 208 'yasm_format': '-fwin32',
206 'yasm_flags': [ 209 'yasm_flags': [
207 '-D__x86__', 210 '-D__x86__',
208 '-DWIN32', 211 '-DWIN32',
209 '-DMSVC', 212 '-DMSVC',
210 '-Iwin/'
211 ], 213 ],
212 }, { 214 }, {
213 'yasm_format': '-fwin64', 215 'yasm_format': '-fwin64',
214 'yasm_flags': [ 216 'yasm_flags': [
215 '-D__x86_64__', 217 '-D__x86_64__',
216 '-DWIN64', 218 '-DWIN64',
217 '-DMSVC', 219 '-DMSVC',
218 '-Iwin/'
219 ], 220 ],
220 }], 221 }],
221 ], 222 ],
222 }, 223 },
223 }], 224 }],
224 [ 'OS=="mac" or OS=="ios"', { 225 [ 'OS=="mac" or OS=="ios"', {
225 'dependencies': [ 226 'dependencies': [
226 '../yasm/yasm.gyp:yasm#host', 227 '../yasm/yasm.gyp:yasm#host',
227 ], 228 ],
228 'variables': { 229 'variables': {
229 'yasm_path': '<(PRODUCT_DIR)/yasm', 230 'yasm_path': '<(PRODUCT_DIR)/yasm',
230 'conditions': [ 231 'conditions': [
231 [ 'target_arch=="ia32"', { 232 [ 'target_arch=="ia32"', {
232 'yasm_format': '-fmacho', 233 'yasm_format': '-fmacho',
233 'yasm_flags': [ 234 'yasm_flags': [
234 '-D__x86__', 235 '-D__x86__',
235 '-DMACHO', 236 '-DMACHO',
236 '-Imac/'
237 ], 237 ],
238 }, { 238 }, {
239 'yasm_format': '-fmacho64', 239 'yasm_format': '-fmacho64',
240 'yasm_flags': [ 240 'yasm_flags': [
241 '-D__x86_64__', 241 '-D__x86_64__',
242 '-DMACHO', 242 '-DMACHO',
243 '-Imac/'
244 ], 243 ],
245 }], 244 }],
246 ], 245 ],
247 }, 246 },
248 }], 247 }],
249 [ 'OS=="linux" or OS=="freebsd" or (OS=="android" and (target_arch=="ia3 2" or target_arch=="x64"))', { 248 [ 'OS=="linux" or OS=="freebsd" or (OS=="android" and (target_arch=="ia3 2" or target_arch=="x64"))', {
250 'conditions': [ 249 'conditions': [
251 [ 'use_system_yasm==0', { 250 [ 'use_system_yasm==0', {
252 'dependencies': [ 251 'dependencies': [
253 '../yasm/yasm.gyp:yasm#host', 252 '../yasm/yasm.gyp:yasm#host',
254 ], 253 ],
255 }], 254 }],
256 ], 255 ],
257 'variables': { 256 'variables': {
258 'conditions': [ 257 'conditions': [
259 [ 'use_system_yasm==1', { 258 [ 'use_system_yasm==1', {
260 'yasm_path': '<!(which yasm)', 259 'yasm_path': '<!(which yasm)',
261 }, { 260 }, {
262 'yasm_path': '<(PRODUCT_DIR)/yasm', 261 'yasm_path': '<(PRODUCT_DIR)/yasm',
263 }], 262 }],
264 [ 'target_arch=="ia32"', { 263 [ 'target_arch=="ia32"', {
265 'yasm_format': '-felf', 264 'yasm_format': '-felf',
266 'yasm_flags': [ 265 'yasm_flags': [
267 '-D__x86__', 266 '-D__x86__',
268 '-DELF', 267 '-DELF',
269 '-Ilinux/'
270 ], 268 ],
271 }, { 269 }, {
272 'yasm_format': '-felf64', 270 'yasm_format': '-felf64',
273 'yasm_flags': [ 271 'yasm_flags': [
274 '-D__x86_64__', 272 '-D__x86_64__',
275 '-DELF', 273 '-DELF',
276 '-Ilinux/'
277 ], 274 ],
278 }], 275 }],
279 ], 276 ],
280 }, 277 },
281 }], 278 }],
282 ], 279 ],
283 'rules': [ 280 'rules': [
284 { 281 {
285 'rule_name': 'assemble', 282 'rule_name': 'assemble',
286 'extension': 'asm', 283 'extension': 'asm',
(...skipping 21 matching lines...) Expand all
308 ], 305 ],
309 }, 306 },
310 ], 307 ],
311 } 308 }
312 309
313 # Local Variables: 310 # Local Variables:
314 # tab-width:2 311 # tab-width:2
315 # indent-tabs-mode:nil 312 # indent-tabs-mode:nil
316 # End: 313 # End:
317 # vim: set expandtab tabstop=2 shiftwidth=2: 314 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « jversion.h ('k') | libjpeg.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698