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", | |
dyaroshev
2016/10/24 17:07:08
Remove now unnecessary dependencies from "unit_tes
| |
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", | |
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
259 "//components/variations", | 269 "//components/variations", |
260 "//net:test_support", | 270 "//net:test_support", |
261 "//sql", | 271 "//sql", |
262 "//sql:test_support", | 272 "//sql:test_support", |
263 "//testing/gmock", | 273 "//testing/gmock", |
264 "//testing/gtest", | 274 "//testing/gtest", |
265 "//ui/base", | 275 "//ui/base", |
266 "//url", | 276 "//url", |
267 ] | 277 ] |
268 } | 278 } |
OLD | NEW |