| 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 'toolsets': ['target', 'host'], | |
| 10 'dependencies': [ | 9 'dependencies': [ |
| 11 '../zlib/zlib.gyp:zlib', | 10 '../zlib/zlib.gyp:zlib', |
| 12 ], | 11 ], |
| 13 'defines': [ | 12 'defines': [ |
| 14 'CHROME_PNG_WRITE_SUPPORT', | 13 'CHROME_PNG_WRITE_SUPPORT', |
| 15 'PNG_USER_CONFIG', | 14 'PNG_USER_CONFIG', |
| 16 ], | 15 ], |
| 17 'sources': [ | 16 'sources': [ |
| 18 'png.c', | 17 'png.c', |
| 19 'png.h', | 18 'png.h', |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 }], | 60 }], |
| 62 ['OS=="win" and component=="shared_library"', { | 61 ['OS=="win" and component=="shared_library"', { |
| 63 'defines': [ | 62 'defines': [ |
| 64 'PNG_BUILD_DLL', | 63 'PNG_BUILD_DLL', |
| 65 'PNG_NO_MODULEDEF', | 64 'PNG_NO_MODULEDEF', |
| 66 ], | 65 ], |
| 67 'direct_dependent_settings': { | 66 'direct_dependent_settings': { |
| 68 'defines': [ | 67 'defines': [ |
| 69 'PNG_USE_DLL', | 68 'PNG_USE_DLL', |
| 70 ], | 69 ], |
| 71 }, | 70 }, |
| 72 }], | 71 }], |
| 73 ['OS=="android" and _toolset=="target"', { | 72 ['OS=="android"', { |
| 74 'includes': [ | 73 'toolsets': ['target', 'host'], |
| 75 "../../build/android/cpufeatures.gypi", | |
| 76 ], | |
| 77 }], | |
| 78 ['target_arch=="arm"', { | |
| 79 'sources': [ | |
| 80 'arm/arm_init.c', | |
| 81 'arm/filter_neon.S', | |
| 82 ], | |
| 83 }], | 74 }], |
| 84 ], | 75 ], |
| 85 }, | 76 }, |
| 86 ] | 77 ] |
| 87 } | 78 } |
| OLD | NEW |