| 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'}], |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 ['OS=="mac"', {'defines': ['_REENTRANT']}], | 177 ['OS=="mac"', {'defines': ['_REENTRANT']}], |
| 178 ['OS=="win"', { | 178 ['OS=="win"', { |
| 179 'product_name': 'libxml2', | 179 'product_name': 'libxml2', |
| 180 }, { # else: OS!="win" | 180 }, { # else: OS!="win" |
| 181 'product_name': 'xml2', | 181 'product_name': 'xml2', |
| 182 }], | 182 }], |
| 183 ], | 183 ], |
| 184 }], | 184 }], |
| 185 ], | 185 ], |
| 186 }, | 186 }, |
| 187 { | |
| 188 'target_name': 'xmlcatalog', | |
| 189 'type': 'executable', | |
| 190 'sources': [ | |
| 191 'xmlcatalog.c', | |
| 192 'xmlcatalog_dummy.cc', | |
| 193 ], | |
| 194 'include_dirs': [ | |
| 195 '<(os_include)', | |
| 196 ], | |
| 197 'dependencies': [ | |
| 198 'libxml', | |
| 199 ], | |
| 200 'conditions': [ | |
| 201 ['OS=="linux"', { | |
| 202 'link_settings': { | |
| 203 'libraries': [ | |
| 204 '-ldl', | |
| 205 '-lm', | |
| 206 ], | |
| 207 }, | |
| 208 }], | |
| 209 ], | |
| 210 }, | |
| 211 { | |
| 212 'target_name': 'xmllint', | |
| 213 'type': 'executable', | |
| 214 'sources': [ | |
| 215 'xmllint.c', | |
| 216 'xmllint_dummy.cc', | |
| 217 ], | |
| 218 'include_dirs': [ | |
| 219 '<(os_include)', | |
| 220 ], | |
| 221 'dependencies': [ | |
| 222 'libxml', | |
| 223 '../icu/icu.gyp:icuuc', | |
| 224 ], | |
| 225 'conditions': [ | |
| 226 ['OS=="linux"', { | |
| 227 'link_settings': { | |
| 228 'libraries': [ | |
| 229 '-ldl', | |
| 230 '-lm', | |
| 231 ], | |
| 232 }, | |
| 233 }], | |
| 234 ], | |
| 235 }, | |
| 236 ], | 187 ], |
| 237 } | 188 } |
| OLD | NEW |