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

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

Issue 194062: Explicitly only use xmldummy_mac.cc on Mac systems, since libxml (as... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"', {'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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
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',
193 ], 192 ],
194 'include_dirs': [ 193 'include_dirs': [
195 '<(os_include)', 194 '<(os_include)',
196 ], 195 ],
197 'dependencies': [ 196 'dependencies': [
198 'libxml', 197 'libxml',
199 ], 198 ],
200 'conditions': [ 199 'conditions': [
201 ['OS=="linux"', { 200 ['OS=="linux"', {
202 'link_settings': { 201 'link_settings': {
203 'libraries': [ 202 'libraries': [
204 '-ldl', 203 '-ldl',
205 '-lm', 204 '-lm',
206 ], 205 ],
207 }, 206 },
208 }], 207 }],
208 ['OS=="mac"', {
209 'sources': [
210 'xmldummy_mac.cc',
211 ],
212 }],
209 ], 213 ],
210 }, 214 },
211 { 215 {
212 'target_name': 'xmllint', 216 'target_name': 'xmllint',
213 'type': 'executable', 217 'type': 'executable',
214 'sources': [ 218 'sources': [
215 'xmllint.c', 219 'xmllint.c',
216 'xmldummy_mac.cc',
217 ], 220 ],
218 'include_dirs': [ 221 'include_dirs': [
219 '<(os_include)', 222 '<(os_include)',
220 ], 223 ],
221 'dependencies': [ 224 'dependencies': [
222 'libxml', 225 'libxml',
223 '../icu/icu.gyp:icuuc', 226 '../icu/icu.gyp:icuuc',
224 ], 227 ],
225 'conditions': [ 228 'conditions': [
226 ['OS=="linux"', { 229 ['OS=="linux"', {
227 'link_settings': { 230 'link_settings': {
228 'libraries': [ 231 'libraries': [
229 '-ldl', 232 '-ldl',
230 '-lm', 233 '-lm',
231 ], 234 ],
232 }, 235 },
233 }], 236 }],
237 ['OS=="mac"', {
238 'sources': [
239 'xmldummy_mac.cc',
240 ],
241 }],
234 ], 242 ],
235 }, 243 },
236 ], 244 ],
237 } 245 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698