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

Unified Diff: components/search_engines/BUILD.gn

Issue 1598553003: Implement the Windows desktop search redirection feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't assume that a Browser exists + fix nits Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: components/search_engines/BUILD.gn
diff --git a/components/search_engines/BUILD.gn b/components/search_engines/BUILD.gn
index 3229f4b4b4296a43956129e3116db01150f631fb..91b9d14d3991fd9e5a4fe10d1307c0879727c00a 100644
--- a/components/search_engines/BUILD.gn
+++ b/components/search_engines/BUILD.gn
@@ -11,8 +11,10 @@ static_library("search_engines") {
"default_search_manager.h",
"default_search_pref_migration.cc",
"default_search_pref_migration.h",
- "desktop_search_win.cc",
- "desktop_search_win.h",
+ "desktop_search_infobar_delegate_win.cc",
+ "desktop_search_infobar_delegate_win.h",
+ "desktop_search_utils_win.cc",
+ "desktop_search_utils_win.h",
"keyword_table.cc",
"keyword_table.h",
"keyword_web_data_service.cc",
@@ -93,6 +95,10 @@ static_library("search_engines") {
"//components/policy:policy_component",
]
}
+
+ if (is_win) {
+ deps += [ "//components/infobars/core" ]
+ }
}
source_set("test_support") {
@@ -116,7 +122,8 @@ source_set("unit_tests") {
sources = [
"default_search_manager_unittest.cc",
"default_search_pref_migration_unittest.cc",
- "desktop_search_win_unittest.cc",
+ "desktop_search_infobar_delegate_win_unittest.cc",
+ "desktop_search_utils_win_unittest.cc",
"keyword_table_unittest.cc",
"search_engine_data_type_controller_unittest.cc",
"search_host_to_urls_map_unittest.cc",
@@ -140,6 +147,14 @@ source_set("unit_tests") {
"//url",
]
+ if (is_win) {
+ deps += [
+ "//base:prefs",
+ "//components/infobars/core",
+ "//components/syncable_prefs:test_support",
+ ]
+ }
+
if (enable_configuration_policy) {
sources += [ "default_search_policy_handler_unittest.cc" ]

Powered by Google App Engine
This is Rietveld 408576698