Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Side by Side Diff: components/omnibox/browser/BUILD.gn

Issue 1646893003: Moves shared history test helpers into util classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@history
Patch Set: Forward-declare more friends. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 sources = [ 154 sources = [
155 "in_memory_url_index_cache.proto", 155 "in_memory_url_index_cache.proto",
156 ] 156 ]
157 } 157 }
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",
165 "in_memory_url_index_test_util.h",
164 "mock_autocomplete_provider_client.cc", 166 "mock_autocomplete_provider_client.cc",
165 "mock_autocomplete_provider_client.h", 167 "mock_autocomplete_provider_client.h",
166 "test_scheme_classifier.cc", 168 "test_scheme_classifier.cc",
167 "test_scheme_classifier.h", 169 "test_scheme_classifier.h",
168 ] 170 ]
169 171
170 deps = [ 172 deps = [
171 ":browser", 173 ":browser",
172 "//base", 174 "//base",
175 "//components/history/core/browser",
173 "//components/metrics/proto", 176 "//components/metrics/proto",
174 "//components/search_engines", 177 "//components/search_engines",
175 "//net", 178 "//net",
176 "//testing/gmock", 179 "//testing/gmock",
180 "//testing/gtest",
177 ] 181 ]
178 } 182 }
179 183
180 source_set("unit_tests") { 184 source_set("unit_tests") {
181 testonly = true 185 testonly = true
182 sources = [ 186 sources = [
183 "answers_cache_unittest.cc", 187 "answers_cache_unittest.cc",
184 "autocomplete_input_unittest.cc", 188 "autocomplete_input_unittest.cc",
185 "autocomplete_match_unittest.cc", 189 "autocomplete_match_unittest.cc",
186 "autocomplete_provider_unittest.cc", 190 "autocomplete_provider_unittest.cc",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 "//components/variations", 222 "//components/variations",
219 "//net:test_support", 223 "//net:test_support",
220 "//sql", 224 "//sql",
221 "//sql:test_support", 225 "//sql:test_support",
222 "//testing/gmock", 226 "//testing/gmock",
223 "//testing/gtest", 227 "//testing/gtest",
224 "//ui/base", 228 "//ui/base",
225 "//url", 229 "//url",
226 ] 230 ]
227 } 231 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698