OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //components/spellcheck/common | 8 # GN version: //components/spellcheck/common |
9 'target_name': 'spellcheck_common', | 9 'target_name': 'spellcheck_common', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../third_party/icu/icu.gyp:icui18n', | 12 '../third_party/icu/icu.gyp:icui18n', |
13 '../third_party/icu/icu.gyp:icuuc', | 13 '../third_party/icu/icu.gyp:icuuc', |
14 ], | 14 ], |
15 'include_dirs': [ | 15 'include_dirs': [ |
16 '..', | 16 '..', |
17 ], | 17 ], |
18 'sources': [ | 18 'sources': [ |
19 "spellcheck/common/spellcheck_bdict_language.h", | 19 'spellcheck/common/spellcheck_bdict_language.h', |
20 "spellcheck/common/spellcheck_common.cc", | 20 'spellcheck/common/spellcheck_common.cc', |
21 "spellcheck/common/spellcheck_common.h", | 21 'spellcheck/common/spellcheck_common.h', |
22 "spellcheck/common/spellcheck_marker.h", | 22 'spellcheck/common/spellcheck_marker.h', |
23 "spellcheck/common/spellcheck_message_generator.cc", | 23 'spellcheck/common/spellcheck_message_generator.cc', |
24 "spellcheck/common/spellcheck_message_generator.h", | 24 'spellcheck/common/spellcheck_message_generator.h', |
25 "spellcheck/common/spellcheck_messages.h", | 25 'spellcheck/common/spellcheck_messages.h', |
26 "spellcheck/common/spellcheck_result.h", | 26 'spellcheck/common/spellcheck_result.h', |
27 'spellcheck/common/spellcheck_switches.cc', | 27 'spellcheck/common/spellcheck_switches.cc', |
28 'spellcheck/common/spellcheck_switches.h', | 28 'spellcheck/common/spellcheck_switches.h', |
29 ], | 29 ], |
30 }, | 30 }, |
| 31 { |
| 32 # GN version: //components/spellcheck/renderer |
| 33 'target_name': 'spellcheck_renderer', |
| 34 'type': 'static_library', |
| 35 'dependencies': [ |
| 36 'spellcheck_common', |
| 37 '../third_party/icu/icu.gyp:icui18n', |
| 38 '../third_party/icu/icu.gyp:icuuc', |
| 39 '../third_party/WebKit/public/blink.gyp:blink', |
| 40 ], |
| 41 'include_dirs': [ |
| 42 '..', |
| 43 ], |
| 44 'sources': [ |
| 45 'spellcheck/renderer/custom_dictionary_engine.cc', |
| 46 'spellcheck/renderer/custom_dictionary_engine.h', |
| 47 'spellcheck/renderer/hunspell_engine.cc', |
| 48 'spellcheck/renderer/hunspell_engine.h', |
| 49 'spellcheck/renderer/platform_spelling_engine.cc', |
| 50 'spellcheck/renderer/platform_spelling_engine.h', |
| 51 'spellcheck/renderer/spellcheck.cc', |
| 52 'spellcheck/renderer/spellcheck.h', |
| 53 'spellcheck/renderer/spellcheck_language.cc', |
| 54 'spellcheck/renderer/spellcheck_language.h', |
| 55 'spellcheck/renderer/spellcheck_provider.cc', |
| 56 'spellcheck/renderer/spellcheck_provider.h', |
| 57 'spellcheck/renderer/spellcheck_worditerator.cc', |
| 58 'spellcheck/renderer/spellcheck_worditerator.h', |
| 59 'spellcheck/renderer/spelling_engine.h', |
| 60 ], |
| 61 'conditions': [ |
| 62 ['OS=="android"', { |
| 63 'sources!': [ |
| 64 'spellcheck/hunspell_engine.cc', |
| 65 'spellcheck/hunspell_engine.h', |
| 66 ] |
| 67 }], |
| 68 ['OS!="android"', { |
| 69 'dependencies': [ |
| 70 '../third_party/hunspell/hunspell.gyp:hunspell', |
| 71 ], |
| 72 }], |
| 73 ['use_browser_spellchecker==0', { |
| 74 'sources!': [ |
| 75 'spellcheck/platform_spelling_engine.cc', |
| 76 'spellcheck/platform_spelling_engine.h', |
| 77 ] |
| 78 }], |
| 79 ], |
| 80 }, |
31 ], | 81 ], |
32 } | 82 } |
OLD | NEW |