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" or OS=="openbsd"', { | 8 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
9 'os_include': 'linux' | 9 'os_include': 'linux' |
10 }], | 10 }], |
11 ['OS=="mac"', {'os_include': 'mac'}], | 11 ['OS=="mac"', {'os_include': 'mac'}], |
12 ['OS=="win"', {'os_include': 'win32'}], | 12 ['OS=="win"', {'os_include': 'win32'}], |
13 ], | 13 ], |
14 'use_system_libxml%': 0, | 14 'use_system_libxml%': 0, |
15 }, | 15 }, |
16 'targets': [ | 16 'targets': [ |
17 { | 17 { |
18 'target_name': 'libxml', | 18 'target_name': 'libxml', |
19 'conditions': [ | 19 'conditions': [ |
20 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd") and use_system_libxml'
, { | 20 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_system_libxml', { |
21 'type': 'settings', | 21 'type': 'settings', |
22 'direct_dependent_settings': { | 22 'direct_dependent_settings': { |
23 'cflags': [ | 23 'cflags': [ |
24 '<!@(pkg-config --cflags libxml-2.0)', | 24 '<!@(pkg-config --cflags libxml-2.0)', |
25 ], | 25 ], |
26 'defines': [ | 26 'defines': [ |
27 'USE_SYSTEM_LIBXML', | 27 'USE_SYSTEM_LIBXML', |
28 ], | 28 ], |
29 }, | 29 }, |
30 'link_settings': { | 30 'link_settings': { |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 ], | 192 ], |
193 }, | 193 }, |
194 ], | 194 ], |
195 } | 195 } |
196 | 196 |
197 # Local Variables: | 197 # Local Variables: |
198 # tab-width:2 | 198 # tab-width:2 |
199 # indent-tabs-mode:nil | 199 # indent-tabs-mode:nil |
200 # End: | 200 # End: |
201 # vim: set expandtab tabstop=2 shiftwidth=2: | 201 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |