Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: libyuv.gyp

Issue 1536403002: Disable sysroot for x86 and x64 only (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « README.chromium ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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': { 20 'variables': {
21 # Disable use of sysroot for Linux. It's enabled by default in Chromium, 21 # Disable use of sysroot for Linux. It's enabled by default in Chromium,
22 # but it currently lacks the libudev-dev package. 22 # but it currently lacks the libudev-dev package.
23 # TODO(kjellander): Remove when crbug.com/561584 is fixed. 23 # TODO(kjellander): Remove when crbug.com/561584 is fixed.
24 'use_sysroot': 0, 24 'conditions': [
25 ['target_arch=="ia32" or target_arch=="x64"', {
kjellander_chromium 2015/12/21 18:59:48 I'm not sure about ARM here, so please run the try
26 'use_sysroot': 0,
27 }, {
28 'use_sysroot%': 1,
29 }],
30 ],
25 }, 31 },
26 'use_sysroot%': '<(use_sysroot)', 32 'use_sysroot%': '<(use_sysroot)',
27 'use_system_libjpeg%': 0, 33 'use_system_libjpeg%': 0,
28 'libyuv_disable_jpeg%': 0, 34 'libyuv_disable_jpeg%': 0,
29 # 'chromium_code' treats libyuv as internal and increases warning level. 35 # 'chromium_code' treats libyuv as internal and increases warning level.
30 'chromium_code': 1, 36 'chromium_code': 1,
31 # Link-Time Optimizations. 37 # Link-Time Optimizations.
32 'use_lto%': 0, 38 'use_lto%': 0,
33 'build_neon': 0, 39 'build_neon': 0,
34 'conditions': [ 40 'conditions': [
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 ], 151 ],
146 }, 152 },
147 ], # targets. 153 ], # targets.
148 } 154 }
149 155
150 # Local Variables: 156 # Local Variables:
151 # tab-width:2 157 # tab-width:2
152 # indent-tabs-mode:nil 158 # indent-tabs-mode:nil
153 # End: 159 # End:
154 # vim: set expandtab tabstop=2 shiftwidth=2: 160 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698