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 ], | 11 ], |
12 'use_system_libxml%': 0, | 12 'use_system_libxml%': 0, |
13 }, | 13 }, |
14 'includes': [ | |
15 '../../build/common.gypi', | |
16 ], | |
17 'targets': [ | 14 'targets': [ |
18 { | 15 { |
19 'target_name': 'libxml', | 16 'target_name': 'libxml', |
20 'conditions': [ | 17 'conditions': [ |
21 ['(OS=="linux" or OS=="freebsd") and use_system_libxml', { | 18 ['(OS=="linux" or OS=="freebsd") and use_system_libxml', { |
22 'type': 'settings', | 19 'type': 'settings', |
23 'direct_dependent_settings': { | 20 'direct_dependent_settings': { |
24 'cflags': [ | 21 'cflags': [ |
25 '<!@(pkg-config --cflags libxml-2.0)', | 22 '<!@(pkg-config --cflags libxml-2.0)', |
26 ], | 23 ], |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 'product_name': 'libxml2', | 176 'product_name': 'libxml2', |
180 }, { # else: OS!="win" | 177 }, { # else: OS!="win" |
181 'product_name': 'xml2', | 178 'product_name': 'xml2', |
182 }], | 179 }], |
183 ], | 180 ], |
184 }], | 181 }], |
185 ], | 182 ], |
186 }, | 183 }, |
187 ], | 184 ], |
188 } | 185 } |
OLD | NEW |