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

Side by Side Diff: gyp/images.gyp

Issue 1048713003: Revert of WIP: Added support for giflib, updated jpeg and png (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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/giflib.gyp ('k') | platform_tools/android/gyp/dependencies.gypi » ('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
6 # GYP file for images project. 5 # GYP file for images project.
7 { 6 {
8 'targets': [ 7 'targets': [
9 { 8 {
10 'target_name': 'images', 9 'target_name': 'images',
11 'product_name': 'skia_images', 10 'product_name': 'skia_images',
12 'type': 'static_library', 11 'type': 'static_library',
13 'standalone_static_library': 1, 12 'standalone_static_library': 1,
14 'dependencies': [ 13 'dependencies': [
15 'core.gyp:*', 14 'core.gyp:*',
16 'giflib.gyp:giflib',
17 'libjpeg.gyp:*', 15 'libjpeg.gyp:*',
18 'etc1.gyp:libetc1', 16 'etc1.gyp:libetc1',
19 'ktx.gyp:libSkKTX', 17 'ktx.gyp:libSkKTX',
20 'libwebp.gyp:libwebp', 18 'libwebp.gyp:libwebp',
21 'utils.gyp:utils', 19 'utils.gyp:utils',
22 ], 20 ],
23 'include_dirs': [ 21 'include_dirs': [
24 '../include/images', 22 '../include/images',
25 '../src/lazy', 23 '../src/lazy',
26 # for access to SkErrorInternals.h 24 # for access to SkErrorInternals.h
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 '../src/ports/SkImageDecoder_WIC.cpp', 80 '../src/ports/SkImageDecoder_WIC.cpp',
83 ], 81 ],
84 'conditions': [ 82 'conditions': [
85 [ 'skia_os == "win"', { 83 [ 'skia_os == "win"', {
86 'sources!': [ 84 'sources!': [
87 '../src/images/SkImageDecoder_FactoryDefault.cpp', 85 '../src/images/SkImageDecoder_FactoryDefault.cpp',
88 '../src/images/SkImageDecoder_libgif.cpp', 86 '../src/images/SkImageDecoder_libgif.cpp',
89 '../src/images/SkImageDecoder_libpng.cpp', 87 '../src/images/SkImageDecoder_libpng.cpp',
90 '../src/images/SkMovie_gif.cpp', 88 '../src/images/SkMovie_gif.cpp',
91 ], 89 ],
92 'dependencies!': [
93 'giflib.gyp:giflib'
94 ],
95 'link_settings': { 90 'link_settings': {
96 'libraries': [ 91 'libraries': [
97 '-lwindowscodecs.lib', 92 '-lwindowscodecs.lib',
98 ], 93 ],
99 }, 94 },
100 },{ #else if skia_os != win 95 },{ #else if skia_os != win
101 'sources!': [ 96 'sources!': [
102 '../src/ports/SkImageDecoder_WIC.cpp', 97 '../src/ports/SkImageDecoder_WIC.cpp',
103 ], 98 ],
104 }], 99 }],
105 [ 'skia_os in ["mac", "ios"]', { 100 [ 'skia_os in ["mac", "ios"]', {
106 'sources!': [ 101 'sources!': [
107 '../src/images/SkImageDecoder_FactoryDefault.cpp', 102 '../src/images/SkImageDecoder_FactoryDefault.cpp',
108 '../src/images/SkImageDecoder_libpng.cpp', 103 '../src/images/SkImageDecoder_libpng.cpp',
109 '../src/images/SkImageDecoder_libgif.cpp', 104 '../src/images/SkImageDecoder_libgif.cpp',
110 '../src/images/SkMovie_gif.cpp', 105 '../src/images/SkMovie_gif.cpp',
111 ], 106 ],
112 },{ #else if skia_os != mac 107 },{ #else if skia_os != mac
113 'sources!': [ 108 'sources!': [
114 '../src/ports/SkImageDecoder_CG.cpp', 109 '../src/ports/SkImageDecoder_CG.cpp',
115 ], 110 ],
116 }], 111 }],
117 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { 112 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
118 'export_dependent_settings': [ 113 'export_dependent_settings': [
119 'libpng.gyp:libpng', 114 'libpng.gyp:libpng',
115 'giflib.gyp:giflib'
120 ], 116 ],
121 'dependencies': [ 117 'dependencies': [
122 'libpng.gyp:libpng', 118 'libpng.gyp:libpng',
119 'giflib.gyp:giflib'
123 ], 120 ],
124 # end libpng stuff 121 # end libpng/libgif stuff
125 }], 122 }],
126 # FIXME: NaCl should be just like linux, etc, above, but it currently is separated out 123 # FIXME: NaCl should be just like linux, etc, above, but it currently is separated out
127 # to remove gif. Once gif is supported by naclports, this can be merged into the above 124 # to remove gif. Once gif is supported by naclports, this can be merged into the above
128 # condition. 125 # condition.
129 [ 'skia_os == "nacl"', { 126 [ 'skia_os == "nacl"', {
130 'sources!': [ 127 'sources!': [
131 '../src/images/SkImageDecoder_libgif.cpp', 128 '../src/images/SkImageDecoder_libgif.cpp',
132 '../src/images/SkMovie_gif.cpp', 129 '../src/images/SkMovie_gif.cpp',
133 ], 130 ],
134 'dependencies!': [
135 'giflib.gyp:giflib'
136 ],
137 }], 131 }],
138 [ 'skia_os == "android"', { 132 [ 'skia_os == "android"', {
139 'include_dirs': [ 133 'include_dirs': [
140 '../src/utils', 134 '../src/utils',
141 ], 135 ],
142 'dependencies': [ 136 'dependencies': [
137 'android_deps.gyp:gif',
143 'android_deps.gyp:png', 138 'android_deps.gyp:png',
144 ], 139 ],
145 'conditions': [ 140 'conditions': [
146 [ 'skia_android_framework == 0', { 141 [ 'skia_android_framework == 0', {
147 'export_dependent_settings': [ 142 'export_dependent_settings': [
148 'android_deps.gyp:png', 143 'android_deps.gyp:png',
149 'libjpeg.gyp:*' 144 'libjpeg.gyp:*'
150 ], 145 ],
151 }, { 146 }, {
152 # The android framework disables these decoders as they are of lit tle use to 147 # The android framework disables these decoders as they are of lit tle use to
153 # Java applications that can't take advantage of the compressed fo rmats. 148 # Java applications that can't take advantage of the compressed fo rmats.
154 'sources!': [ 149 'sources!': [
155 '../src/images/SkImageDecoder_pkm.cpp', 150 '../src/images/SkImageDecoder_pkm.cpp',
156 '../src/images/SkImageDecoder_ktx.cpp', 151 '../src/images/SkImageDecoder_ktx.cpp',
157 '../src/images/SkImageDecoder_astc.cpp', 152 '../src/images/SkImageDecoder_astc.cpp',
158 ], 153 ],
159 }], 154 }],
160 ], 155 ],
161 }], 156 }],
162 [ 'skia_os == "chromeos"', { 157 [ 'skia_os == "chromeos"', {
163 'dependencies': [ 158 'dependencies': [
164 'libpng.gyp:libpng', 159 'chromeos_deps.gyp:gif',
160 'libpng.gyp:libpng',
165 ], 161 ],
166 }], 162 }],
167 [ 'skia_os == "ios"', { 163 [ 'skia_os == "ios"', {
168 'include_dirs': [ 164 'include_dirs': [
169 '../include/utils/mac', 165 '../include/utils/mac',
170 ], 166 ],
171 }], 167 }],
172 ], 168 ],
173 'direct_dependent_settings': { 169 'direct_dependent_settings': {
174 'include_dirs': [ 170 'include_dirs': [
175 '../include/images', 171 '../include/images',
176 ], 172 ],
177 }, 173 },
178 }, 174 },
179 ], 175 ],
180 } 176 }
OLDNEW
« no previous file with comments | « gyp/giflib.gyp ('k') | platform_tools/android/gyp/dependencies.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698