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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 proto_library("in_memory_url_index_cache_proto") { | 162 proto_library("in_memory_url_index_cache_proto") { |
163 sources = [ | 163 sources = [ |
164 "in_memory_url_index_cache.proto", | 164 "in_memory_url_index_cache.proto", |
165 ] | 165 ] |
166 } | 166 } |
167 | 167 |
168 static_library("test_support") { | 168 static_library("test_support") { |
169 testonly = true | 169 testonly = true |
170 sources = [ | 170 sources = [ |
| 171 "fake_autocomplete_provider_client.cc", |
| 172 "fake_autocomplete_provider_client.h", |
171 "history_index_restore_observer.cc", | 173 "history_index_restore_observer.cc", |
172 "history_index_restore_observer.h", | 174 "history_index_restore_observer.h", |
| 175 "history_test_util.cc", |
| 176 "history_test_util.h", |
173 "in_memory_url_index_test_util.cc", | 177 "in_memory_url_index_test_util.cc", |
174 "in_memory_url_index_test_util.h", | 178 "in_memory_url_index_test_util.h", |
175 "mock_autocomplete_provider_client.cc", | 179 "mock_autocomplete_provider_client.cc", |
176 "mock_autocomplete_provider_client.h", | 180 "mock_autocomplete_provider_client.h", |
177 "shortcuts_provider_test_util.cc", | 181 "shortcuts_provider_test_util.cc", |
178 "shortcuts_provider_test_util.h", | 182 "shortcuts_provider_test_util.h", |
179 "test_scheme_classifier.cc", | 183 "test_scheme_classifier.cc", |
180 "test_scheme_classifier.h", | 184 "test_scheme_classifier.h", |
181 ] | 185 ] |
182 | 186 |
183 deps = [ | 187 deps = [ |
184 ":browser", | 188 ":browser", |
185 "//base", | 189 "//base", |
| 190 "//base/test:test_support", |
| 191 "//components/bookmarks/browser", |
| 192 "//components/bookmarks/test", |
186 "//components/history/core/browser", | 193 "//components/history/core/browser", |
| 194 "//components/history/core/test", |
187 "//components/metrics/proto", | 195 "//components/metrics/proto", |
188 "//components/search_engines", | 196 "//components/search_engines", |
189 "//net", | 197 "//net", |
190 "//testing/gmock", | 198 "//testing/gmock", |
191 "//testing/gtest", | 199 "//testing/gtest", |
| 200 "//ui/base", |
192 ] | 201 ] |
193 } | 202 } |
194 | 203 |
195 bundle_data("unit_tests_bundle_data") { | 204 bundle_data("unit_tests_bundle_data") { |
196 visibility = [ ":unit_tests" ] | 205 visibility = [ ":unit_tests" ] |
197 testonly = true | 206 testonly = true |
198 sources = [ | 207 sources = [ |
199 "//components/test/data/omnibox/Shortcuts.no_fill_into_edit.sql", | 208 "//components/test/data/omnibox/Shortcuts.no_fill_into_edit.sql", |
200 "//components/test/data/omnibox/Shortcuts.v0.sql", | 209 "//components/test/data/omnibox/Shortcuts.v0.sql", |
201 "//components/test/data/omnibox/in_memory_url_index_test.db.txt", | 210 "//components/test/data/omnibox/in_memory_url_index_test.db.txt", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 "suggestion_answer_unittest.cc", | 245 "suggestion_answer_unittest.cc", |
237 "url_prefix_unittest.cc", | 246 "url_prefix_unittest.cc", |
238 "zero_suggest_provider_unittest.cc", | 247 "zero_suggest_provider_unittest.cc", |
239 ] | 248 ] |
240 | 249 |
241 deps = [ | 250 deps = [ |
242 ":browser", | 251 ":browser", |
243 ":test_support", | 252 ":test_support", |
244 ":unit_tests_bundle_data", | 253 ":unit_tests_bundle_data", |
245 "//base", | 254 "//base", |
246 "//base/test:test_support", | |
247 "//components/bookmarks/browser", | 255 "//components/bookmarks/browser", |
248 "//components/bookmarks/test", | 256 "//components/bookmarks/test", |
249 "//components/history/core/test", | 257 "//components/history/core/test", |
250 "//components/open_from_clipboard:test_support", | 258 "//components/open_from_clipboard:test_support", |
251 "//components/physical_web/data_source", | 259 "//components/physical_web/data_source", |
252 "//components/prefs:test_support", | 260 "//components/prefs:test_support", |
253 "//components/search", | 261 "//components/search", |
254 "//components/search_engines", | 262 "//components/search_engines", |
255 "//components/sessions", | 263 "//components/sessions", |
256 "//components/strings", | 264 "//components/strings", |
257 "//components/toolbar:test_support", | 265 "//components/toolbar:test_support", |
258 "//components/url_formatter", | 266 "//components/url_formatter", |
259 "//components/variations", | 267 "//components/variations", |
260 "//net:test_support", | 268 "//net:test_support", |
261 "//sql", | 269 "//sql", |
262 "//sql:test_support", | 270 "//sql:test_support", |
263 "//testing/gmock", | 271 "//testing/gmock", |
264 "//testing/gtest", | 272 "//testing/gtest", |
265 "//ui/base", | 273 "//ui/base:base", |
266 "//url", | 274 "//url", |
267 ] | 275 ] |
268 } | 276 } |
OLD | NEW |