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': [ | 7 'conditions': [ |
8 ['sysroot!=""', { | 8 ['sysroot!=""', { |
9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target
_arch)" "<(system_libdir)"', | 9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target
_arch)" "<(system_libdir)"', |
10 }, { | 10 }, { |
11 'pkg-config': 'pkg-config', | 11 'pkg-config': 'pkg-config', |
12 }], | 12 }], |
13 ], | 13 ], |
14 | 14 |
| 15 # 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 |
| 17 # statically, depending on the pkg-config files), as opposed to loading the |
| 18 # FOO library dynamically with dlopen. |
15 'linux_link_libgps%': 0, | 19 'linux_link_libgps%': 0, |
16 'linux_link_libpci%': 0, | 20 'linux_link_libpci%': 0, |
17 'linux_link_libspeechd%': 0, | 21 'linux_link_libspeechd%': 0, |
18 'linux_link_libbrlapi%': 0, | 22 'linux_link_libbrlapi%': 0, |
19 }, | 23 }, |
20 'conditions': [ | 24 'conditions': [ |
21 [ 'chromeos==0 and use_ozone==0', { | 25 [ 'chromeos==0 and use_ozone==0', { |
22 # Hide GTK and related dependencies for Chrome OS and Ozone, so they won't
get | 26 # Hide GTK and related dependencies for Chrome OS and Ozone, so they won't
get |
23 # added back to Chrome OS and Ozone. Don't try to use GTK on Chrome OS and
Ozone. | 27 # added back to Chrome OS and Ozone. Don't try to use GTK on Chrome OS and
Ozone. |
24 'targets': [ | 28 'targets': [ |
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 ], | 1049 ], |
1046 'libraries': [ | 1050 'libraries': [ |
1047 '<!@(<(pkg-config) --libs-only-l libudev)', | 1051 '<!@(<(pkg-config) --libs-only-l libudev)', |
1048 ], | 1052 ], |
1049 }, | 1053 }, |
1050 }], | 1054 }], |
1051 ], | 1055 ], |
1052 }, | 1056 }, |
1053 ], | 1057 ], |
1054 } | 1058 } |
OLD | NEW |