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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 ":test_support", | 127 ":test_support", |
128 "//base", | 128 "//base", |
129 "//base/test:test_support", | 129 "//base/test:test_support", |
130 "//components/google/core/browser", | 130 "//components/google/core/browser", |
131 "//components/pref_registry:pref_registry", | 131 "//components/pref_registry:pref_registry", |
132 "//components/prefs", | 132 "//components/prefs", |
133 "//components/sync:test_support_driver", | 133 "//components/sync:test_support_driver", |
134 "//components/sync:test_support_model", | 134 "//components/sync:test_support_model", |
135 "//components/sync_preferences:test_support", | 135 "//components/sync_preferences:test_support", |
136 "//components/webdata/common", | 136 "//components/webdata/common", |
| 137 "//net:net", |
137 "//sql", | 138 "//sql", |
138 "//testing/gmock", | 139 "//testing/gmock", |
139 "//testing/gtest", | 140 "//testing/gtest", |
140 "//url", | 141 "//url", |
141 ] | 142 ] |
142 | 143 |
143 if (!is_ios) { | 144 if (!is_ios) { |
144 sources += [ "default_search_policy_handler_unittest.cc" ] | 145 sources += [ "default_search_policy_handler_unittest.cc" ] |
145 | 146 |
146 deps += [ | 147 deps += [ |
147 "//components/policy:generated", | 148 "//components/policy:generated", |
148 "//components/policy/core/browser:test_support", | 149 "//components/policy/core/browser:test_support", |
149 ] | 150 ] |
150 } | 151 } |
151 } | 152 } |
152 | 153 |
153 json_to_struct("prepopulated_engines") { | 154 json_to_struct("prepopulated_engines") { |
154 visibility = [ ":*" ] | 155 visibility = [ ":*" ] |
155 | 156 |
156 source = "prepopulated_engines.json" | 157 source = "prepopulated_engines.json" |
157 schema_file = "prepopulated_engines_schema.json" | 158 schema_file = "prepopulated_engines_schema.json" |
158 namespace = "TemplateURLPrepopulateData" | 159 namespace = "TemplateURLPrepopulateData" |
159 } | 160 } |
OLD | NEW |