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': { |
(...skipping 12 matching lines...) Expand all Loading... |
23 ['OS=="linux" and (buildtype!="Official" or chromeos==1) and embedded==0',
{ | 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 ['OS=="linux" and target_arch=="arm" and chromeos==0', { |
| 34 # Override use_system_harfbuzz for ARM cross compiling so system |
| 35 # harfbuzz is not used because the corresponding package is not |
| 36 # available. |
| 37 'use_system_harfbuzz': 0, |
| 38 }], |
33 ], | 39 ], |
34 }, | 40 }, |
35 'conditions': [ | 41 'conditions': [ |
36 ['use_system_harfbuzz==0', { | 42 ['use_system_harfbuzz==0', { |
37 'targets': [ | 43 'targets': [ |
38 { | 44 { |
39 'target_name': 'harfbuzz-ng', | 45 'target_name': 'harfbuzz-ng', |
40 'type': 'static_library', | 46 'type': 'static_library', |
41 'defines': [ | 47 'defines': [ |
42 'HAVE_OT', | 48 'HAVE_OT', |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 ], | 190 ], |
185 'libraries': [ | 191 'libraries': [ |
186 '<!@(<(pkg-config) --libs-only-l harfbuzz)', | 192 '<!@(<(pkg-config) --libs-only-l harfbuzz)', |
187 ], | 193 ], |
188 }, | 194 }, |
189 }, | 195 }, |
190 ], | 196 ], |
191 }], | 197 }], |
192 ], | 198 ], |
193 } | 199 } |
OLD | NEW |