Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(954)

Unified Diff: chrome/third_party/hunspell/SConscript

Issue 27054: Multiple fixes for broken Linux SHARED=1 build. (Closed)
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/unit/unit_tests.scons ('k') | chrome/tools/convert_dict/convert_dict.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « chrome/test/unit/unit_tests.scons ('k') | chrome/tools/convert_dict/convert_dict.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698