| 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" ]
|
|
|
|
|