OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'includes': [ |
| 7 '../../build/common.gypi', |
| 8 ], |
| 9 'targets': [ |
| 10 { |
| 11 'target_name': 'libpng', |
| 12 'type': 'static_library', |
| 13 'dependencies': [ |
| 14 '../zlib/zlib.gyp:zlib', |
| 15 ], |
| 16 'defines': [ |
| 17 'CHROME_PNG_WRITE_SUPPORT', |
| 18 'PNG_USER_CONFIG', |
| 19 ], |
| 20 'sources': [ |
| 21 'png.c', |
| 22 'png.h', |
| 23 'pngconf.h', |
| 24 'pngerror.c', |
| 25 'pnggccrd.c', |
| 26 'pngget.c', |
| 27 'pngmem.c', |
| 28 'pngpread.c', |
| 29 'pngread.c', |
| 30 'pngrio.c', |
| 31 'pngrtran.c', |
| 32 'pngrutil.c', |
| 33 'pngset.c', |
| 34 'pngtrans.c', |
| 35 'pngusr.h', |
| 36 'pngvcrd.c', |
| 37 'pngwio.c', |
| 38 'pngwrite.c', |
| 39 'pngwtran.c', |
| 40 'pngwutil.c', |
| 41 ], |
| 42 'direct_dependent_settings': { |
| 43 'include_dirs': [ |
| 44 '.', |
| 45 ], |
| 46 'defines': [ |
| 47 'CHROME_PNG_WRITE_SUPPORT', |
| 48 'PNG_USER_CONFIG', |
| 49 ], |
| 50 }, |
| 51 'export_dependent_settings': [ |
| 52 '../zlib/zlib.gyp:zlib', |
| 53 ], |
| 54 'conditions': [ |
| 55 ['OS!="win"', {'product_name': 'png'}], |
| 56 ], |
| 57 }, |
| 58 ], |
| 59 } |
OLD | NEW |