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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 } | 64 } |
65 | 65 |
66 source_set("unit_tests") { | 66 source_set("unit_tests") { |
67 testonly = true | 67 testonly = true |
68 sources = [ | 68 sources = [ |
69 "custom_dictionary_engine_unittest.cc", | 69 "custom_dictionary_engine_unittest.cc", |
70 "spellcheck_provider_mac_unittest.cc", | 70 "spellcheck_provider_mac_unittest.cc", |
71 "spellcheck_provider_test.cc", | 71 "spellcheck_provider_test.cc", |
72 "spellcheck_provider_test.h", | 72 "spellcheck_provider_test.h", |
73 "spellcheck_provider_unittest.cc", | 73 "spellcheck_provider_unittest.cc", |
| 74 "spellcheck_unittest2.cc", |
74 "spellcheck_worditerator_unittest.cc", | 75 "spellcheck_worditerator_unittest.cc", |
75 ] | 76 ] |
76 data = [ | 77 data = [ |
77 "//third_party/hunspell_dictionaries/", | 78 "//third_party/hunspell_dictionaries/", |
78 ] | 79 ] |
79 | 80 |
80 if (!is_android) { | 81 if (!is_android) { |
81 sources += [ "spellcheck_unittest.cc" ] | 82 sources += [ "spellcheck_unittest.cc" ] |
82 } | 83 } |
83 | 84 |
(...skipping 16 matching lines...) Expand all Loading... |
100 ] | 101 ] |
101 | 102 |
102 if (is_mac && !is_ios) { | 103 if (is_mac && !is_ios) { |
103 deps += [ "//third_party/hunspell" ] | 104 deps += [ "//third_party/hunspell" ] |
104 } | 105 } |
105 | 106 |
106 if (is_win) { | 107 if (is_win) { |
107 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) |
108 } | 109 } |
109 } | 110 } |
OLD | NEW |