| 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': [ |
| (...skipping 11 matching lines...) Expand all Loading... |
| 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 'build_neon': 0, | 28 'build_neon': 0, |
| 29 'conditions': [ | 29 'conditions': [ |
| 30 ['(target_arch == "armv7" or target_arch == "armv7s" or \ | 30 ['(target_arch == "armv7" or target_arch == "armv7s" or \ |
| 31 (target_arch == "arm" and arm_version >= 7) or target_arch == "arm64")\ | 31 (target_arch == "arm" and arm_version >= 7) or target_arch == "arm64")\ |
| 32 and (arm_neon == 1 or arm_neon_optional == 1)', | 32 and (arm_neon == 1 or arm_neon_optional == 1)', { |
| 33 { | |
| 34 'build_neon': 1, | 33 'build_neon': 1, |
| 35 }], | 34 }], |
| 35 ['OS=="android" and target_arch=="mipsel"', { |
| 36 # Linking fails with the gold linker: bugs.webrtc.org/5977. |
| 37 'linux_use_bundled_gold%': 0, |
| 38 }], |
| 36 ], | 39 ], |
| 37 }, | 40 }, |
| 38 | 41 |
| 39 'targets': [ | 42 'targets': [ |
| 40 { | 43 { |
| 41 'target_name': 'libyuv', | 44 'target_name': 'libyuv', |
| 42 # Change type to 'shared_library' to build .so or .dll files. | 45 # Change type to 'shared_library' to build .so or .dll files. |
| 43 'type': 'static_library', | 46 'type': 'static_library', |
| 44 'variables': { | 47 'variables': { |
| 45 'optimize': 'max', # enable O2 and ltcg. | 48 'optimize': 'max', # enable O2 and ltcg. |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 ], | 144 ], |
| 142 }, | 145 }, |
| 143 ], # targets. | 146 ], # targets. |
| 144 } | 147 } |
| 145 | 148 |
| 146 # Local Variables: | 149 # Local Variables: |
| 147 # tab-width:2 | 150 # tab-width:2 |
| 148 # indent-tabs-mode:nil | 151 # indent-tabs-mode:nil |
| 149 # End: | 152 # End: |
| 150 # vim: set expandtab tabstop=2 shiftwidth=2: | 153 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |