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

Side by Side Diff: gyp/utils.gyp

Issue 12963002: Refactor skia_warnings_as_errors (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Use variable instead of disable_warnings_as_errors.gypi Created 7 years, 9 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 | Annotate | Revision Log
« gyp/cityhash.gyp ('K') | « gyp/libjpeg.gyp ('k') | 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 { 1 {
2 'targets': [ 2 'targets': [
3 { 3 {
4 'target_name': 'utils', 4 'target_name': 'utils',
5 'product_name': 'skia_utils', 5 'product_name': 'skia_utils',
6 'type': 'static_library', 6 'type': 'static_library',
7 'standalone_static_library': 1, 7 'standalone_static_library': 1,
8 'dependencies': [ 8 'dependencies': [
9 'cityhash', 9 'cityhash.gyp:cityhash',
10 ], 10 ],
11 'include_dirs': [ 11 'include_dirs': [
12 '../include/config', 12 '../include/config',
13 '../include/core', 13 '../include/core',
14 '../include/effects', 14 '../include/effects',
15 '../include/pipe', 15 '../include/pipe',
16 '../include/utils', 16 '../include/utils',
17 '../include/utils/mac', 17 '../include/utils/mac',
18 '../include/utils/unix', 18 '../include/utils/unix',
19 '../include/utils/win', 19 '../include/utils/win',
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 'sources!': [ 197 'sources!': [
198 '../src/utils/SkThreadUtils_pthread_linux.cpp', 198 '../src/utils/SkThreadUtils_pthread_linux.cpp',
199 '../src/utils/SkCityHash.cpp', 199 '../src/utils/SkCityHash.cpp',
200 '../src/utils/SkCityHash.h', 200 '../src/utils/SkCityHash.h',
201 ], 201 ],
202 'dependencies!': [ 202 'dependencies!': [
203 # CityHash is not supported on NaCl because the NaCl toolchain is 203 # CityHash is not supported on NaCl because the NaCl toolchain is
204 # missing byteswap.h which is needed by CityHash. 204 # missing byteswap.h which is needed by CityHash.
205 # TODO(borenet): Find a way to either provide this dependency or 205 # TODO(borenet): Find a way to either provide this dependency or
206 # replace it. 206 # replace it.
207 'cityhash', 207 'cityhash.gyp:cityhash',
208 ], 208 ],
209 }], 209 }],
210 [ 'skia_os == "android"', { 210 [ 'skia_os == "android"', {
211 'sources': [ 211 'sources': [
212 '../src/utils/android/ashmem.cpp', 212 '../src/utils/android/ashmem.cpp',
213 ], 213 ],
214 }], 214 }],
215 ], 215 ],
216 'direct_dependent_settings': { 216 'direct_dependent_settings': {
217 'include_dirs': [ 217 'include_dirs': [
218 '../include/utils', 218 '../include/utils',
219 ], 219 ],
220 }, 220 },
221 }, 221 },
222 {
223 'target_name': 'cityhash',
224 'type': 'static_library',
225 'standalone_static_library': 1,
226 'include_dirs': [
227 '../include/config',
228 '../include/core',
229 '../src/utils/cityhash',
230 '../third_party/externals/cityhash/src',
231 ],
232 'sources': [
233 '../third_party/externals/cityhash/src/city.cc',
234 ],
235 'direct_dependent_settings': {
236 'include_dirs': [
237 '../third_party/externals/cityhash/src',
238 ],
239 },
240 'conditions': [
241 [ 'skia_os == "mac"', {
242 'xcode_settings': {
243 'OTHER_CPLUSPLUSFLAGS!': [
244 '-Werror',
245 ]
246 },
247 }],
248 [ 'skia_os == "win"', {
249 'msvs_settings': {
250 'VCCLCompilerTool': {
251 'WarnAsError': 'false',
252 },
253 },
254 }],
255 [ 'skia_os == "android"', {
256 'cflags!': [
257 '-Wall',
258 '-Werror',
259 ],
260 }],
261 ['skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl"]', {
262 'cflags!': [
263 '-Werror',
264 ],
265 }],
266 ],
267 },
268 ], 222 ],
269 } 223 }
270 224
271 # Local Variables: 225 # Local Variables:
272 # tab-width:2 226 # tab-width:2
273 # indent-tabs-mode:nil 227 # indent-tabs-mode:nil
274 # End: 228 # End:
275 # vim: set expandtab tabstop=2 shiftwidth=2: 229 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« gyp/cityhash.gyp ('K') | « gyp/libjpeg.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698