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