From 2c22c19660813c683eae115604c282c1f4044e6d Mon Sep 17 00:00:00 2001 From: "evanm@google.com" Date: Wed, 12 Nov 2008 23:23:52 +0000 Subject: Allow chromium to be built with some system libs by introducing a variable called SYSTEM_LIBS, consisting of a comma-separated list of system libraries. So far, bzip2, libpng, libjpeg, libxml, libxslt, lzma_sdk, zlib, hunspell, sqlite, libevent are recognized. BUG=4321 Review URL: http://codereview.chromium.org/10626 Patch from Fabien Tassin . git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5320 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/SConscript | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'chrome/SConscript') diff --git a/chrome/SConscript b/chrome/SConscript index d691dd9..e87e38d 100644 --- a/chrome/SConscript +++ b/chrome/SConscript @@ -392,10 +392,13 @@ if env_flat['PLATFORM'] == 'win32': sconscript_files = [ 'test/chrome_plugin/SConscript', 'tools/test/image_diff/SConscript', - 'third_party/hunspell/SConscript', - '$THIRD_PARTY_DIR/sqlite/SConscript', ] +if not env.WantSystemLib('hunspell'): + sconscript_files.append('third_party/hunspell/SConscript') +if not env.WantSystemLib('sqlite'): + sconscript_files.append('$THIRD_PARTY_DIR/sqlite/SConscript') + # TODO(port) if env['PLATFORM'] == 'win32': sconscript_files.extend([ -- cgit v1.1