OLD | NEW |
1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. | 1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': [ | 10 'includes': [ |
11 'libyuv.gypi', | 11 'libyuv.gypi', |
12 ], | 12 ], |
13 # Make sure that if we are being compiled to an xcodeproj, nothing tries to | 13 # Make sure that if we are being compiled to an xcodeproj, nothing tries to |
14 # include a .pch. | 14 # include a .pch. |
15 'xcode_settings': { | 15 'xcode_settings': { |
16 'GCC_PREFIX_HEADER': '', | 16 'GCC_PREFIX_HEADER': '', |
17 'GCC_PRECOMPILE_PREFIX_HEADER': 'NO', | 17 'GCC_PRECOMPILE_PREFIX_HEADER': 'NO', |
18 }, | 18 }, |
19 'variables': { | 19 'variables': { |
20 'use_system_libjpeg%': 0, | 20 'use_system_libjpeg%': 0, |
21 'libyuv_disable_jpeg%': 0, | 21 'libyuv_disable_jpeg%': 0, |
22 # 'chromium_code' treats libyuv as internal and increases warning level. | 22 # 'chromium_code' treats libyuv as internal and increases warning level. |
23 'chromium_code': 1, | 23 'chromium_code': 1, |
24 # clang compiler default variable usable by other apps that include libyuv. | 24 # clang compiler default variable usable by other apps that include libyuv. |
25 'clang%': 0, | 25 'clang%': 0, |
26 # Link-Time Optimizations. | 26 # Link-Time Optimizations. |
27 'use_lto%': 0, | 27 'use_lto%': 0, |
| 28 'mips_msa%': 0, # Default to msa off. |
28 'build_neon': 0, | 29 'build_neon': 0, |
29 'build_msa': 0, | 30 'build_msa': 0, |
30 'conditions': [ | 31 'conditions': [ |
31 ['(target_arch == "armv7" or target_arch == "armv7s" or \ | 32 ['(target_arch == "armv7" or target_arch == "armv7s" or \ |
32 (target_arch == "arm" and arm_version >= 7) or target_arch == "arm64")\ | 33 (target_arch == "arm" and arm_version >= 7) or target_arch == "arm64")\ |
33 and (arm_neon == 1 or arm_neon_optional == 1)', { | 34 and (arm_neon == 1 or arm_neon_optional == 1)', { |
34 'build_neon': 1, | 35 'build_neon': 1, |
35 }], | 36 }], |
36 ['(target_arch == "mipsel" or target_arch == "mips64el")\ | 37 ['(target_arch == "mipsel" or target_arch == "mips64el")\ |
37 and (mips_msa == 1)', | 38 and (mips_msa == 1)', |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 ], | 152 ], |
152 }, | 153 }, |
153 ], # targets. | 154 ], # targets. |
154 } | 155 } |
155 | 156 |
156 # Local Variables: | 157 # Local Variables: |
157 # tab-width:2 | 158 # tab-width:2 |
158 # indent-tabs-mode:nil | 159 # indent-tabs-mode:nil |
159 # End: | 160 # End: |
160 # vim: set expandtab tabstop=2 shiftwidth=2: | 161 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |