summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 06:18:54 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 06:18:54 +0000
commitc8c4f954af8b55d12a3d76a0ef41def31594aceb (patch)
tree8e8ea1d5b1a81e12ebee4594e8da29ac78eadb65
parentcec62f912b926428ecd3897fac98574a728a3ff3 (diff)
downloadchromium_src-c8c4f954af8b55d12a3d76a0ef41def31594aceb.zip
chromium_src-c8c4f954af8b55d12a3d76a0ef41def31594aceb.tar.gz
chromium_src-c8c4f954af8b55d12a3d76a0ef41def31594aceb.tar.bz2
Add hunspell.gyp and add spellchecker.cc to chrome.gyp:browser
Review URL: http://codereview.chromium.org/28177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10454 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/chrome.gyp2
-rw-r--r--chrome/third_party/hunspell/hunspell.gyp58
2 files changed, 59 insertions, 1 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 1a5a48b..06d65dc 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -314,6 +314,7 @@
'../third_party/icu38/icu38.gyp:icuuc',
'../third_party/libxml/libxml.gyp:libxml',
'../third_party/npapi/npapi.gyp:npapi',
+ 'third_party/hunspell/hunspell.gyp:hunspell',
],
'include_dirs': [
'..',
@@ -1195,7 +1196,6 @@
'browser/modal_html_dialog_delegate.cc',
'browser/sandbox_policy.cc',
'browser/shell_integration.cc',
- 'browser/spellchecker.cc',
'browser/task_manager.cc',
'browser/task_manager_resource_providers.cc',
'browser/window_sizer.cc',
diff --git a/chrome/third_party/hunspell/hunspell.gyp b/chrome/third_party/hunspell/hunspell.gyp
new file mode 100644
index 0000000..8b74939
--- /dev/null
+++ b/chrome/third_party/hunspell/hunspell.gyp
@@ -0,0 +1,58 @@
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'includes': [
+ '../../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'hunspell',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../../../base/base.gyp:base',
+ '../../../third_party/icu38/icu38.gyp:icuuc',
+ ],
+ 'defines': [
+ 'HUNSPELL_CHROME_CLIENT',
+ 'OPENOFFICEORG',
+ ],
+ 'sources': [
+ 'google/bdict.h',
+ 'google/bdict_reader.cc',
+ 'google/bdict_reader.h',
+ 'google/bdict_writer.cc',
+ 'google/bdict_writer.h',
+ 'src/hunspell/affentry.cxx',
+ 'src/hunspell/affentry.hxx',
+ 'src/hunspell/affixmgr.cxx',
+ 'src/hunspell/affixmgr.hxx',
+ 'src/hunspell/atypes.hxx',
+ 'src/hunspell/baseaffix.hxx',
+ 'src/hunspell/csutil.cxx',
+ 'src/hunspell/csutil.hxx',
+ 'src/hunspell/dictmgr.cxx',
+ 'src/hunspell/dictmgr.hxx',
+ 'src/hunspell/hashmgr.cxx',
+ 'src/hunspell/hashmgr.hxx',
+ 'src/hunspell/htypes.hxx',
+ 'src/hunspell/hunspell.cxx',
+ 'src/hunspell/hunspell.h',
+ 'src/hunspell/hunspell.hxx',
+ 'src/hunspell/langnum.hxx',
+ 'src/hunspell/suggestmgr.cxx',
+ 'src/hunspell/suggestmgr.hxx',
+ 'src/hunspell/utf_info.hxx',
+ 'src/parsers/textparser.cxx',
+ 'src/parsers/textparser.hxx',
+ ],
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'HUNSPELL_CHROME_CLIENT',
+ 'USE_HUNSPELL',
+ ],
+ },
+ },
+ ],
+}