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

Side by Side Diff: gyp/images.gyp

Issue 510913003: Disable bitmap decoders for GPU specific formats on Android framework (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # GYP file for images project. 1 # GYP file for images project.
2 { 2 {
3 'targets': [ 3 'targets': [
4 { 4 {
5 'target_name': 'images', 5 'target_name': 'images',
6 'product_name': 'skia_images', 6 'product_name': 'skia_images',
7 'type': 'static_library', 7 'type': 'static_library',
8 'standalone_static_library': 1, 8 'standalone_static_library': 1,
9 'dependencies': [ 9 'dependencies': [
10 'core.gyp:*', 10 'core.gyp:*',
11 'libjpeg.gyp:*', 11 'libjpeg.gyp:*',
12 'etc1.gyp:libetc1', 12 'etc1.gyp:libetc1',
13 'ktx.gyp:libSkKTX', 13 'ktx.gyp:libSkKTX',
14 'libwebp.gyp:libwebp', 14 'libwebp.gyp:libwebp',
15 'utils.gyp:utils', 15 'utils.gyp:utils',
16 ], 16 ],
17 'conditions': [
18 [ 'skia_android_framework == 0', {
19 'export_dependent_settings': [
20 'libjpeg.gyp:*',
21 ],
22 }],
23 ],
24 'include_dirs': [ 17 'include_dirs': [
25 '../include/images', 18 '../include/images',
26 '../src/lazy', 19 '../src/lazy',
27 # for access to SkErrorInternals.h 20 # for access to SkErrorInternals.h
28 '../src/core/', 21 '../src/core/',
29 # for access to SkImagePriv.h 22 # for access to SkImagePriv.h
30 '../src/image/', 23 '../src/image/',
31 ], 24 ],
32 'sources': [ 25 'sources': [
33 '../include/images/SkDecodingImageGenerator.h', 26 '../include/images/SkDecodingImageGenerator.h',
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 'include_dirs': [ 127 'include_dirs': [
135 '../src/utils', 128 '../src/utils',
136 ], 129 ],
137 'dependencies': [ 130 'dependencies': [
138 'android_deps.gyp:gif', 131 'android_deps.gyp:gif',
139 'android_deps.gyp:png', 132 'android_deps.gyp:png',
140 ], 133 ],
141 'conditions': [ 134 'conditions': [
142 [ 'skia_android_framework == 0', { 135 [ 'skia_android_framework == 0', {
143 'export_dependent_settings': [ 136 'export_dependent_settings': [
144 'android_deps.gyp:png' 137 'android_deps.gyp:png',
138 'libjpeg.gyp:*'
139 ],
140 }, {
141 # The android framework disables these decoders as they are of lit tle use to
142 # Java applications that can't take advantage of the compressed fo rmats.
143 'sources!': [
robertphillips 2014/08/27 20:15:48 I thought Android did support ETC1 compressed imag
144 '../src/images/SkImageDecoder_pkm.cpp',
145 '../src/images/SkImageDecoder_ktx.cpp',
146 '../src/images/SkImageDecoder_astc.cpp',
145 ], 147 ],
146 }], 148 }],
147 ], 149 ],
148 }], 150 }],
149 [ 'skia_os == "chromeos"', { 151 [ 'skia_os == "chromeos"', {
150 'dependencies': [ 152 'dependencies': [
151 'chromeos_deps.gyp:gif', 153 'chromeos_deps.gyp:gif',
152 'libpng.gyp:libpng', 154 'libpng.gyp:libpng',
153 ], 155 ],
154 }], 156 }],
155 [ 'skia_os == "ios"', { 157 [ 'skia_os == "ios"', {
156 'include_dirs': [ 158 'include_dirs': [
157 '../include/utils/mac', 159 '../include/utils/mac',
158 ], 160 ],
159 }], 161 }],
160 ], 162 ],
161 'direct_dependent_settings': { 163 'direct_dependent_settings': {
162 'include_dirs': [ 164 'include_dirs': [
163 '../include/images', 165 '../include/images',
164 ], 166 ],
165 }, 167 },
166 }, 168 },
167 ], 169 ],
168 } 170 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698