OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 static_library("test_support") { | 159 static_library("test_support") { |
160 testonly = true | 160 testonly = true |
161 sources = [ | 161 sources = [ |
162 "history_index_restore_observer.cc", | 162 "history_index_restore_observer.cc", |
163 "history_index_restore_observer.h", | 163 "history_index_restore_observer.h", |
164 "in_memory_url_index_test_util.cc", | 164 "in_memory_url_index_test_util.cc", |
165 "in_memory_url_index_test_util.h", | 165 "in_memory_url_index_test_util.h", |
166 "mock_autocomplete_provider_client.cc", | 166 "mock_autocomplete_provider_client.cc", |
167 "mock_autocomplete_provider_client.h", | 167 "mock_autocomplete_provider_client.h", |
| 168 "shortcuts_provider_test_util.cc", |
| 169 "shortcuts_provider_test_util.h", |
168 "test_scheme_classifier.cc", | 170 "test_scheme_classifier.cc", |
169 "test_scheme_classifier.h", | 171 "test_scheme_classifier.h", |
170 ] | 172 ] |
171 | 173 |
172 deps = [ | 174 deps = [ |
173 ":browser", | 175 ":browser", |
174 "//base", | 176 "//base", |
175 "//components/history/core/browser", | 177 "//components/history/core/browser", |
176 "//components/metrics/proto", | 178 "//components/metrics/proto", |
177 "//components/search_engines", | 179 "//components/search_engines", |
178 "//net", | 180 "//net", |
179 "//testing/gmock", | 181 "//testing/gmock", |
| 182 "//testing/gtest", |
180 ] | 183 ] |
181 } | 184 } |
182 | 185 |
183 source_set("unit_tests") { | 186 source_set("unit_tests") { |
184 testonly = true | 187 testonly = true |
185 sources = [ | 188 sources = [ |
186 "answers_cache_unittest.cc", | 189 "answers_cache_unittest.cc", |
187 "autocomplete_input_unittest.cc", | 190 "autocomplete_input_unittest.cc", |
188 "autocomplete_match_unittest.cc", | 191 "autocomplete_match_unittest.cc", |
189 "autocomplete_provider_unittest.cc", | 192 "autocomplete_provider_unittest.cc", |
190 "autocomplete_result_unittest.cc", | 193 "autocomplete_result_unittest.cc", |
191 "base_search_provider_unittest.cc", | 194 "base_search_provider_unittest.cc", |
192 "bookmark_provider_unittest.cc", | 195 "bookmark_provider_unittest.cc", |
193 "clipboard_url_provider_unittest.cc", | 196 "clipboard_url_provider_unittest.cc", |
194 "history_quick_provider_unittest.cc", | 197 "history_quick_provider_unittest.cc", |
195 "history_url_provider_unittest.cc", | 198 "history_url_provider_unittest.cc", |
196 "in_memory_url_index_types_unittest.cc", | 199 "in_memory_url_index_types_unittest.cc", |
197 "in_memory_url_index_unittest.cc", | 200 "in_memory_url_index_unittest.cc", |
198 "keyword_provider_unittest.cc", | 201 "keyword_provider_unittest.cc", |
199 "omnibox_edit_unittest.cc", | 202 "omnibox_edit_unittest.cc", |
200 "omnibox_field_trial_unittest.cc", | 203 "omnibox_field_trial_unittest.cc", |
201 "omnibox_popup_model_unittest.cc", | 204 "omnibox_popup_model_unittest.cc", |
202 "omnibox_view_unittest.cc", | 205 "omnibox_view_unittest.cc", |
203 "scored_history_match_unittest.cc", | 206 "scored_history_match_unittest.cc", |
| 207 "shortcuts_backend_unittest.cc", |
204 "shortcuts_database_unittest.cc", | 208 "shortcuts_database_unittest.cc", |
| 209 "shortcuts_provider_unittest.cc", |
205 "suggestion_answer_unittest.cc", | 210 "suggestion_answer_unittest.cc", |
206 "zero_suggest_provider_unittest.cc", | 211 "zero_suggest_provider_unittest.cc", |
207 ] | 212 ] |
208 | 213 |
209 deps = [ | 214 deps = [ |
210 ":browser", | 215 ":browser", |
211 ":test_support", | 216 ":test_support", |
212 "//base", | 217 "//base", |
213 "//base/test:test_support", | 218 "//base/test:test_support", |
214 "//components/bookmarks/browser", | 219 "//components/bookmarks/browser", |
215 "//components/bookmarks/test", | 220 "//components/bookmarks/test", |
216 "//components/history/core/test", | 221 "//components/history/core/test", |
217 "//components/open_from_clipboard:test_support", | 222 "//components/open_from_clipboard:test_support", |
218 "//components/prefs:test_support", | 223 "//components/prefs:test_support", |
219 "//components/search", | 224 "//components/search", |
220 "//components/search_engines", | 225 "//components/search_engines", |
221 "//components/sessions", | 226 "//components/sessions", |
222 "//components/toolbar:test_support", | 227 "//components/toolbar:test_support", |
223 "//components/url_formatter", | 228 "//components/url_formatter", |
224 "//components/variations", | 229 "//components/variations", |
225 "//net:test_support", | 230 "//net:test_support", |
226 "//sql", | 231 "//sql", |
227 "//sql:test_support", | 232 "//sql:test_support", |
228 "//testing/gmock", | 233 "//testing/gmock", |
229 "//testing/gtest", | 234 "//testing/gtest", |
230 "//ui/base", | 235 "//ui/base", |
231 "//url", | 236 "//url", |
232 ] | 237 ] |
233 } | 238 } |
OLD | NEW |