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", |
198 "//sql", | |
dyaroshev
2016/10/26 22:16:04
Check if necessary
| |
190 "//testing/gmock", | 199 "//testing/gmock", |
191 "//testing/gtest", | 200 "//testing/gtest", |
201 "//ui/base", | |
192 ] | 202 ] |
193 } | 203 } |
194 | 204 |
195 bundle_data("unit_tests_bundle_data") { | 205 bundle_data("unit_tests_bundle_data") { |
196 visibility = [ ":unit_tests" ] | 206 visibility = [ ":unit_tests" ] |
197 testonly = true | 207 testonly = true |
198 sources = [ | 208 sources = [ |
199 "//components/test/data/omnibox/Shortcuts.no_fill_into_edit.sql", | 209 "//components/test/data/omnibox/Shortcuts.no_fill_into_edit.sql", |
200 "//components/test/data/omnibox/Shortcuts.v0.sql", | 210 "//components/test/data/omnibox/Shortcuts.v0.sql", |
201 "//components/test/data/omnibox/in_memory_url_index_test.db.txt", | 211 "//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", | 246 "suggestion_answer_unittest.cc", |
237 "url_prefix_unittest.cc", | 247 "url_prefix_unittest.cc", |
238 "zero_suggest_provider_unittest.cc", | 248 "zero_suggest_provider_unittest.cc", |
239 ] | 249 ] |
240 | 250 |
241 deps = [ | 251 deps = [ |
242 ":browser", | 252 ":browser", |
243 ":test_support", | 253 ":test_support", |
244 ":unit_tests_bundle_data", | 254 ":unit_tests_bundle_data", |
245 "//base", | 255 "//base", |
246 "//base/test:test_support", | |
247 "//components/bookmarks/browser", | 256 "//components/bookmarks/browser", |
248 "//components/bookmarks/test", | 257 "//components/bookmarks/test", |
249 "//components/history/core/test", | 258 "//components/history/core/test", |
250 "//components/open_from_clipboard:test_support", | 259 "//components/open_from_clipboard:test_support", |
251 "//components/physical_web/data_source", | 260 "//components/physical_web/data_source", |
252 "//components/prefs:test_support", | 261 "//components/prefs:test_support", |
253 "//components/search", | 262 "//components/search", |
254 "//components/search_engines", | 263 "//components/search_engines", |
255 "//components/sessions", | 264 "//components/sessions", |
256 "//components/strings", | 265 "//components/strings", |
257 "//components/toolbar:test_support", | 266 "//components/toolbar:test_support", |
258 "//components/url_formatter", | 267 "//components/url_formatter", |
259 "//components/variations", | 268 "//components/variations", |
260 "//net:test_support", | 269 "//net:test_support", |
261 "//sql", | 270 "//sql", |
262 "//sql:test_support", | 271 "//sql:test_support", |
263 "//testing/gmock", | 272 "//testing/gmock", |
264 "//testing/gtest", | 273 "//testing/gtest", |
265 "//ui/base", | |
266 "//url", | 274 "//url", |
267 ] | 275 ] |
268 } | 276 } |
OLD | NEW |