OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'conditions': [ |
| 8 ['OS=="linux"', {'os_include': 'linux'}], |
| 9 ['OS=="mac"', {'os_include': 'mac'}], |
| 10 ['OS=="win"', {'os_include': 'win32'}], |
| 11 ], |
| 12 }, |
| 13 'includes': [ |
| 14 '../../build/common.gypi', |
| 15 ], |
| 16 'targets': [ |
| 17 { |
| 18 'target_name': 'libxml', |
| 19 'type': 'static_library', |
| 20 'sources': [ |
| 21 'include/libxml/c14n.h', |
| 22 'include/libxml/catalog.h', |
| 23 'include/libxml/chvalid.h', |
| 24 'include/libxml/debugXML.h', |
| 25 'include/libxml/dict.h', |
| 26 'include/libxml/DOCBparser.h', |
| 27 'include/libxml/encoding.h', |
| 28 'include/libxml/entities.h', |
| 29 'include/libxml/globals.h', |
| 30 'include/libxml/hash.h', |
| 31 'include/libxml/HTMLparser.h', |
| 32 'include/libxml/HTMLtree.h', |
| 33 'include/libxml/list.h', |
| 34 'include/libxml/nanoftp.h', |
| 35 'include/libxml/nanohttp.h', |
| 36 'include/libxml/parser.h', |
| 37 'include/libxml/parserInternals.h', |
| 38 'include/libxml/pattern.h', |
| 39 'include/libxml/relaxng.h', |
| 40 'include/libxml/SAX.h', |
| 41 'include/libxml/SAX2.h', |
| 42 'include/libxml/schemasInternals.h', |
| 43 'include/libxml/schematron.h', |
| 44 'include/libxml/threads.h', |
| 45 'include/libxml/tree.h', |
| 46 'include/libxml/uri.h', |
| 47 'include/libxml/valid.h', |
| 48 'include/libxml/xinclude.h', |
| 49 'include/libxml/xlink.h', |
| 50 'include/libxml/xmlautomata.h', |
| 51 'include/libxml/xmlerror.h', |
| 52 'include/libxml/xmlexports.h', |
| 53 'include/libxml/xmlIO.h', |
| 54 'include/libxml/xmlmemory.h', |
| 55 'include/libxml/xmlmodule.h', |
| 56 'include/libxml/xmlreader.h', |
| 57 'include/libxml/xmlregexp.h', |
| 58 'include/libxml/xmlsave.h', |
| 59 'include/libxml/xmlschemas.h', |
| 60 'include/libxml/xmlschemastypes.h', |
| 61 'include/libxml/xmlstring.h', |
| 62 'include/libxml/xmlunicode.h', |
| 63 'include/libxml/xmlwriter.h', |
| 64 'include/libxml/xpath.h', |
| 65 'include/libxml/xpathInternals.h', |
| 66 'include/libxml/xpointer.h', |
| 67 'include/win32config.h', |
| 68 'include/wsockcompat.h', |
| 69 'linux/config.h', |
| 70 'linux/include/libxml/xmlversion.h', |
| 71 'mac/config.h', |
| 72 'mac/include/libxml/xmlversion.h', |
| 73 'win32/config.h', |
| 74 'win32/include/libxml/xmlversion.h', |
| 75 'acconfig.h', |
| 76 'c14n.c', |
| 77 'catalog.c', |
| 78 'chvalid.c', |
| 79 'debugXML.c', |
| 80 'dict.c', |
| 81 'DOCBparser.c', |
| 82 'elfgcchack.h', |
| 83 'encoding.c', |
| 84 'entities.c', |
| 85 'error.c', |
| 86 'globals.c', |
| 87 'hash.c', |
| 88 'HTMLparser.c', |
| 89 'HTMLtree.c', |
| 90 'legacy.c', |
| 91 'libxml.h', |
| 92 'list.c', |
| 93 'nanoftp.c', |
| 94 'nanohttp.c', |
| 95 'parser.c', |
| 96 'parserInternals.c', |
| 97 'pattern.c', |
| 98 'relaxng.c', |
| 99 'SAX.c', |
| 100 'SAX2.c', |
| 101 'schematron.c', |
| 102 'threads.c', |
| 103 'tree.c', |
| 104 #'trio.c', |
| 105 #'trio.h', |
| 106 #'triodef.h', |
| 107 #'trionan.c', |
| 108 #'trionan.h', |
| 109 #'triop.h', |
| 110 #'triostr.c', |
| 111 #'triostr.h', |
| 112 'uri.c', |
| 113 'valid.c', |
| 114 'xinclude.c', |
| 115 'xlink.c', |
| 116 'xmlIO.c', |
| 117 'xmlmemory.c', |
| 118 'xmlmodule.c', |
| 119 'xmlreader.c', |
| 120 'xmlregexp.c', |
| 121 'xmlsave.c', |
| 122 'xmlschemas.c', |
| 123 'xmlschemastypes.c', |
| 124 'xmlstring.c', |
| 125 'xmlunicode.c', |
| 126 'xmlwriter.c', |
| 127 'xpath.c', |
| 128 'xpointer.c', |
| 129 ], |
| 130 'defines': [ |
| 131 'LIBXML_STATIC', |
| 132 ], |
| 133 'include_dirs': [ |
| 134 '<(os_include)', |
| 135 '<(os_include)/include', |
| 136 'include', |
| 137 ], |
| 138 'dependencies': [ |
| 139 '../icu38/icu38.gyp:icuuc', |
| 140 '../zlib/zlib.gyp:zlib', |
| 141 ], |
| 142 'export_dependent_settings': [ |
| 143 '../icu38/icu38.gyp:icuuc', |
| 144 ], |
| 145 'direct_dependent_settings': { |
| 146 'defines': [ |
| 147 'LIBXML_STATIC', |
| 148 ], |
| 149 'include_dirs': [ |
| 150 '<(os_include)/include', |
| 151 'include', |
| 152 ], |
| 153 }, |
| 154 'conditions': [ |
| 155 ['OS=="mac"', {'defines': ['_REENTRANT']}], |
| 156 ['OS=="win"', { |
| 157 'product_name': 'libxml2', |
| 158 }, { # else: OS!="win" |
| 159 'product_name': 'xml2', |
| 160 }], |
| 161 ], |
| 162 }, |
| 163 { |
| 164 'target_name': 'xmlcatalog', |
| 165 'type': 'executable', |
| 166 'sources': [ |
| 167 'xmlcatalog.c', |
| 168 ], |
| 169 'include_dirs': [ |
| 170 '<(os_include)', |
| 171 ], |
| 172 'dependencies': [ |
| 173 'libxml', |
| 174 ], |
| 175 }, |
| 176 { |
| 177 'target_name': 'xmllint', |
| 178 'type': 'executable', |
| 179 'sources': [ |
| 180 'xmllint.c', |
| 181 ], |
| 182 'include_dirs': [ |
| 183 '<(os_include)', |
| 184 ], |
| 185 'dependencies': [ |
| 186 'libxml', |
| 187 ], |
| 188 }, |
| 189 ], |
| 190 } |
OLD | NEW |