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

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

Issue 1655933004: Refactor to share code between shortcuts tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shortcuts
Patch Set: 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
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",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 "//components/variations", 229 "//components/variations",
227 "//net:test_support", 230 "//net:test_support",
228 "//sql", 231 "//sql",
229 "//sql:test_support", 232 "//sql:test_support",
230 "//testing/gmock", 233 "//testing/gmock",
231 "//testing/gtest", 234 "//testing/gtest",
232 "//ui/base", 235 "//ui/base",
233 "//url", 236 "//url",
234 ] 237 ]
235 } 238 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698