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

Side by Side Diff: gyp/images.gyp

Issue 1406153015: Remove dependencies on Android's forked decoder libraries (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Focus on modifying gyp files 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
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 # GYP file for images project. 6 # GYP file for images project.
7 { 7 {
8 'targets': [ 8 'targets': [
9 { 9 {
10 'target_name': 'images', 10 'target_name': 'images',
11 'product_name': 'skia_images', 11 'product_name': 'skia_images',
12 'type': 'static_library', 12 'type': 'static_library',
13 'standalone_static_library': 1, 13 'standalone_static_library': 1,
14 'dependencies': [ 14 'dependencies': [
15 'core.gyp:*', 15 'core.gyp:*',
16 'giflib.gyp:giflib', 16 'giflib.gyp:giflib',
17 'libjpeg.gyp:*', 17 'libjpeg-turbo.gyp:libjpeg-turbo',
msarett 2015/11/05 15:39:59 This file still needs to be fixed.
18 'etc1.gyp:libetc1', 18 'etc1.gyp:libetc1',
19 'ktx.gyp:libSkKTX', 19 'ktx.gyp:libSkKTX',
20 'libwebp.gyp:libwebp', 20 'libwebp.gyp:libwebp',
21 'utils.gyp:utils', 21 'utils.gyp:utils',
22 ], 22 ],
23 'include_dirs': [ 23 'include_dirs': [
24 '../include/images', 24 '../include/images',
25 '../include/private', 25 '../include/private',
26 '../src/lazy', 26 '../src/lazy',
27 # for access to SkErrorInternals.h 27 # for access to SkErrorInternals.h
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 ], 121 ],
122 'dependencies': [ 122 'dependencies': [
123 'libpng.gyp:libpng', 123 'libpng.gyp:libpng',
124 ], 124 ],
125 # end libpng stuff 125 # end libpng stuff
126 }], 126 }],
127 [ 'skia_os == "android"', { 127 [ 'skia_os == "android"', {
128 'include_dirs': [ 128 'include_dirs': [
129 '../src/utils', 129 '../src/utils',
130 ], 130 ],
131 'dependencies': [
132 'android_deps.gyp:png',
133 ],
134 'cflags' : [ 131 'cflags' : [
135 # SkImageDecoder_libpng includes png.h. 132 # SkImageDecoder_libpng includes png.h.
136 # In the version of libpng that we use on Android (1.2.46), 133 # In the version of libpng that we use on Android (1.2.46),
137 # there is a missing space between a literal and an identifier 134 # there is a missing space between a literal and an identifier
138 # in png.h, triggering a warning in C++11. 135 # in png.h, triggering a warning in C++11.
139 '-Wno-literal-suffix', 136 '-Wno-literal-suffix',
140 ], 137 ],
141 'conditions': [ 138 'conditions': [
142 [ 'skia_android_framework == 0', { 139 [ 'skia_android_framework == 0', {
140 'dependencies': [
141 'libpng.gyp:libpng',
142 ],
143 'export_dependent_settings': [ 143 'export_dependent_settings': [
144 'android_deps.gyp:png', 144 'libpng.gyp:libpng',
145 'libjpeg.gyp:*'
146 ], 145 ],
147 }, { 146 }, {
148 # 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
149 # 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.
150 'sources!': [ 149 'sources!': [
151 '../src/images/SkImageDecoder_pkm.cpp', 150 '../src/images/SkImageDecoder_pkm.cpp',
152 '../src/images/SkImageDecoder_ktx.cpp', 151 '../src/images/SkImageDecoder_ktx.cpp',
153 '../src/images/SkImageDecoder_astc.cpp', 152 '../src/images/SkImageDecoder_astc.cpp',
154 ], 153 ],
154 'dependencies': [
155 'android_deps.gyp:png',
156 ],
155 }], 157 }],
156 ], 158 ],
157 }], 159 }],
158 [ 'skia_os == "chromeos"', { 160 [ 'skia_os == "chromeos"', {
159 'dependencies': [ 161 'dependencies': [
160 'libpng.gyp:libpng', 162 'libpng.gyp:libpng',
161 ], 163 ],
162 }], 164 }],
163 [ 'skia_os == "ios"', { 165 [ 'skia_os == "ios"', {
164 'include_dirs': [ 166 'include_dirs': [
165 '../include/utils/mac', 167 '../include/utils/mac',
166 ], 168 ],
167 }], 169 }],
168 ], 170 ],
169 'direct_dependent_settings': { 171 'direct_dependent_settings': {
170 'include_dirs': [ 172 'include_dirs': [
171 '../include/images', 173 '../include/images',
172 ], 174 ],
173 }, 175 },
174 }, 176 },
175 ], 177 ],
176 } 178 }
OLDNEW
« gyp/common_conditions.gypi ('K') | « gyp/dm.gypi ('k') | gyp/libjpeg.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698