| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 ], | 151 ], |
| 152 'defines': [ | 152 'defines': [ |
| 153 'LIBXML_STATIC', | 153 'LIBXML_STATIC', |
| 154 ], | 154 ], |
| 155 'include_dirs': [ | 155 'include_dirs': [ |
| 156 '<(os_include)', | 156 '<(os_include)', |
| 157 '<(os_include)/include', | 157 '<(os_include)/include', |
| 158 'include', | 158 'include', |
| 159 ], | 159 ], |
| 160 'dependencies': [ | 160 'dependencies': [ |
| 161 '../icu38/icu38.gyp:icuuc', | 161 '../icu/icu.gyp:icuuc', |
| 162 '../zlib/zlib.gyp:zlib', | 162 '../zlib/zlib.gyp:zlib', |
| 163 ], | 163 ], |
| 164 'export_dependent_settings': [ | 164 'export_dependent_settings': [ |
| 165 '../icu38/icu38.gyp:icuuc', | 165 '../icu/icu.gyp:icuuc', |
| 166 ], | 166 ], |
| 167 'direct_dependent_settings': { | 167 'direct_dependent_settings': { |
| 168 'defines': [ | 168 'defines': [ |
| 169 'LIBXML_STATIC', | 169 'LIBXML_STATIC', |
| 170 ], | 170 ], |
| 171 'include_dirs': [ | 171 'include_dirs': [ |
| 172 '<(os_include)/include', | 172 '<(os_include)/include', |
| 173 'include', | 173 'include', |
| 174 ], | 174 ], |
| 175 }, | 175 }, |
| 176 'conditions': [ | 176 'conditions': [ |
| 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 { | 187 { |
| 188 'target_name': 'xmlcatalog', | 188 'target_name': 'xmlcatalog', |
| 189 'type': 'executable', | 189 'type': 'executable', |
| 190 'sources': [ | 190 'sources': [ |
| 191 'xmlcatalog.c', | 191 'xmlcatalog.c', |
| 192 'xmldummy_mac.cc', |
| 192 ], | 193 ], |
| 193 'include_dirs': [ | 194 'include_dirs': [ |
| 194 '<(os_include)', | 195 '<(os_include)', |
| 195 ], | 196 ], |
| 196 'dependencies': [ | 197 'dependencies': [ |
| 197 'libxml', | 198 'libxml', |
| 198 ], | 199 ], |
| 199 'conditions': [ | 200 'conditions': [ |
| 200 ['OS=="linux"', { | 201 ['OS=="linux"', { |
| 201 'link_settings': { | 202 'link_settings': { |
| 202 'libraries': [ | 203 'libraries': [ |
| 203 '-ldl', | 204 '-ldl', |
| 204 '-lm', | 205 '-lm', |
| 205 ], | 206 ], |
| 206 }, | 207 }, |
| 207 }], | 208 }], |
| 208 ], | 209 ], |
| 209 }, | 210 }, |
| 210 { | 211 { |
| 211 'target_name': 'xmllint', | 212 'target_name': 'xmllint', |
| 212 'type': 'executable', | 213 'type': 'executable', |
| 213 'sources': [ | 214 'sources': [ |
| 214 'xmllint.c', | 215 'xmllint.c', |
| 216 'xmldummy_mac.cc', |
| 215 ], | 217 ], |
| 216 'include_dirs': [ | 218 'include_dirs': [ |
| 217 '<(os_include)', | 219 '<(os_include)', |
| 218 ], | 220 ], |
| 219 'dependencies': [ | 221 'dependencies': [ |
| 220 'libxml', | 222 'libxml', |
| 221 '../icu38/icu38.gyp:icuuc', | 223 '../icu/icu.gyp:icuuc', |
| 222 ], | 224 ], |
| 223 'conditions': [ | 225 'conditions': [ |
| 224 ['OS=="linux"', { | 226 ['OS=="linux"', { |
| 225 'link_settings': { | 227 'link_settings': { |
| 226 'libraries': [ | 228 'libraries': [ |
| 227 '-ldl', | 229 '-ldl', |
| 228 '-lm', | 230 '-lm', |
| 229 ], | 231 ], |
| 230 }, | 232 }, |
| 231 }], | 233 }], |
| 232 ], | 234 ], |
| 233 }, | 235 }, |
| 234 ], | 236 ], |
| 235 } | 237 } |
| OLD | NEW |