| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 ] | 123 ] |
| 124 | 124 |
| 125 deps = [ | 125 deps = [ |
| 126 ":prepopulated_engines", | 126 ":prepopulated_engines", |
| 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:test_support", | 131 "//components/pref_registry:test_support", |
| 132 "//components/prefs", | 132 "//components/prefs", |
| 133 "//components/sync:test_support_sync_api", | |
| 134 "//components/sync:test_support_sync_driver", | 133 "//components/sync:test_support_sync_driver", |
| 134 "//components/sync:test_support_sync_model", |
| 135 "//components/syncable_prefs:test_support", | 135 "//components/syncable_prefs:test_support", |
| 136 "//components/webdata/common", | 136 "//components/webdata/common", |
| 137 "//sql", | 137 "//sql", |
| 138 "//testing/gmock", | 138 "//testing/gmock", |
| 139 "//testing/gtest", | 139 "//testing/gtest", |
| 140 "//url", | 140 "//url", |
| 141 ] | 141 ] |
| 142 | 142 |
| 143 if (enable_configuration_policy) { | 143 if (enable_configuration_policy) { |
| 144 sources += [ "default_search_policy_handler_unittest.cc" ] | 144 sources += [ "default_search_policy_handler_unittest.cc" ] |
| 145 | 145 |
| 146 deps += [ | 146 deps += [ |
| 147 "//components/policy:generated", | 147 "//components/policy:generated", |
| 148 "//components/policy/core/browser:test_support", | 148 "//components/policy/core/browser:test_support", |
| 149 ] | 149 ] |
| 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 |