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', |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 }], | 60 }], |
61 ['OS=="win" and component=="shared_library"', { | 61 ['OS=="win" and component=="shared_library"', { |
62 'defines': [ | 62 'defines': [ |
63 'PNG_BUILD_DLL', | 63 'PNG_BUILD_DLL', |
64 'PNG_NO_MODULEDEF', | 64 'PNG_NO_MODULEDEF', |
65 ], | 65 ], |
66 'direct_dependent_settings': { | 66 'direct_dependent_settings': { |
67 'defines': [ | 67 'defines': [ |
68 'PNG_USE_DLL', | 68 'PNG_USE_DLL', |
69 ], | 69 ], |
70 }, | 70 }, |
71 }], | 71 }], |
72 ['OS=="android"', { | 72 ['OS=="android"', { |
73 'toolsets': ['target', 'host'], | 73 'toolsets': ['target', 'host'], |
74 }], | 74 }], |
| 75 ['target_arch=="arm"', { |
| 76 'sources': [ |
| 77 'arm/arm_init.c', |
| 78 'arm/filter_neon.S', |
| 79 ], |
| 80 }], |
| 81 ['OS=="android" and target_arch=="arm"', { |
| 82 'include_dirs': [ |
| 83 "../android_tools/ndk/sources/cpufeatures/", |
| 84 ], |
| 85 }], |
75 ], | 86 ], |
76 }, | 87 }, |
77 ] | 88 ] |
78 } | 89 } |
OLD | NEW |