OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'conditions': [ | 6 'conditions': [ |
7 ['sysroot!=""', { | 7 ['sysroot!=""', { |
8 'variables': { | 8 'variables': { |
9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
10 }, | 10 }, |
11 }, { | 11 }, { |
12 'variables': { | 12 'variables': { |
13 'pkg-config': 'pkg-config' | 13 'pkg-config': 'pkg-config' |
14 }, | 14 }, |
15 }], | 15 }], |
| 16 [ 'OS=="linux"', { |
| 17 'variables': { |
| 18 # We use our own copy of libssl, although we still need to link against |
| 19 # the rest of NSS. |
| 20 'use_system_ssl%': 0, |
| 21 }, |
| 22 }, { # OS!="linux" |
| 23 'variables': { |
| 24 'use_system_ssl%': 1, |
| 25 }, |
| 26 }], |
16 ], | 27 ], |
17 | 28 |
18 'variables': { | |
19 'use_system_ssl%': 1, | |
20 }, | |
21 | 29 |
22 'targets': [ | 30 'targets': [ |
23 { | 31 { |
24 'target_name': 'gtk', | 32 'target_name': 'gtk', |
25 'type': 'settings', | 33 'type': 'settings', |
26 'conditions': [ | 34 'conditions': [ |
27 ['_toolset=="target"', { | 35 ['_toolset=="target"', { |
28 'direct_dependent_settings': { | 36 'direct_dependent_settings': { |
29 'cflags': [ | 37 'cflags': [ |
30 '<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)', | 38 '<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)', |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 # }, | 264 # }, |
257 # }, | 265 # }, |
258 ], | 266 ], |
259 } | 267 } |
260 | 268 |
261 # Local Variables: | 269 # Local Variables: |
262 # tab-width:2 | 270 # tab-width:2 |
263 # indent-tabs-mode:nil | 271 # indent-tabs-mode:nil |
264 # End: | 272 # End: |
265 # vim: set expandtab tabstop=2 shiftwidth=2: | 273 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |