| 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"', {'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': [ | 14 'includes': [ |
| 15 '../../build/common.gypi', | 15 '../../build/common.gypi', |
| 16 ], | 16 ], |
| 17 'targets': [ | 17 'targets': [ |
| 18 { | 18 { |
| 19 'target_name': 'libxml', | 19 'target_name': 'libxml', |
| 20 'conditions': [ | 20 'conditions': [ |
| 21 ['OS=="linux" and use_system_libxml', { | 21 ['(OS=="linux" or OS=="freebsd") and use_system_libxml', { |
| 22 'type': 'settings', | 22 'type': 'settings', |
| 23 'direct_dependent_settings': { | 23 'direct_dependent_settings': { |
| 24 'cflags': [ | 24 'cflags': [ |
| 25 '<!@(pkg-config --cflags libxml-2.0)', | 25 '<!@(pkg-config --cflags libxml-2.0)', |
| 26 ], | 26 ], |
| 27 'defines': [ | 27 'defines': [ |
| 28 'USE_SYSTEM_LIBXML', | 28 'USE_SYSTEM_LIBXML', |
| 29 ], | 29 ], |
| 30 }, | 30 }, |
| 31 'link_settings': { | 31 'link_settings': { |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 'libraries': [ | 226 'libraries': [ |
| 227 '-ldl', | 227 '-ldl', |
| 228 '-lm', | 228 '-lm', |
| 229 ], | 229 ], |
| 230 }, | 230 }, |
| 231 }], | 231 }], |
| 232 ], | 232 ], |
| 233 }, | 233 }, |
| 234 ], | 234 ], |
| 235 } | 235 } |
| OLD | NEW |