OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 source_set("renderer") { |
| 6 sources = [ |
| 7 "custom_dictionary_engine.cc", |
| 8 "custom_dictionary_engine.h", |
| 9 "hunspell_engine.cc", |
| 10 "hunspell_engine.h", |
| 11 "platform_spelling_engine.cc", |
| 12 "platform_spelling_engine.h", |
| 13 "spellcheck.cc", |
| 14 "spellcheck.h", |
| 15 "spellcheck_language.cc", |
| 16 "spellcheck_language.h", |
| 17 "spellcheck_provider.cc", |
| 18 "spellcheck_provider.h", |
| 19 "spellcheck_worditerator.cc", |
| 20 "spellcheck_worditerator.h", |
| 21 "spelling_engine.h", |
| 22 ] |
| 23 |
| 24 if (is_android) { |
| 25 sources -= [ |
| 26 "hunspell_engine.cc", |
| 27 "hunspell_engine.h", |
| 28 ] |
| 29 } |
| 30 |
| 31 deps = [ |
| 32 # "//base", |
| 33 "//third_party/icu", |
| 34 "//third_party/WebKit/public:blink", |
| 35 ] |
| 36 } |
| 37 |
| 38 source_set("unit_tests") { |
| 39 testonly = true |
| 40 sources = [ |
| 41 "spellcheck_provider_test.cc", |
| 42 "spellcheck_provider_test.h", |
| 43 "custom_dictionary_engine_unittest.cc", |
| 44 "spellcheck_multilingual_unittest.cc", |
| 45 "spellcheck_provider_hunspell_unittest.cc", |
| 46 "spellcheck_provider_mac_unittest.cc", |
| 47 "spellcheck_worditerator_unittest.cc", |
| 48 "spellcheck_unittest.cc", |
| 49 ] |
| 50 |
| 51 deps = [ |
| 52 ":renderer", |
| 53 "//testing/gtest", |
| 54 ] |
| 55 } |
OLD | NEW |