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 }], | |
40 ], | 36 ], |
41 }, | 37 }, |
42 | 38 |
43 'targets': [ | 39 'targets': [ |
44 { | 40 { |
45 'target_name': 'libyuv', | 41 'target_name': 'libyuv', |
46 # Change type to 'shared_library' to build .so or .dll files. | 42 # Change type to 'shared_library' to build .so or .dll files. |
47 'type': 'static_library', | 43 'type': 'static_library', |
48 'variables': { | 44 'variables': { |
49 'optimize': 'max', # enable O2 and ltcg. | 45 'optimize': 'max', # enable O2 and ltcg. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 ], | 141 ], |
146 }, | 142 }, |
147 ], # targets. | 143 ], # targets. |
148 } | 144 } |
149 | 145 |
150 # Local Variables: | 146 # Local Variables: |
151 # tab-width:2 | 147 # tab-width:2 |
152 # indent-tabs-mode:nil | 148 # indent-tabs-mode:nil |
153 # End: | 149 # End: |
154 # vim: set expandtab tabstop=2 shiftwidth=2: | 150 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |