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 'variables': { | 10 'variables': { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 # TODO(YangZhang): These lines can be removed when high accuracy | 84 # TODO(YangZhang): These lines can be removed when high accuracy |
85 # YUV to RGB to Neon is ported. | 85 # YUV to RGB to Neon is ported. |
86 [ '(target_arch == "armv7" or target_arch == "armv7s" \ | 86 [ '(target_arch == "armv7" or target_arch == "armv7s" \ |
87 or (target_arch == "arm" and arm_version >= 7) \ | 87 or (target_arch == "arm" and arm_version >= 7) \ |
88 or target_arch == "arm64") \ | 88 or target_arch == "arm64") \ |
89 and (arm_neon == 1 or arm_neon_optional == 1)', { | 89 and (arm_neon == 1 or arm_neon_optional == 1)', { |
90 'defines': [ | 90 'defines': [ |
91 'LIBYUV_NEON' | 91 'LIBYUV_NEON' |
92 ], | 92 ], |
93 }], | 93 }], |
| 94 [ '(target_arch == "mipsel" or target_arch == "mips64el") \ |
| 95 and (mips_msa == 1)', { |
| 96 'defines': [ |
| 97 'LIBYUV_MSA' |
| 98 ], |
| 99 }], |
94 ], # conditions | 100 ], # conditions |
95 'defines': [ | 101 'defines': [ |
96 # Enable the following 3 macros to turn off assembly for specified CPU. | 102 # Enable the following 3 macros to turn off assembly for specified CPU. |
97 # 'LIBYUV_DISABLE_X86', | 103 # 'LIBYUV_DISABLE_X86', |
98 # 'LIBYUV_DISABLE_NEON', | 104 # 'LIBYUV_DISABLE_NEON', |
99 # 'LIBYUV_DISABLE_MIPS', | 105 # 'LIBYUV_DISABLE_MIPS', |
100 # Enable the following macro to build libyuv as a shared library (dll). | 106 # Enable the following macro to build libyuv as a shared library (dll). |
101 # 'LIBYUV_USING_SHARED_LIBRARY', | 107 # 'LIBYUV_USING_SHARED_LIBRARY', |
102 ], | 108 ], |
103 }, | 109 }, |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 ], | 203 ], |
198 }], | 204 }], |
199 ], | 205 ], |
200 } | 206 } |
201 | 207 |
202 # Local Variables: | 208 # Local Variables: |
203 # tab-width:2 | 209 # tab-width:2 |
204 # indent-tabs-mode:nil | 210 # indent-tabs-mode:nil |
205 # End: | 211 # End: |
206 # vim: set expandtab tabstop=2 shiftwidth=2: | 212 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |