summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/spellcheck_unittest.cc9
-rw-r--r--chrome/chrome.gyp1
-rw-r--r--chrome/third_party/hunspell/hunspell.gyp8
3 files changed, 12 insertions, 6 deletions
diff --git a/chrome/browser/spellcheck_unittest.cc b/chrome/browser/spellcheck_unittest.cc
index d0fa608..0378ad4 100644
--- a/chrome/browser/spellcheck_unittest.cc
+++ b/chrome/browser/spellcheck_unittest.cc
@@ -12,16 +12,15 @@
#include "testing/gtest/include/gtest/gtest.h"
namespace {
+const FilePath::CharType kTempCustomDictionaryFile[] =
+ FILE_PATH_LITERAL("temp_custom_dictionary.txt");
+} // namespace
+
class SpellCheckTest : public testing::Test {
private:
MessageLoop message_loop_;
};
-const FilePath::CharType kTempCustomDictionaryFile[] =
- FILE_PATH_LITERAL("temp_custom_dictionary.txt");
-
-} // namespace
-
// Represents a special initialization function used only for the unit tests
// in this file.
extern void InitHunspellWithFiles(FILE* file_aff_hunspell,
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 4e41a1a..6f1d788 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1732,7 +1732,6 @@
'browser/browser_commands_unittest.cc',
'browser/login_prompt_unittest.cc',
'browser/navigation_controller_unittest.cc',
- 'browser/spellcheck_unittest.cc',
'browser/visitedlink_unittest.cc',
'browser/webdata/web_database_unittest.cc',
'browser/window_sizer_unittest.cc',
diff --git a/chrome/third_party/hunspell/hunspell.gyp b/chrome/third_party/hunspell/hunspell.gyp
index 8b74939..f2049fd 100644
--- a/chrome/third_party/hunspell/hunspell.gyp
+++ b/chrome/third_party/hunspell/hunspell.gyp
@@ -47,6 +47,14 @@
'src/parsers/textparser.cxx',
'src/parsers/textparser.hxx',
],
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)/Dictionaries',
+ 'files': [
+ 'dictionaries/en-US-1-2.bdic',
+ ],
+ },
+ ],
'direct_dependent_settings': {
'defines': [
'HUNSPELL_CHROME_CLIENT',