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 import("//components/spellcheck/spellcheck_build_features.gni") | 5 import("//components/spellcheck/spellcheck_build_features.gni") |
6 | 6 |
7 source_set("renderer") { | 7 source_set("renderer") { |
8 sources = [ | 8 sources = [ |
9 "custom_dictionary_engine.cc", | 9 "custom_dictionary_engine.cc", |
10 "custom_dictionary_engine.h", | 10 "custom_dictionary_engine.h", |
11 "hunspell_engine.cc", | 11 "hunspell_engine.cc", |
12 "hunspell_engine.h", | 12 "hunspell_engine.h", |
13 "platform_spelling_engine.cc", | 13 "platform_spelling_engine.cc", |
14 "platform_spelling_engine.h", | 14 "platform_spelling_engine.h", |
15 "spellcheck.cc", | 15 "spellcheck.cc", |
16 "spellcheck.h", | 16 "spellcheck.h", |
17 "spellcheck_language.cc", | 17 "spellcheck_language.cc", |
18 "spellcheck_language.h", | 18 "spellcheck_language.h", |
| 19 "spellcheck_panel.cc", |
| 20 "spellcheck_panel.h", |
19 "spellcheck_provider.cc", | 21 "spellcheck_provider.cc", |
20 "spellcheck_provider.h", | 22 "spellcheck_provider.h", |
21 "spellcheck_worditerator.cc", | 23 "spellcheck_worditerator.cc", |
22 "spellcheck_worditerator.h", | 24 "spellcheck_worditerator.h", |
23 "spelling_engine.h", | 25 "spelling_engine.h", |
24 ] | 26 ] |
25 | 27 |
26 if (!use_browser_spellchecker) { | 28 if (!use_browser_spellchecker) { |
27 sources -= [ | 29 sources -= [ |
28 "platform_spelling_engine.cc", | 30 "platform_spelling_engine.cc", |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 ] | 104 ] |
103 | 105 |
104 if (is_mac && !is_ios) { | 106 if (is_mac && !is_ios) { |
105 deps += [ "//third_party/hunspell" ] | 107 deps += [ "//third_party/hunspell" ] |
106 } | 108 } |
107 | 109 |
108 if (is_win) { | 110 if (is_win) { |
109 cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.co
m/633312) | 111 cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.co
m/633312) |
110 } | 112 } |
111 } | 113 } |
OLD | NEW |