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

Side by Side Diff: gyp/libjpeg-turbo.gyp

Issue 1228553010: Remove skia_arch_width, fold into skia_arch_type. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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
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 'xcode_settings': { 6 'xcode_settings': {
7 'SYMROOT': '<(DEPTH)/xcodebuild', 7 'SYMROOT': '<(DEPTH)/xcodebuild',
8 }, 8 },
9 'variables': { 9 'variables': {
10 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/externals/li bjpeg-turbo', 10 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/externals/li bjpeg-turbo',
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 '../third_party/externals/libjpeg-turbo/simd/jsimd_arm.c', 187 '../third_party/externals/libjpeg-turbo/simd/jsimd_arm.c',
188 '../third_party/externals/libjpeg-turbo/simd/jsimd_arm_neon.S', 188 '../third_party/externals/libjpeg-turbo/simd/jsimd_arm_neon.S',
189 ], 189 ],
190 }, { 190 }, {
191 'sources': [ 191 'sources': [
192 '../third_party/externals/libjpeg-turbo/jsimd_none.c', 192 '../third_party/externals/libjpeg-turbo/jsimd_none.c',
193 ], 193 ],
194 }], 194 }],
195 ], 195 ],
196 }], 196 }],
197 [ 'skia_arch_type == "mips"', { 197 [ 'skia_arch_type == "mips64"', {
mtklein 2015/07/09 16:29:57 This is a lot nicer.
198 'conditions': [ 198 'sources': [
199 [ 'skia_arch_width == 64', { 199 '../third_party/externals/libjpeg-turbo/simd/jsimd_mips.c',
200 'sources': [ 200 '../third_party/externals/libjpeg-turbo/simd/jsimd_mips_dspr2_asm.h' ,
201 '../third_party/externals/libjpeg-turbo/simd/jsimd_mips.c', 201 '../third_party/externals/libjpeg-turbo/simd/jsimd_mips_dspr2.S',
202 '../third_party/externals/libjpeg-turbo/simd/jsimd_mips_dspr2_as m.h', 202 ],
203 '../third_party/externals/libjpeg-turbo/simd/jsimd_mips_dspr2.S' , 203 }],
204 ], 204 [ 'skia_arch_type == "mips32"', {
205 }, { 205 'sources': [
206 'sources': [ 206 '../third_party/externals/libjpeg-turbo/jsimd_none.c',
207 '../third_party/externals/libjpeg-turbo/jsimd_none.c',
208 ],
209 }],
210 ], 207 ],
211 }], 208 }],
212 209
213 # Build rules for an asm file. 210 # Build rules for an asm file.
214 # On Windows, we use the precompiled yasm binary. 211 # On Windows, we use the precompiled yasm binary.
215 # On Linux, we build our patched yasm and use it except when use_system_ yasm is 1. 212 # On Linux, we build our patched yasm and use it except when use_system_ yasm is 1.
216 # On Mac, we always build our patched yasm and use it. 213 # On Mac, we always build our patched yasm and use it.
217 [ 'skia_os == "win"', { 214 [ 'skia_os == "win"', {
218 'variables': { 215 'variables': {
219 'yasm_path': '../third_party/externals/yasm/binaries/win/yasm.exe', 216 'yasm_path': '../third_party/externals/yasm/binaries/win/yasm.exe',
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 ], 332 ],
336 'process_outputs_as_sources': 1, 333 'process_outputs_as_sources': 1,
337 'message': 'Building <(RULE_INPUT_ROOT).<(object_suffix)', 334 'message': 'Building <(RULE_INPUT_ROOT).<(object_suffix)',
338 }], 335 }],
339 ] 336 ]
340 }, 337 },
341 ], 338 ],
342 }, 339 },
343 ], 340 ],
344 } 341 }
OLDNEW
« gyp/everything.gyp ('K') | « gyp/everything.gyp ('k') | gyp/tools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698