Index: chrome/third_party/hunspell/SConscript |
diff --git a/chrome/third_party/hunspell/SConscript b/chrome/third_party/hunspell/SConscript |
index 803d17b518ca950e271043e1a07e2711be272ab5..c2155fe6bcb705a7b557edbc61c0ab75defc9793 100644 |
--- a/chrome/third_party/hunspell/SConscript |
+++ b/chrome/third_party/hunspell/SConscript |
@@ -106,13 +106,25 @@ input_files = ChromeFileList([ |
MSVSFilter('google', [ |
'google/bdict.h', |
'google/bdict_affentry.h', |
- 'google/bdict_reader.cc', |
'google/bdict_reader.h', |
- 'google/bdict_writer.cc', |
'google/bdict_writer.h', |
]), |
]) |
+if env.Bit('linux'): |
+ bdict_reader_o = env.ChromeObject('google/bdict_reader.cc') |
+ input_files.Append(bdict_reader_o) |
+ bdict_writer_o = env.ChromeObject('google/bdict_writer.cc') |
+ input_files.Append(bdict_writer_o) |
+ Export('bdict_reader_o', 'bdict_writer_o') |
+else: |
+ input_files.Append( |
+ MSVSFilter('google', [ |
+ 'google/bdict_reader.cc', |
+ 'google/bdict_writer.cc', |
+ ]), |
+ ) |
+ |
env.ChromeLibrary('hunspell', input_files) |