diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-12 23:23:52 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-12 23:23:52 +0000 |
commit | 2c22c19660813c683eae115604c282c1f4044e6d (patch) | |
tree | 9e4b8b2c85830f66f77f977bc39ceefd006eac50 /chrome/SConscript | |
parent | 4f2ad3f5ab8550a404d4c70c29938c19110b3ecb (diff) | |
download | chromium_src-2c22c19660813c683eae115604c282c1f4044e6d.zip chromium_src-2c22c19660813c683eae115604c282c1f4044e6d.tar.gz chromium_src-2c22c19660813c683eae115604c282c1f4044e6d.tar.bz2 |
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 <fta@sofaraway.org>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5320 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/SConscript')
-rw-r--r-- | chrome/SConscript | 7 |
1 files changed, 5 insertions, 2 deletions
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([ |