| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 # components/omnibox/browser. The cycle is whitelisted in the | 62 # components/omnibox/browser. The cycle is whitelisted in the |
| 63 # omnibox/browser target, but should ideally be fixed, then this | 63 # omnibox/browser target, but should ideally be fixed, then this |
| 64 # dependency added: | 64 # dependency added: |
| 65 #"//components/omnibox/browser", | 65 #"//components/omnibox/browser", |
| 66 "//components/infobars/core", | 66 "//components/infobars/core", |
| 67 "//components/pref_registry", | 67 "//components/pref_registry", |
| 68 "//components/prefs", | 68 "//components/prefs", |
| 69 "//components/rappor", | 69 "//components/rappor", |
| 70 "//components/strings", | 70 "//components/strings", |
| 71 "//components/sync", | 71 "//components/sync", |
| 72 "//components/sync_driver", | |
| 73 "//components/url_formatter", | 72 "//components/url_formatter", |
| 74 "//components/webdata/common", | 73 "//components/webdata/common", |
| 75 "//google_apis", | 74 "//google_apis", |
| 76 "//net", | 75 "//net", |
| 77 "//sql", | 76 "//sql", |
| 78 "//third_party/libxml", | 77 "//third_party/libxml", |
| 79 "//ui/base", | 78 "//ui/base", |
| 80 "//ui/gfx", | 79 "//ui/gfx", |
| 81 "//ui/gfx/geometry", | 80 "//ui/gfx/geometry", |
| 82 "//url", | 81 "//url", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 ] | 123 ] |
| 125 | 124 |
| 126 deps = [ | 125 deps = [ |
| 127 ":prepopulated_engines", | 126 ":prepopulated_engines", |
| 128 ":test_support", | 127 ":test_support", |
| 129 "//base", | 128 "//base", |
| 130 "//components/google/core/browser", | 129 "//components/google/core/browser", |
| 131 "//components/pref_registry:test_support", | 130 "//components/pref_registry:test_support", |
| 132 "//components/prefs", | 131 "//components/prefs", |
| 133 "//components/sync:test_support_sync_api", | 132 "//components/sync:test_support_sync_api", |
| 134 "//components/sync_driver:test_support", | 133 "//components/sync:test_support_sync_driver", |
| 135 "//components/syncable_prefs:test_support", | 134 "//components/syncable_prefs:test_support", |
| 136 "//components/webdata/common", | 135 "//components/webdata/common", |
| 137 "//sql", | 136 "//sql", |
| 138 "//testing/gmock", | 137 "//testing/gmock", |
| 139 "//testing/gtest", | 138 "//testing/gtest", |
| 140 "//url", | 139 "//url", |
| 141 ] | 140 ] |
| 142 | 141 |
| 143 if (enable_configuration_policy) { | 142 if (enable_configuration_policy) { |
| 144 sources += [ "default_search_policy_handler_unittest.cc" ] | 143 sources += [ "default_search_policy_handler_unittest.cc" ] |
| 145 | 144 |
| 146 deps += [ | 145 deps += [ |
| 147 "//components/policy", | 146 "//components/policy", |
| 148 "//components/policy:policy_component_test_support", | 147 "//components/policy:policy_component_test_support", |
| 149 ] | 148 ] |
| 150 } | 149 } |
| 151 } | 150 } |
| 152 | 151 |
| 153 json_to_struct("prepopulated_engines") { | 152 json_to_struct("prepopulated_engines") { |
| 154 visibility = [ ":*" ] | 153 visibility = [ ":*" ] |
| 155 | 154 |
| 156 source = "prepopulated_engines.json" | 155 source = "prepopulated_engines.json" |
| 157 schema_file = "prepopulated_engines_schema.json" | 156 schema_file = "prepopulated_engines_schema.json" |
| 158 namespace = "TemplateURLPrepopulateData" | 157 namespace = "TemplateURLPrepopulateData" |
| 159 } | 158 } |
| OLD | NEW |