diff options
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([ |