Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: components/search_engines/BUILD.gn

Issue 2558043004: Remove enable_configuration_policy build define. (Closed)
Patch Set: Merge Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/policy/core/common/BUILD.gn ('k') | components/sync/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « components/policy/core/common/BUILD.gn ('k') | components/sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698