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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 'defines': [ | 63 'defines': [ |
64 'PNG_INTEL_SSE_OPT=1', | 64 'PNG_INTEL_SSE_OPT=1', |
65 ], | 65 ], |
66 'sources': [ | 66 'sources': [ |
67 'contrib/intel/intel_init.c', | 67 'contrib/intel/intel_init.c', |
68 'contrib/intel/filter_sse2_intrinsics.c', | 68 'contrib/intel/filter_sse2_intrinsics.c', |
69 ], | 69 ], |
70 }], | 70 }], |
71 | 71 |
72 # ARM optimizations | 72 # ARM optimizations |
73 [ '(target_arch=="arm" or target_arch=="arm64") and OS!="ios"', { | 73 [ '(target_arch=="arm" or target_arch=="arm64") and OS!="ios" and arm_ne
on==1', { |
74 'defines': [ | 74 'defines': [ |
75 'PNG_ARM_NEON_OPT=2', | 75 'PNG_ARM_NEON_OPT=2', |
76 'PNG_ARM_NEON_IMPLEMENTATION=1', | 76 'PNG_ARM_NEON_IMPLEMENTATION=1', |
77 ], | 77 ], |
78 'sources': [ | 78 'sources': [ |
79 'arm/arm_init.c', | 79 'arm/arm_init.c', |
80 'arm/filter_neon_intrinsics.c', | 80 'arm/filter_neon_intrinsics.c', |
81 ], | 81 ], |
82 }], | 82 }], |
83 | 83 |
(...skipping 16 matching lines...) Expand all Loading... |
100 ], | 100 ], |
101 }, | 101 }, |
102 }], | 102 }], |
103 ['OS=="android"', { | 103 ['OS=="android"', { |
104 'toolsets': ['target', 'host'], | 104 'toolsets': ['target', 'host'], |
105 }], | 105 }], |
106 ], | 106 ], |
107 }, | 107 }, |
108 ] | 108 ] |
109 } | 109 } |
OLD | NEW |