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