From 7f01f83fd464fc13cbdb9d377493d1781decf363 Mon Sep 17 00:00:00 2001 From: "sgk@google.com" Date: Wed, 9 Sep 2009 23:40:36 +0000 Subject: Explicitly only use xmldummy_mac.cc on Mac systems, since libxml (as third-party code) doesn't exclude _mac.cc files automatically. BUG=none TEST=build without warning Review URL: http://codereview.chromium.org/194062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25818 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/libxml/libxml.gyp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp index 16f49d8..37de9c9 100644 --- a/third_party/libxml/libxml.gyp +++ b/third_party/libxml/libxml.gyp @@ -189,7 +189,6 @@ 'type': 'executable', 'sources': [ 'xmlcatalog.c', - 'xmldummy_mac.cc', ], 'include_dirs': [ '<(os_include)', @@ -206,6 +205,11 @@ ], }, }], + ['OS=="mac"', { + 'sources': [ + 'xmldummy_mac.cc', + ], + }], ], }, { @@ -213,7 +217,6 @@ 'type': 'executable', 'sources': [ 'xmllint.c', - 'xmldummy_mac.cc', ], 'include_dirs': [ '<(os_include)', @@ -231,6 +234,11 @@ ], }, }], + ['OS=="mac"', { + 'sources': [ + 'xmldummy_mac.cc', + ], + }], ], }, ], -- cgit v1.1