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