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

Side by Side Diff: gyp/codec.gyp

Issue 1406153015: Remove dependencies on Android's forked decoder libraries (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | gyp/images.gyp » ('j') | gyp/libjpeg.gyp » ('J')
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 # Copyright 2015 Google Inc. 5 # Copyright 2015 Google Inc.
6 # 6 #
7 # Use of this source code is governed by a BSD-style license that can be 7 # Use of this source code is governed by a BSD-style license that can be
8 # found in the LICENSE file. 8 # found in the LICENSE file.
9 9
10 # GYP file for codec project. 10 # GYP file for codec project.
11 { 11 {
12 'targets': [ 12 'targets': [
13 { 13 {
14 'target_name': 'codec', 14 'target_name': 'codec',
15 'product_name': 'skia_codec', 15 'product_name': 'skia_codec',
16 'type': 'static_library', 16 'type': 'static_library',
17 'standalone_static_library': 1, 17 'standalone_static_library': 1,
18 'dependencies': [ 18 'dependencies': [
19 'core.gyp:*', 19 'core.gyp:*',
20 'giflib.gyp:giflib', 20 'giflib.gyp:giflib',
21 'libjpeg-turbo.gyp:libjpeg-turbo',
scroggo 2015/11/04 19:28:23 I think you need to update libjpeg-turbo.gyp to ha
msarett 2015/11/05 15:00:56 You're right, there's quite a bit more gyp work to
21 'libwebp.gyp:libwebp', 22 'libwebp.gyp:libwebp',
22 ], 23 ],
23 'cflags':[ 24 'cflags':[
24 # FIXME: This gets around a longjmp warning. See 25 # FIXME: This gets around a longjmp warning. See
25 # http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu- GCC-x86_64-Release-Trybot/builds/113/steps/build%20most/logs/stdio 26 # http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu- GCC-x86_64-Release-Trybot/builds/113/steps/build%20most/logs/stdio
26 '-Wno-clobbered', 27 '-Wno-clobbered',
27 ], 28 ],
28 'include_dirs': [ 29 'include_dirs': [
29 '../include/codec', 30 '../include/codec',
30 '../include/private', 31 '../include/private',
(...skipping 28 matching lines...) Expand all
59 ], 60 ],
60 }, 61 },
61 'conditions': [ 62 'conditions': [
62 [ 'skia_android_framework == 1', 63 [ 'skia_android_framework == 1',
63 { 64 {
64 # TODO(djsollen): this is a temporary dependency until we can update 65 # TODO(djsollen): this is a temporary dependency until we can update
65 # the android framework to a more recent version of libpng. 66 # the android framework to a more recent version of libpng.
66 'dependencies': [ 67 'dependencies': [
67 'libpng.gyp:libpng', 68 'libpng.gyp:libpng',
68 ], 69 ],
69 # TODO(msarett): Add libjpeg-turbo to Android so we can compile SkJp egCodec
70 # for the framework.
71 'sources!': [
72 '../src/codec/SkJpegCodec.cpp',
73 '../src/codec/SkJpegDecoderMgr.cpp',
74 '../src/codec/SkJpegUtility_codec.cpp',
75 ],
76 }, { # !skia_android_framework 70 }, { # !skia_android_framework
77 'dependencies': [ 71 'dependencies': [
78 # TODO(msarett): Add libjpeg-turbo to Android so this can be a glo bal
79 # dependency.
80 'libjpeg-turbo.gyp:libjpeg-turbo',
81 'libpng.gyp:libpng_static', 72 'libpng.gyp:libpng_static',
82 ], 73 ],
83 'export_dependent_settings': [ 74 'export_dependent_settings': [
84 'libjpeg-turbo.gyp:libjpeg-turbo', 75 'libjpeg-turbo.gyp:libjpeg-turbo',
85 ], 76 ],
86 'defines': [ 77 'defines': [
87 'TURBO_HAS_SKIP', 78 'TURBO_HAS_SKIP',
88 ], 79 ],
89 } 80 }
90 ] 81 ]
91 ] 82 ]
92 }, 83 },
93 ], 84 ],
94 } 85 }
OLDNEW
« no previous file with comments | « no previous file | gyp/images.gyp » ('j') | gyp/libjpeg.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698