| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 "//google_apis", | 76 "//google_apis", |
| 77 "//net", | 77 "//net", |
| 78 "//sql", | 78 "//sql", |
| 79 "//third_party/libxml", | 79 "//third_party/libxml", |
| 80 "//ui/base", | 80 "//ui/base", |
| 81 "//ui/gfx", | 81 "//ui/gfx", |
| 82 "//ui/gfx/geometry", | 82 "//ui/gfx/geometry", |
| 83 "//url", | 83 "//url", |
| 84 ] | 84 ] |
| 85 | 85 |
| 86 if (enable_configuration_policy) { | 86 if (!is_ios) { |
| 87 sources += [ | 87 sources += [ |
| 88 "default_search_policy_handler.cc", | 88 "default_search_policy_handler.cc", |
| 89 "default_search_policy_handler.h", | 89 "default_search_policy_handler.h", |
| 90 ] | 90 ] |
| 91 deps += [ | 91 deps += [ |
| 92 "//components/policy:generated", | 92 "//components/policy:generated", |
| 93 "//components/policy/core/browser", | 93 "//components/policy/core/browser", |
| 94 ] | 94 ] |
| 95 } | 95 } |
| 96 } | 96 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 "//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 (!is_ios) { |
| 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 |