| 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", |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 if (is_win) { | 56 if (is_win) { |
| 57 cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.co
m/633312) | 57 cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.co
m/633312) |
| 58 } | 58 } |
| 59 } | 59 } |
| 60 | 60 |
| 61 source_set("unit_tests") { | 61 source_set("unit_tests") { |
| 62 testonly = true | 62 testonly = true |
| 63 sources = [ | 63 sources = [ |
| 64 "custom_dictionary_engine_unittest.cc", | 64 "custom_dictionary_engine_unittest.cc", |
| 65 "spellcheck_multilingual_unittest.cc", | 65 "spellcheck_multilingual_unittest.cc", |
| 66 "spellcheck_provider_cache_unittest.cc", |
| 66 "spellcheck_provider_hunspell_unittest.cc", | 67 "spellcheck_provider_hunspell_unittest.cc", |
| 67 "spellcheck_provider_mac_unittest.cc", | 68 "spellcheck_provider_mac_unittest.cc", |
| 68 "spellcheck_provider_test.cc", | 69 "spellcheck_provider_test.cc", |
| 69 "spellcheck_provider_test.h", | 70 "spellcheck_provider_test.h", |
| 70 "spellcheck_unittest.cc", | 71 "spellcheck_unittest.cc", |
| 71 "spellcheck_worditerator_unittest.cc", | 72 "spellcheck_worditerator_unittest.cc", |
| 72 ] | 73 ] |
| 73 data = [ | 74 data = [ |
| 74 "//third_party/hunspell_dictionaries/", | 75 "//third_party/hunspell_dictionaries/", |
| 75 ] | 76 ] |
| (...skipping 25 matching lines...) Expand all Loading... |
| 101 ] | 102 ] |
| 102 | 103 |
| 103 if (is_mac && !is_ios) { | 104 if (is_mac && !is_ios) { |
| 104 deps += [ "//third_party/hunspell" ] | 105 deps += [ "//third_party/hunspell" ] |
| 105 } | 106 } |
| 106 | 107 |
| 107 if (is_win) { | 108 if (is_win) { |
| 108 cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.co
m/633312) | 109 cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.co
m/633312) |
| 109 } | 110 } |
| 110 } | 111 } |
| OLD | NEW |