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': 'libwebp_dec', | 8 'target_name': 'libwebp_dec', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies' : [ | 10 'dependencies' : [ |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 }], | 76 }], |
77 ], | 77 ], |
78 }], | 78 }], |
79 ], | 79 ], |
80 }, | 80 }, |
81 { | 81 { |
82 'target_name': 'libwebp_dsp_neon', | 82 'target_name': 'libwebp_dsp_neon', |
83 'includes' : [ | 83 'includes' : [ |
84 # Disable LTO due to Neon issues. | 84 # Disable LTO due to Neon issues. |
85 # crbug.com/408997 | 85 # crbug.com/408997 |
86 '../../build/android/disable_lto.gypi', | 86 '../../build/android/disable_gcc_lto.gypi', |
87 ], | 87 ], |
88 'conditions': [ | 88 'conditions': [ |
89 # iOS uses the same project to generate build project for both device | 89 # iOS uses the same project to generate build project for both device |
90 # and simulator and do not use "target_arch" variable. Other platform | 90 # and simulator and do not use "target_arch" variable. Other platform |
91 # set it correctly. | 91 # set it correctly. |
92 ['OS == "ios" or (target_arch == "arm" and arm_version >= 7 and (arm_neo
n == 1 or arm_neon_optional == 1)) or (target_arch == "arm64")', { | 92 ['OS == "ios" or (target_arch == "arm" and arm_version >= 7 and (arm_neo
n == 1 or arm_neon_optional == 1)) or (target_arch == "arm64")', { |
93 'type': 'static_library', | 93 'type': 'static_library', |
94 'include_dirs': ['.'], | 94 'include_dirs': ['.'], |
95 'sources': [ | 95 'sources': [ |
96 'dsp/dec_neon.c', | 96 'dsp/dec_neon.c', |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 ], | 197 ], |
198 'direct_dependent_settings': { | 198 'direct_dependent_settings': { |
199 'include_dirs': ['.'], | 199 'include_dirs': ['.'], |
200 }, | 200 }, |
201 'conditions': [ | 201 'conditions': [ |
202 ['OS!="win"', {'product_name': 'webp'}], | 202 ['OS!="win"', {'product_name': 'webp'}], |
203 ], | 203 ], |
204 }, | 204 }, |
205 ], | 205 ], |
206 } | 206 } |
OLD | NEW |