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

Side by Side Diff: platform_tools/android/gyp/dependencies.gypi

Issue 1275773004: Switching Skia to chromium's libjpeg-turbo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update DEPS with libjpeg-turbo fix Created 5 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
« no previous file with comments | « gyp/libjpeg-turbo.gyp ('k') | src/codec/SkJpegCodec.cpp » ('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 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This GYP file stores the dependencies necessary to build Skia on the Android 6 # This GYP file stores the dependencies necessary to build Skia on the Android
7 # platform. The OS doesn't provide many stable libraries as part of the 7 # platform. The OS doesn't provide many stable libraries as part of the
8 # distribution so we have to build a few of them ourselves. 8 # distribution so we have to build a few of them ourselves.
9 # 9 #
10 # NOTE: We tried adding the gyp file to the android/ directory at the root of 10 # NOTE: We tried adding the gyp file to the android/ directory at the root of
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 '../third_party/externals/jpeg/jidctfst.c', 176 '../third_party/externals/jpeg/jidctfst.c',
177 '../third_party/externals/jpeg/jidctint.c', 177 '../third_party/externals/jpeg/jidctint.c',
178 '../third_party/externals/jpeg/jidctred.c', 178 '../third_party/externals/jpeg/jidctred.c',
179 '../third_party/externals/jpeg/jmem-ashmem.c', 179 '../third_party/externals/jpeg/jmem-ashmem.c',
180 '../third_party/externals/jpeg/jmemmgr.c', 180 '../third_party/externals/jpeg/jmemmgr.c',
181 '../third_party/externals/jpeg/jquant1.c', 181 '../third_party/externals/jpeg/jquant1.c',
182 '../third_party/externals/jpeg/jquant2.c', 182 '../third_party/externals/jpeg/jquant2.c',
183 '../third_party/externals/jpeg/jutils.c', 183 '../third_party/externals/jpeg/jutils.c',
184 ], 184 ],
185 'conditions': [ 185 'conditions': [
186 [ 'arm_neon == 1 and skia_clang_build == 0', 186 # FIXME (msarett):
187 { 187 # Turn off Arm NEON optimizations to avoid namespace conflicts when
188 'sources' : [ 188 # compiling libjpeg and libjpeg-turbo. This is a temporary step in the
189 '../third_party/externals/jpeg/armv6_idct.S', 189 # plan to replace libjpeg with libjpeg-turbo.
190 '../third_party/externals/jpeg/jsimd_arm_neon.S', 190 #[ 'arm_neon == 1 and skia_clang_build == 0',
191 '../third_party/externals/jpeg/jsimd_neon.c', 191 # {
192 ], 192 # 'sources' : [
193 'defines' : [ 193 # '../third_party/externals/jpeg/armv6_idct.S',
194 'NV_ARM_NEON', 194 # '../third_party/externals/jpeg/jsimd_arm_neon.S',
195 ], 195 # '../third_party/externals/jpeg/jsimd_neon.c',
196 }, 196 # ],
197 ], 197 # 'defines' : [
198 # 'NV_ARM_NEON',
199 # ],
200 # },
201 #],
198 [ '"mips" in skia_arch_type and mips_dsp == 2', 202 [ '"mips" in skia_arch_type and mips_dsp == 2',
199 { 203 {
200 'sources' : [ 204 'sources' : [
201 '../third_party/externals/jpeg/mips_jidctfst.c', 205 '../third_party/externals/jpeg/mips_jidctfst.c',
202 '../third_party/externals/jpeg/mips_idct_le.S', 206 '../third_party/externals/jpeg/mips_idct_le.S',
203 ], 207 ],
204 'defines' : [ 208 'defines' : [
205 'ANDROID_MIPS_IDCT', 209 'ANDROID_MIPS_IDCT',
206 ], 210 ],
207 }, 211 },
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 '../../../tools/VisualBench/', 324 '../../../tools/VisualBench/',
321 ], 325 ],
322 'sources': [ 326 'sources': [
323 '../apps/visualbench/src/main/jni/SkOSWindow_AndroidNative.cpp', 327 '../apps/visualbench/src/main/jni/SkOSWindow_AndroidNative.cpp',
324 '../apps/visualbench/src/main/jni/main.cpp', 328 '../apps/visualbench/src/main/jni/main.cpp',
325 ], 329 ],
326 }, 330 },
327 }, 331 },
328 ] 332 ]
329 } 333 }
OLDNEW
« no previous file with comments | « gyp/libjpeg-turbo.gyp ('k') | src/codec/SkJpegCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698