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

Unified Diff: components/spellcheck.gypi

Issue 2198143002: Componentize spellcheck [3]: move renderer/ files to component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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 | « components/components_tests.gyp ('k') | components/spellcheck/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck.gypi
diff --git a/components/spellcheck.gypi b/components/spellcheck.gypi
index d19873a69a4c35bb6040760574b6d5ca5c1fa463..4615ec78a01b1d148e6f67ea5078b35b998f7cac 100644
--- a/components/spellcheck.gypi
+++ b/components/spellcheck.gypi
@@ -16,17 +16,67 @@
'..',
],
'sources': [
- "spellcheck/common/spellcheck_bdict_language.h",
- "spellcheck/common/spellcheck_common.cc",
- "spellcheck/common/spellcheck_common.h",
- "spellcheck/common/spellcheck_marker.h",
- "spellcheck/common/spellcheck_message_generator.cc",
- "spellcheck/common/spellcheck_message_generator.h",
- "spellcheck/common/spellcheck_messages.h",
- "spellcheck/common/spellcheck_result.h",
+ 'spellcheck/common/spellcheck_bdict_language.h',
+ 'spellcheck/common/spellcheck_common.cc',
+ 'spellcheck/common/spellcheck_common.h',
+ 'spellcheck/common/spellcheck_marker.h',
+ 'spellcheck/common/spellcheck_message_generator.cc',
+ 'spellcheck/common/spellcheck_message_generator.h',
+ 'spellcheck/common/spellcheck_messages.h',
+ 'spellcheck/common/spellcheck_result.h',
'spellcheck/common/spellcheck_switches.cc',
'spellcheck/common/spellcheck_switches.h',
],
},
+ {
+ # GN version: //components/spellcheck/renderer
+ 'target_name': 'spellcheck_renderer',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'spellcheck_common',
+ '../third_party/icu/icu.gyp:icui18n',
+ '../third_party/icu/icu.gyp:icuuc',
+ '../third_party/WebKit/public/blink.gyp:blink',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'spellcheck/renderer/custom_dictionary_engine.cc',
+ 'spellcheck/renderer/custom_dictionary_engine.h',
+ 'spellcheck/renderer/hunspell_engine.cc',
+ 'spellcheck/renderer/hunspell_engine.h',
+ 'spellcheck/renderer/platform_spelling_engine.cc',
+ 'spellcheck/renderer/platform_spelling_engine.h',
+ 'spellcheck/renderer/spellcheck.cc',
+ 'spellcheck/renderer/spellcheck.h',
+ 'spellcheck/renderer/spellcheck_language.cc',
+ 'spellcheck/renderer/spellcheck_language.h',
+ 'spellcheck/renderer/spellcheck_provider.cc',
+ 'spellcheck/renderer/spellcheck_provider.h',
+ 'spellcheck/renderer/spellcheck_worditerator.cc',
+ 'spellcheck/renderer/spellcheck_worditerator.h',
+ 'spellcheck/renderer/spelling_engine.h',
+ ],
+ 'conditions': [
+ ['OS=="android"', {
+ 'sources!': [
+ 'spellcheck/hunspell_engine.cc',
+ 'spellcheck/hunspell_engine.h',
+ ]
+ }],
+ ['OS!="android"', {
+ 'dependencies': [
+ '../third_party/hunspell/hunspell.gyp:hunspell',
+ ],
+ }],
+ ['use_browser_spellchecker==0', {
+ 'sources!': [
+ 'spellcheck/platform_spelling_engine.cc',
+ 'spellcheck/platform_spelling_engine.h',
+ ]
+ }],
+ ],
+ },
],
}
« no previous file with comments | « components/components_tests.gyp ('k') | components/spellcheck/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698