diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-09 23:40:36 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-09 23:40:36 +0000 |
commit | 7f01f83fd464fc13cbdb9d377493d1781decf363 (patch) | |
tree | 659a27fd2b1c7c7114787882104e5c88d6159042 /third_party/libxml | |
parent | 041b2e4c8aceac7914c9fb26e33b99895f3624c9 (diff) | |
download | chromium_src-7f01f83fd464fc13cbdb9d377493d1781decf363.zip chromium_src-7f01f83fd464fc13cbdb9d377493d1781decf363.tar.gz chromium_src-7f01f83fd464fc13cbdb9d377493d1781decf363.tar.bz2 |
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
Diffstat (limited to 'third_party/libxml')
-rw-r--r-- | third_party/libxml/libxml.gyp | 12 |
1 files 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', + ], + }], ], }, ], |