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

Side by Side Diff: third_party/libpng/libpng.gyp

Issue 2069593002: Suppress libpng clang warning on GYP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'libpng', 8 'target_name': 'libpng',
9 'dependencies': [ 9 'dependencies': [
10 '../zlib/zlib.gyp:zlib', 10 '../zlib/zlib.gyp:zlib',
11 ], 11 ],
12 'variables': {
13 # libpng checks that the width is not greater than PNG_SIZE_MAX.
14 # On platforms where size_t is 64-bits, this comparison will always
15 # be false.
16 'clang_warning_flags': [ '-Wno-tautological-constant-out-of-range-compar e' ],
17 },
12 'sources': [ 18 'sources': [
13 'png.c', 19 'png.c',
14 'png.h', 20 'png.h',
15 'pngconf.h', 21 'pngconf.h',
16 'pngerror.c', 22 'pngerror.c',
17 'pngget.c', 23 'pngget.c',
18 'pnginfo.h', 24 'pnginfo.h',
19 'pnglibconf.h', 25 'pnglibconf.h',
20 'pngmem.c', 26 'pngmem.c',
21 'pngpread.c', 27 'pngpread.c',
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 ], 100 ],
95 }, 101 },
96 }], 102 }],
97 ['OS=="android"', { 103 ['OS=="android"', {
98 'toolsets': ['target', 'host'], 104 'toolsets': ['target', 'host'],
99 }], 105 }],
100 ], 106 ],
101 }, 107 },
102 ] 108 ]
103 } 109 }
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