| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 # The search_engines target is in an include cycle with | 61 # The search_engines target is in an include cycle with |
| 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_driver", | 72 "//components/sync_driver", |
| 72 "//components/url_formatter", | 73 "//components/url_formatter", |
| 73 "//components/webdata/common", | 74 "//components/webdata/common", |
| 74 "//google_apis", | 75 "//google_apis", |
| 75 "//net", | 76 "//net", |
| 76 "//sql", | 77 "//sql", |
| 77 "//sync", | |
| 78 "//third_party/libxml", | 78 "//third_party/libxml", |
| 79 "//ui/base", | 79 "//ui/base", |
| 80 "//ui/gfx", | 80 "//ui/gfx", |
| 81 "//ui/gfx/geometry", | 81 "//ui/gfx/geometry", |
| 82 "//url", | 82 "//url", |
| 83 ] | 83 ] |
| 84 | 84 |
| 85 if (enable_configuration_policy) { | 85 if (enable_configuration_policy) { |
| 86 sources += [ | 86 sources += [ |
| 87 "default_search_policy_handler.cc", | 87 "default_search_policy_handler.cc", |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 "template_url_unittest.cc", | 123 "template_url_unittest.cc", |
| 124 ] | 124 ] |
| 125 | 125 |
| 126 deps = [ | 126 deps = [ |
| 127 ":prepopulated_engines", | 127 ":prepopulated_engines", |
| 128 ":test_support", | 128 ":test_support", |
| 129 "//base", | 129 "//base", |
| 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", |
| 133 "//components/sync_driver:test_support", | 134 "//components/sync_driver:test_support", |
| 134 "//components/syncable_prefs:test_support", | 135 "//components/syncable_prefs:test_support", |
| 135 "//components/webdata/common", | 136 "//components/webdata/common", |
| 136 "//sql", | 137 "//sql", |
| 137 "//sync:test_support_sync_api", | |
| 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", | 147 "//components/policy", |
| 148 "//components/policy:policy_component_test_support", | 148 "//components/policy:policy_component_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 |