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 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['OS=="linux" or OS=="freebsd"', {'os_include': 'linux'}], | 8 ['OS=="linux" or OS=="freebsd"', {'os_include': 'linux'}], |
9 ['OS=="mac"', {'os_include': 'mac'}], | 9 ['OS=="mac"', {'os_include': 'mac'}], |
10 ['OS=="win"', {'os_include': 'win32'}], | 10 ['OS=="win"', {'os_include': 'win32'}], |
11 [ 'OS=="linux"', { | |
12 # Link to system .so since we already use it due to GTK. | |
13 'use_system_libxslt%': 1, | |
14 }, { # OS!="linux" | |
15 'use_system_libxslt%': 0, | |
16 }], | |
17 ], | 11 ], |
| 12 'use_system_libxslt%': 0, |
18 }, | 13 }, |
19 'targets': [ | 14 'targets': [ |
20 { | 15 { |
21 'target_name': 'libxslt', | 16 'target_name': 'libxslt', |
22 'conditions': [ | 17 'conditions': [ |
23 ['OS=="linux" and use_system_libxslt', { | 18 ['OS=="linux" and use_system_libxslt', { |
24 'type': 'settings', | 19 'type': 'settings', |
25 'direct_dependent_settings': { | 20 'direct_dependent_settings': { |
26 'cflags': [ | 21 'cflags': [ |
27 '<!@(pkg-config --cflags libxslt)', | 22 '<!@(pkg-config --cflags libxslt)', |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 ], | 106 ], |
112 }, | 107 }, |
113 ], | 108 ], |
114 } | 109 } |
115 | 110 |
116 # Local Variables: | 111 # Local Variables: |
117 # tab-width:2 | 112 # tab-width:2 |
118 # indent-tabs-mode:nil | 113 # indent-tabs-mode:nil |
119 # End: | 114 # End: |
120 # vim: set expandtab tabstop=2 shiftwidth=2: | 115 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |