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/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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 "sync_util.h", | 116 "sync_util.h", |
117 "system_encryptor.cc", | 117 "system_encryptor.cc", |
118 "system_encryptor.h", | 118 "system_encryptor.h", |
119 "ui_data_type_controller.cc", | 119 "ui_data_type_controller.cc", |
120 "ui_data_type_controller.h", | 120 "ui_data_type_controller.h", |
121 "user_selectable_sync_type.h", | 121 "user_selectable_sync_type.h", |
122 ] | 122 ] |
123 | 123 |
124 public_deps = [ | 124 public_deps = [ |
125 ":features", | 125 ":features", |
| 126 "//third_party/cacheinvalidation", |
126 ] | 127 ] |
127 deps = [ | 128 deps = [ |
128 "//base", | 129 "//base", |
129 "//base/third_party/dynamic_annotations", | 130 "//base/third_party/dynamic_annotations", |
130 "//components/data_use_measurement/core", | 131 "//components/data_use_measurement/core", |
131 "//components/invalidation/public", | 132 "//components/invalidation/public", |
132 "//components/os_crypt", | 133 "//components/os_crypt", |
133 "//components/pref_registry", | 134 "//components/pref_registry", |
134 "//components/prefs", | 135 "//components/prefs", |
135 "//components/signin/core/browser", | 136 "//components/signin/core/browser", |
136 "//components/version_info", | 137 "//components/version_info", |
137 "//google_apis", | 138 "//google_apis", |
138 "//net", | 139 "//net", |
139 "//sync", | 140 "//sync", |
140 "//third_party/cacheinvalidation", | |
141 ] | 141 ] |
142 | 142 |
143 if (enable_configuration_policy) { | 143 if (enable_configuration_policy) { |
144 sources += [ | 144 sources += [ |
145 "sync_policy_handler.cc", | 145 "sync_policy_handler.cc", |
146 "sync_policy_handler.h", | 146 "sync_policy_handler.h", |
147 ] | 147 ] |
148 deps += [ | 148 deps += [ |
149 "//components/policy", | 149 "//components/policy", |
150 "//components/policy:policy_component", | 150 "//components/policy:policy_component", |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 } | 259 } |
260 | 260 |
261 buildflag_header("features") { | 261 buildflag_header("features") { |
262 header = "sync_driver_features.h" | 262 header = "sync_driver_features.h" |
263 | 263 |
264 # Whether to back up data before sync. | 264 # Whether to back up data before sync. |
265 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 265 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
266 | 266 |
267 flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ] | 267 flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ] |
268 } | 268 } |
OLD | NEW |