| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |