Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Side by Side Diff: third_party/libxml/libxml.gyp

Issue 2951008: Update libxml to 2.7.7. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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" or OS=="openbsd" or OS=="solaris"', { 8 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
9 'os_include': 'linux' 9 'os_include': 'linux'
10 }], 10 }],
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 'xmlregexp.c', 141 'xmlregexp.c',
142 'xmlsave.c', 142 'xmlsave.c',
143 'xmlschemas.c', 143 'xmlschemas.c',
144 'xmlschemastypes.c', 144 'xmlschemastypes.c',
145 'xmlstring.c', 145 'xmlstring.c',
146 'xmlunicode.c', 146 'xmlunicode.c',
147 'xmlwriter.c', 147 'xmlwriter.c',
148 'xpath.c', 148 'xpath.c',
149 'xpointer.c', 149 'xpointer.c',
150 ], 150 ],
151 'defines': [
152 'LIBXML_STATIC',
153 ],
154 'include_dirs': [ 151 'include_dirs': [
155 '<(os_include)', 152 '<(os_include)',
156 '<(os_include)/include', 153 '<(os_include)/include',
157 'include', 154 'include',
158 ], 155 ],
159 'dependencies': [ 156 'dependencies': [
160 '../icu/icu.gyp:icuuc', 157 '../icu/icu.gyp:icuuc',
161 '../zlib/zlib.gyp:zlib', 158 '../zlib/zlib.gyp:zlib',
162 ], 159 ],
163 'export_dependent_settings': [ 160 'export_dependent_settings': [
164 '../icu/icu.gyp:icuuc', 161 '../icu/icu.gyp:icuuc',
165 ], 162 ],
166 'direct_dependent_settings': { 163 'direct_dependent_settings': {
167 'defines': [
168 'LIBXML_STATIC',
169 ],
170 'include_dirs': [ 164 'include_dirs': [
171 '<(os_include)/include', 165 '<(os_include)/include',
172 'include', 166 'include',
173 ], 167 ],
174 }, 168 },
175 'conditions': [ 169 'conditions': [
176 ['OS=="linux"', { 170 ['OS=="linux"', {
177 'link_settings': { 171 'link_settings': {
178 'libraries': [ 172 'libraries': [
179 # We need dl for dlopen() and friends. 173 # We need dl for dlopen() and friends.
180 '-ldl', 174 '-ldl',
181 ], 175 ],
182 }, 176 },
183 }], 177 }],
184 ['OS=="mac"', {'defines': ['_REENTRANT']}], 178 ['OS=="mac"', {'defines': ['_REENTRANT']}],
185 ['OS=="win"', { 179 ['OS=="win"', {
186 'product_name': 'libxml2', 180 'product_name': 'libxml2',
181 'defines': [
182 # This symbol prevents libxml from marking its functions with
183 # __declspec(dllexport).
184 'LIBXML_STATIC',
185 ],
187 }, { # else: OS!="win" 186 }, { # else: OS!="win"
188 'product_name': 'xml2', 187 'product_name': 'xml2',
189 }], 188 }],
190 ], 189 ],
191 }], 190 }],
192 ], 191 ],
193 }, 192 },
194 ], 193 ],
195 } 194 }
196 195
197 # Local Variables: 196 # Local Variables:
198 # tab-width:2 197 # tab-width:2
199 # indent-tabs-mode:nil 198 # indent-tabs-mode:nil
200 # End: 199 # End:
201 # vim: set expandtab tabstop=2 shiftwidth=2: 200 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698