OLD | NEW |
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", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 ] | 48 ] |
49 | 49 |
50 public_deps = [ | 50 public_deps = [ |
51 "//components/metrics/proto", | 51 "//components/metrics/proto", |
52 ] | 52 ] |
53 | 53 |
54 deps = [ | 54 deps = [ |
55 ":prepopulated_engines", | 55 ":prepopulated_engines", |
56 "//base", | 56 "//base", |
57 "//base:i18n", | 57 "//base:i18n", |
58 "//base:prefs", | |
59 "//components/google/core/browser", | 58 "//components/google/core/browser", |
60 "//components/history/core/browser", | 59 "//components/history/core/browser", |
61 "//components/keyed_service/core", | 60 "//components/keyed_service/core", |
62 "//components/metrics/proto", | 61 "//components/metrics/proto", |
63 | 62 |
64 # The search_engines target is in an include cycle with | 63 # The search_engines target is in an include cycle with |
65 # components/omnibox/browser. The cycle is whitelisted in the | 64 # components/omnibox/browser. The cycle is whitelisted in the |
66 # omnibox/browser target, but should ideally be fixed, then this | 65 # omnibox/browser target, but should ideally be fixed, then this |
67 # dependency added: | 66 # dependency added: |
68 #"//components/omnibox/browser", | 67 #"//components/omnibox/browser", |
69 "//components/pref_registry", | 68 "//components/pref_registry", |
| 69 "//components/prefs", |
70 "//components/rappor", | 70 "//components/rappor", |
71 "//components/strings", | 71 "//components/strings", |
72 "//components/sync_driver", | 72 "//components/sync_driver", |
73 "//components/url_formatter", | 73 "//components/url_formatter", |
74 "//components/webdata/common", | 74 "//components/webdata/common", |
75 "//google_apis", | 75 "//google_apis", |
76 "//net", | 76 "//net", |
77 "//sql", | 77 "//sql", |
78 "//sync", | 78 "//sync", |
79 "//third_party/libxml", | 79 "//third_party/libxml", |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 } | 150 } |
151 } | 151 } |
152 | 152 |
153 json_to_struct("prepopulated_engines") { | 153 json_to_struct("prepopulated_engines") { |
154 visibility = [ ":*" ] | 154 visibility = [ ":*" ] |
155 | 155 |
156 source = "prepopulated_engines.json" | 156 source = "prepopulated_engines.json" |
157 schema_file = "prepopulated_engines_schema.json" | 157 schema_file = "prepopulated_engines_schema.json" |
158 namespace = "TemplateURLPrepopulateData" | 158 namespace = "TemplateURLPrepopulateData" |
159 } | 159 } |
OLD | NEW |