| 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("//build/config/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", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 if (is_android) { | 33 if (is_android) { |
| 34 sources -= [ | 34 sources -= [ |
| 35 "hunspell_engine.cc", | 35 "hunspell_engine.cc", |
| 36 "hunspell_engine.h", | 36 "hunspell_engine.h", |
| 37 ] | 37 ] |
| 38 } | 38 } |
| 39 | 39 |
| 40 public_deps = [ |
| 41 "//components/spellcheck:build_features", |
| 42 ] |
| 40 deps = [ | 43 deps = [ |
| 41 "//base:i18n", | 44 "//base:i18n", |
| 42 "//components/spellcheck/common", | 45 "//components/spellcheck/common", |
| 43 "//content/public/renderer", | 46 "//content/public/renderer", |
| 44 "//ipc", | 47 "//ipc", |
| 45 "//third_party/WebKit/public:blink", | 48 "//third_party/WebKit/public:blink", |
| 46 "//third_party/icu", | 49 "//third_party/icu", |
| 47 ] | 50 ] |
| 48 | 51 |
| 49 if (!is_android) { | 52 if (!is_android) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 ] | 101 ] |
| 99 | 102 |
| 100 if (is_mac && !is_ios) { | 103 if (is_mac && !is_ios) { |
| 101 deps += [ "//third_party/hunspell" ] | 104 deps += [ "//third_party/hunspell" ] |
| 102 } | 105 } |
| 103 | 106 |
| 104 if (is_win) { | 107 if (is_win) { |
| 105 cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.co
m/633312) | 108 cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.co
m/633312) |
| 106 } | 109 } |
| 107 } | 110 } |
| OLD | NEW |