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

Side by Side 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: fix build errors due to prefs being moved in components 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
« no previous file with comments | « components/search_engines.gypi ('k') | components/search_engines/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//tools/json_to_struct/json_to_struct.gni") 6 import("//tools/json_to_struct/json_to_struct.gni")
7 7
8 static_library("search_engines") { 8 static_library("search_engines") {
9 sources = [ 9 sources = [
10 "default_search_manager.cc", 10 "default_search_manager.cc",
11 "default_search_manager.h", 11 "default_search_manager.h",
12 "default_search_pref_migration.cc", 12 "default_search_pref_migration.cc",
13 "default_search_pref_migration.h", 13 "default_search_pref_migration.h",
14 "desktop_search_win.cc", 14 "desktop_search_redirection_infobar_delegate.cc",
15 "desktop_search_win.h", 15 "desktop_search_redirection_infobar_delegate.h",
16 "desktop_search_utils.cc",
17 "desktop_search_utils.h",
16 "keyword_table.cc", 18 "keyword_table.cc",
17 "keyword_table.h", 19 "keyword_table.h",
18 "keyword_web_data_service.cc", 20 "keyword_web_data_service.cc",
19 "keyword_web_data_service.h", 21 "keyword_web_data_service.h",
20 "search_engine_data_type_controller.cc", 22 "search_engine_data_type_controller.cc",
21 "search_engine_data_type_controller.h", 23 "search_engine_data_type_controller.h",
22 "search_engine_type.h", 24 "search_engine_type.h",
23 "search_engines_pref_names.cc", 25 "search_engines_pref_names.cc",
24 "search_engines_pref_names.h", 26 "search_engines_pref_names.h",
25 "search_engines_switches.cc", 27 "search_engines_switches.cc",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 "//components/google/core/browser", 60 "//components/google/core/browser",
59 "//components/history/core/browser", 61 "//components/history/core/browser",
60 "//components/keyed_service/core", 62 "//components/keyed_service/core",
61 "//components/metrics/proto", 63 "//components/metrics/proto",
62 64
63 # The search_engines target is in an include cycle with 65 # The search_engines target is in an include cycle with
64 # components/omnibox/browser. The cycle is whitelisted in the 66 # components/omnibox/browser. The cycle is whitelisted in the
65 # omnibox/browser target, but should ideally be fixed, then this 67 # omnibox/browser target, but should ideally be fixed, then this
66 # dependency added: 68 # dependency added:
67 #"//components/omnibox/browser", 69 #"//components/omnibox/browser",
70 "//components/infobars/core",
68 "//components/pref_registry", 71 "//components/pref_registry",
69 "//components/prefs", 72 "//components/prefs",
70 "//components/rappor", 73 "//components/rappor",
71 "//components/strings", 74 "//components/strings",
72 "//components/sync_driver", 75 "//components/sync_driver",
73 "//components/url_formatter", 76 "//components/url_formatter",
74 "//components/webdata/common", 77 "//components/webdata/common",
75 "//google_apis", 78 "//google_apis",
76 "//net", 79 "//net",
77 "//sql", 80 "//sql",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 "//base", 112 "//base",
110 "//testing/gtest", 113 "//testing/gtest",
111 ] 114 ]
112 } 115 }
113 116
114 source_set("unit_tests") { 117 source_set("unit_tests") {
115 testonly = true 118 testonly = true
116 sources = [ 119 sources = [
117 "default_search_manager_unittest.cc", 120 "default_search_manager_unittest.cc",
118 "default_search_pref_migration_unittest.cc", 121 "default_search_pref_migration_unittest.cc",
119 "desktop_search_win_unittest.cc", 122 "desktop_search_utils_unittest.cc",
120 "keyword_table_unittest.cc", 123 "keyword_table_unittest.cc",
121 "search_engine_data_type_controller_unittest.cc", 124 "search_engine_data_type_controller_unittest.cc",
122 "search_host_to_urls_map_unittest.cc", 125 "search_host_to_urls_map_unittest.cc",
123 "template_url_prepopulate_data_unittest.cc", 126 "template_url_prepopulate_data_unittest.cc",
124 "template_url_service_util_unittest.cc", 127 "template_url_service_util_unittest.cc",
125 "template_url_unittest.cc", 128 "template_url_unittest.cc",
126 ] 129 ]
127 130
128 deps = [ 131 deps = [
129 ":prepopulated_engines", 132 ":prepopulated_engines",
130 ":test_support", 133 ":test_support",
131 "//base", 134 "//base",
132 "//components/google/core/browser", 135 "//components/google/core/browser",
133 "//components/pref_registry:test_support", 136 "//components/pref_registry:test_support",
137 "//components/prefs",
134 "//components/sync_driver:test_support", 138 "//components/sync_driver:test_support",
139 "//components/syncable_prefs:test_support",
135 "//components/webdata/common", 140 "//components/webdata/common",
136 "//sql", 141 "//sql",
137 "//sync:test_support_sync_api", 142 "//sync:test_support_sync_api",
138 "//testing/gmock", 143 "//testing/gmock",
139 "//testing/gtest", 144 "//testing/gtest",
140 "//url", 145 "//url",
141 ] 146 ]
142 147
143 if (enable_configuration_policy) { 148 if (enable_configuration_policy) {
144 sources += [ "default_search_policy_handler_unittest.cc" ] 149 sources += [ "default_search_policy_handler_unittest.cc" ]
145 150
146 deps += [ 151 deps += [
147 "//components/policy", 152 "//components/policy",
148 "//components/policy:policy_component_test_support", 153 "//components/policy:policy_component_test_support",
149 ] 154 ]
150 } 155 }
151 } 156 }
152 157
153 json_to_struct("prepopulated_engines") { 158 json_to_struct("prepopulated_engines") {
154 visibility = [ ":*" ] 159 visibility = [ ":*" ]
155 160
156 source = "prepopulated_engines.json" 161 source = "prepopulated_engines.json"
157 schema_file = "prepopulated_engines_schema.json" 162 schema_file = "prepopulated_engines_schema.json"
158 namespace = "TemplateURLPrepopulateData" 163 namespace = "TemplateURLPrepopulateData"
159 } 164 }
OLDNEW
« no previous file with comments | « components/search_engines.gypi ('k') | components/search_engines/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698