| Index: components/search_engines/BUILD.gn
|
| diff --git a/components/search_engines/BUILD.gn b/components/search_engines/BUILD.gn
|
| index e2fa0e45cc185914d14d6a080e982dc3b1dedb87..23bec1c3894e059e2004da7955543e4f3914d135 100644
|
| --- a/components/search_engines/BUILD.gn
|
| +++ b/components/search_engines/BUILD.gn
|
| @@ -66,7 +66,6 @@ static_library("search_engines") {
|
| # omnibox/browser target, but should ideally be fixed, then this
|
| # dependency added:
|
| #"//components/omnibox/browser",
|
| - "//components/policy:policy_component",
|
| "//components/pref_registry",
|
| "//components/rappor",
|
| "//components/strings",
|
| @@ -89,7 +88,10 @@ static_library("search_engines") {
|
| "default_search_policy_handler.cc",
|
| "default_search_policy_handler.h",
|
| ]
|
| - deps += [ "//components/policy" ]
|
| + deps += [
|
| + "//components/policy",
|
| + "//components/policy:policy_component",
|
| + ]
|
| }
|
| }
|
|
|
| @@ -121,17 +123,12 @@ source_set("unit_tests") {
|
| "template_url_service_util_unittest.cc",
|
| "template_url_unittest.cc",
|
| ]
|
| - if (enable_configuration_policy) {
|
| - sources += [ "default_search_policy_handler_unittest.cc" ]
|
| - }
|
|
|
| deps = [
|
| ":prepopulated_engines",
|
| ":test_support",
|
| "//base",
|
| "//components/google/core/browser",
|
| - "//components/policy",
|
| - "//components/policy:policy_component_test_support",
|
| "//components/pref_registry:test_support",
|
| "//components/webdata/common",
|
| "//sql",
|
| @@ -139,6 +136,15 @@ source_set("unit_tests") {
|
| "//testing/gtest",
|
| "//url",
|
| ]
|
| +
|
| + if (enable_configuration_policy) {
|
| + sources += [ "default_search_policy_handler_unittest.cc" ]
|
| +
|
| + deps += [
|
| + "//components/policy",
|
| + "//components/policy:policy_component_test_support",
|
| + ]
|
| + }
|
| }
|
|
|
| json_to_struct("prepopulated_engines") {
|
|
|