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

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

Issue 1652573002: Update GN build files for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@presf_move
Patch Set: Created 4 years, 10 months 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/sync_bookmarks/BUILD.gn ('k') | components/sync_sessions/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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 7
8 source_set("sync_driver") { 8 source_set("sync_driver") {
9 sources = [ 9 sources = [
10 "about_sync_util.cc", 10 "about_sync_util.cc",
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 "ui_data_type_controller.cc", 117 "ui_data_type_controller.cc",
118 "ui_data_type_controller.h", 118 "ui_data_type_controller.h",
119 "user_selectable_sync_type.h", 119 "user_selectable_sync_type.h",
120 ] 120 ]
121 121
122 public_deps = [ 122 public_deps = [
123 ":features", 123 ":features",
124 ] 124 ]
125 deps = [ 125 deps = [
126 "//base", 126 "//base",
127 "//base:prefs",
128 "//base/third_party/dynamic_annotations", 127 "//base/third_party/dynamic_annotations",
129 "//components/data_use_measurement/core", 128 "//components/data_use_measurement/core",
130 "//components/invalidation/public", 129 "//components/invalidation/public",
131 "//components/os_crypt", 130 "//components/os_crypt",
131 "//components/prefs",
132 "//components/pref_registry", 132 "//components/pref_registry",
133 "//components/signin/core/browser", 133 "//components/signin/core/browser",
134 "//components/version_info", 134 "//components/version_info",
135 "//google_apis", 135 "//google_apis",
136 "//net", 136 "//net",
137 "//sync", 137 "//sync",
138 "//third_party/cacheinvalidation", 138 "//third_party/cacheinvalidation",
139 ] 139 ]
140 140
141 if (enable_configuration_policy) { 141 if (enable_configuration_policy) {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 "startup_controller_unittest.cc", 223 "startup_controller_unittest.cc",
224 "sync_prefs_unittest.cc", 224 "sync_prefs_unittest.cc",
225 "sync_stopped_reporter_unittest.cc", 225 "sync_stopped_reporter_unittest.cc",
226 "sync_util_unittest.cc", 226 "sync_util_unittest.cc",
227 "system_encryptor_unittest.cc", 227 "system_encryptor_unittest.cc",
228 "ui_data_type_controller_unittest.cc", 228 "ui_data_type_controller_unittest.cc",
229 ] 229 ]
230 deps = [ 230 deps = [
231 ":test_support", 231 ":test_support",
232 "//base", 232 "//base",
233 "//base:prefs_test_support",
234 "//base/test:test_support", 233 "//base/test:test_support",
235 "//components/invalidation/impl", 234 "//components/invalidation/impl",
236 "//components/os_crypt", 235 "//components/os_crypt",
237 "//components/pref_registry:test_support", 236 "//components/pref_registry:test_support",
237 "//components/prefs:test_support",
238 "//components/signin/core/browser:test_support", 238 "//components/signin/core/browser:test_support",
239 "//components/syncable_prefs", 239 "//components/syncable_prefs",
240 "//components/syncable_prefs:test_support", 240 "//components/syncable_prefs:test_support",
241 "//components/version_info", 241 "//components/version_info",
242 "//net:test_support", 242 "//net:test_support",
243 "//sync:test_support_sync_api", 243 "//sync:test_support_sync_api",
244 "//sync:test_support_sync_internal_api", 244 "//sync:test_support_sync_internal_api",
245 "//testing/gmock", 245 "//testing/gmock",
246 "//testing/gtest", 246 "//testing/gtest",
247 "//url", 247 "//url",
248 ] 248 ]
249 249
250 if (enable_configuration_policy) { 250 if (enable_configuration_policy) {
251 sources += [ "sync_policy_handler_unittest.cc" ] 251 sources += [ "sync_policy_handler_unittest.cc" ]
252 deps += [ 252 deps += [
253 "//components/policy", 253 "//components/policy",
254 "//components/policy:policy_component", 254 "//components/policy:policy_component",
255 ] 255 ]
256 } 256 }
257 } 257 }
258 258
259 buildflag_header("features") { 259 buildflag_header("features") {
260 header = "sync_driver_features.h" 260 header = "sync_driver_features.h"
261 261
262 # Whether to back up data before sync. 262 # Whether to back up data before sync.
263 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) 263 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos)
264 264
265 flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ] 265 flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ]
266 } 266 }
OLDNEW
« no previous file with comments | « components/sync_bookmarks/BUILD.gn ('k') | components/sync_sessions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698