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': [ |
11 'libyuv.gypi', | 11 'libyuv.gypi', |
12 ], | 12 ], |
13 # Make sure that if we are being compiled to an xcodeproj, nothing tries to | 13 # Make sure that if we are being compiled to an xcodeproj, nothing tries to |
14 # include a .pch. | 14 # include a .pch. |
15 'xcode_settings': { | 15 'xcode_settings': { |
16 'GCC_PREFIX_HEADER': '', | 16 'GCC_PREFIX_HEADER': '', |
17 'GCC_PRECOMPILE_PREFIX_HEADER': 'NO', | 17 'GCC_PRECOMPILE_PREFIX_HEADER': 'NO', |
18 }, | 18 }, |
19 'variables': { | 19 'variables': { |
20 'variables': { | |
21 # Disable use of sysroot for Linux. It's enabled by default in Chromium, | |
22 # but it currently lacks the libudev-dev package. | |
23 # TODO(kjellander): Remove when crbug.com/561584 is fixed. | |
24 'conditions': [ | |
25 ['target_arch=="ia32" or target_arch=="x64"', { | |
26 'use_sysroot': 0, | |
27 }, { | |
28 'use_sysroot%': 1, | |
29 }], | |
30 ], | |
31 }, | |
32 'use_sysroot%': '<(use_sysroot)', | |
33 'use_system_libjpeg%': 0, | 20 'use_system_libjpeg%': 0, |
34 'libyuv_disable_jpeg%': 0, | 21 'libyuv_disable_jpeg%': 0, |
35 # 'chromium_code' treats libyuv as internal and increases warning level. | 22 # 'chromium_code' treats libyuv as internal and increases warning level. |
36 'chromium_code': 1, | 23 'chromium_code': 1, |
37 # clang compiler default variable usable by other apps that include libyuv. | 24 # clang compiler default variable usable by other apps that include libyuv. |
38 'clang%': 0, | 25 'clang%': 0, |
39 # Link-Time Optimizations. | 26 # Link-Time Optimizations. |
40 'use_lto%': 0, | 27 'use_lto%': 0, |
41 'build_neon': 0, | 28 'build_neon': 0, |
42 'conditions': [ | 29 'conditions': [ |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 ], | 140 ], |
154 }, | 141 }, |
155 ], # targets. | 142 ], # targets. |
156 } | 143 } |
157 | 144 |
158 # Local Variables: | 145 # Local Variables: |
159 # tab-width:2 | 146 # tab-width:2 |
160 # indent-tabs-mode:nil | 147 # indent-tabs-mode:nil |
161 # End: | 148 # End: |
162 # vim: set expandtab tabstop=2 shiftwidth=2: | 149 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |