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 'variables': { | 6 'variables': { |
7 'conditions': [ | |
8 ['sysroot!=""', { | |
9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target
_arch)" "<(system_libdir)"', | |
10 }, { | |
11 'pkg-config': 'pkg-config', | |
12 }], | |
13 ], | |
14 | |
15 # If any of the linux_link_FOO below are set to 1, then the corresponding | 7 # If any of the linux_link_FOO below are set to 1, then the corresponding |
16 # target will be linked against the FOO library (either dynamically or | 8 # target will be linked against the FOO library (either dynamically or |
17 # statically, depending on the pkg-config files), as opposed to loading the | 9 # statically, depending on the pkg-config files), as opposed to loading the |
18 # FOO library dynamically with dlopen. | 10 # FOO library dynamically with dlopen. |
19 'linux_link_libgps%': 0, | 11 'linux_link_libgps%': 0, |
20 'linux_link_libpci%': 0, | 12 'linux_link_libpci%': 0, |
21 'linux_link_libspeechd%': 0, | 13 'linux_link_libspeechd%': 0, |
22 'linux_link_libbrlapi%': 0, | 14 'linux_link_libbrlapi%': 0, |
23 | 15 |
24 # Used below for the various libraries. In this scope for sharing with GN. | 16 # Used below for the various libraries. In this scope for sharing with GN. |
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1221 }, | 1213 }, |
1222 }], | 1214 }], |
1223 ], | 1215 ], |
1224 }], | 1216 }], |
1225 ] | 1217 ] |
1226 }], | 1218 }], |
1227 ], | 1219 ], |
1228 }, | 1220 }, |
1229 ], | 1221 ], |
1230 } | 1222 } |
OLD | NEW |