| 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 # MemorySanitizer does not support assembly code yet. | |
| 95 # http://crbug.com/344505 | |
| 96 [ 'msan == 1', { | |
| 97 'defines': [ | |
| 98 'LIBYUV_DISABLE_X86', | |
| 99 ], | |
| 100 }], | |
| 101 ], # conditions | 94 ], # conditions |
| 102 'defines': [ | 95 'defines': [ |
| 103 # Enable the following 3 macros to turn off assembly for specified CPU. | 96 # Enable the following 3 macros to turn off assembly for specified CPU. |
| 104 # 'LIBYUV_DISABLE_X86', | 97 # 'LIBYUV_DISABLE_X86', |
| 105 # 'LIBYUV_DISABLE_NEON', | 98 # 'LIBYUV_DISABLE_NEON', |
| 106 # 'LIBYUV_DISABLE_MIPS', | 99 # 'LIBYUV_DISABLE_MIPS', |
| 107 # Enable the following macro to build libyuv as a shared library (dll). | 100 # Enable the following macro to build libyuv as a shared library (dll). |
| 108 # 'LIBYUV_USING_SHARED_LIBRARY', | 101 # 'LIBYUV_USING_SHARED_LIBRARY', |
| 109 ], | 102 ], |
| 110 }, | 103 }, |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 ], | 211 ], |
| 219 }], | 212 }], |
| 220 ], | 213 ], |
| 221 } | 214 } |
| 222 | 215 |
| 223 # Local Variables: | 216 # Local Variables: |
| 224 # tab-width:2 | 217 # tab-width:2 |
| 225 # indent-tabs-mode:nil | 218 # indent-tabs-mode:nil |
| 226 # End: | 219 # End: |
| 227 # vim: set expandtab tabstop=2 shiftwidth=2: | 220 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |