OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 '../../build/win_precompile.gypi', | 7 '../../build/win_precompile.gypi', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'variables': { | 10 'variables': { |
11 'conditions': [ | 11 'conditions': [ |
12 ['sysroot!=""', { | 12 ['sysroot!=""', { |
13 'pkg-config': '<(chroot_cmd) ../../build/linux/pkg-config-wrapper "<(s
ysroot)" "<(target_arch)" "<(system_libdir)"', | 13 'pkg-config': '<(chroot_cmd) ../../build/linux/pkg-config-wrapper "<(s
ysroot)" "<(target_arch)" "<(system_libdir)"', |
14 }, { | 14 }, { |
15 'pkg-config': 'pkg-config' | 15 'pkg-config': 'pkg-config' |
16 }], | 16 }], |
17 ], | 17 ], |
18 }, | 18 }, |
19 | 19 |
20 'pkg-config': '<(pkg-config)', | 20 'pkg-config': '<(pkg-config)', |
21 | 21 |
22 'conditions': [ | 22 'conditions': [ |
23 ['OS=="linux" and (buildtype!="Official" or chromeos==1)', { | 23 ['OS=="linux" and (buildtype!="Official" or chromeos==1) and embedded==0',
{ |
24 # Since version 1.31.0, pangoft2 which we depend on pulls in harfbuzz | 24 # Since version 1.31.0, pangoft2 which we depend on pulls in harfbuzz |
25 # anyways. However, we want to have control of the version of harfbuzz | 25 # anyways. However, we want to have control of the version of harfbuzz |
26 # we use, so don't use system harfbuzz for official builds, unless we | 26 # we use, so don't use system harfbuzz for official builds, unless we |
27 # are building for chrome os, where we have the system harfbuzz under | 27 # are building for chrome os, where we have the system harfbuzz under |
28 # control as well. | 28 # control as well. |
29 'use_system_harfbuzz%': '<!(python ../../build/check_return_value.py <(p
kg-config) --atleast-version=1.31.0 pangoft2)', | 29 'use_system_harfbuzz%': '<!(python ../../build/check_return_value.py <(p
kg-config) --atleast-version=1.31.0 pangoft2)', |
30 }, { | 30 }, { |
31 'use_system_harfbuzz': 0, | 31 'use_system_harfbuzz': 0, |
32 }], | 32 }], |
33 ], | 33 ], |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 ], | 184 ], |
185 'libraries': [ | 185 'libraries': [ |
186 '<!@(<(pkg-config) --libs-only-l harfbuzz)', | 186 '<!@(<(pkg-config) --libs-only-l harfbuzz)', |
187 ], | 187 ], |
188 }, | 188 }, |
189 }, | 189 }, |
190 ], | 190 ], |
191 }], | 191 }], |
192 ], | 192 ], |
193 } | 193 } |
OLD | NEW |