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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 "local_device_info_provider.h", | 69 "local_device_info_provider.h", |
70 "local_device_info_provider_impl.cc", | 70 "local_device_info_provider_impl.cc", |
71 "local_device_info_provider_impl.h", | 71 "local_device_info_provider_impl.h", |
72 "model_association_manager.cc", | 72 "model_association_manager.cc", |
73 "model_association_manager.h", | 73 "model_association_manager.h", |
74 "model_associator.h", | 74 "model_associator.h", |
75 "non_blocking_data_type_controller.cc", | 75 "non_blocking_data_type_controller.cc", |
76 "non_blocking_data_type_controller.h", | 76 "non_blocking_data_type_controller.h", |
77 "non_ui_data_type_controller.cc", | 77 "non_ui_data_type_controller.cc", |
78 "non_ui_data_type_controller.h", | 78 "non_ui_data_type_controller.h", |
| 79 "non_ui_model_type_controller.cc", |
| 80 "non_ui_model_type_controller.h", |
79 "pref_names.cc", | 81 "pref_names.cc", |
80 "pref_names.h", | 82 "pref_names.h", |
81 "profile_sync_auth_provider.cc", | 83 "profile_sync_auth_provider.cc", |
82 "profile_sync_auth_provider.h", | 84 "profile_sync_auth_provider.h", |
83 "protocol_event_observer.cc", | 85 "protocol_event_observer.cc", |
84 "protocol_event_observer.h", | 86 "protocol_event_observer.h", |
85 "proxy_data_type_controller.cc", | 87 "proxy_data_type_controller.cc", |
86 "proxy_data_type_controller.h", | 88 "proxy_data_type_controller.h", |
87 "shared_change_processor.cc", | 89 "shared_change_processor.cc", |
88 "shared_change_processor.h", | 90 "shared_change_processor.h", |
(...skipping 22 matching lines...) Expand all Loading... |
111 "sync_service_utils.h", | 113 "sync_service_utils.h", |
112 "sync_stopped_reporter.cc", | 114 "sync_stopped_reporter.cc", |
113 "sync_stopped_reporter.h", | 115 "sync_stopped_reporter.h", |
114 "sync_type_preference_provider.h", | 116 "sync_type_preference_provider.h", |
115 "sync_util.cc", | 117 "sync_util.cc", |
116 "sync_util.h", | 118 "sync_util.h", |
117 "system_encryptor.cc", | 119 "system_encryptor.cc", |
118 "system_encryptor.h", | 120 "system_encryptor.h", |
119 "ui_data_type_controller.cc", | 121 "ui_data_type_controller.cc", |
120 "ui_data_type_controller.h", | 122 "ui_data_type_controller.h", |
| 123 "ui_model_type_controller.cc", |
| 124 "ui_model_type_controller.h", |
121 "user_selectable_sync_type.h", | 125 "user_selectable_sync_type.h", |
122 ] | 126 ] |
123 | 127 |
124 public_deps = [ | 128 public_deps = [ |
125 ":features", | 129 ":features", |
126 "//third_party/cacheinvalidation", | 130 "//third_party/cacheinvalidation", |
127 ] | 131 ] |
128 deps = [ | 132 deps = [ |
129 "//base", | 133 "//base", |
130 "//base/third_party/dynamic_annotations", | 134 "//base/third_party/dynamic_annotations", |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 "device_info_service_unittest.cc", | 215 "device_info_service_unittest.cc", |
212 "device_info_sync_service_unittest.cc", | 216 "device_info_sync_service_unittest.cc", |
213 "frontend_data_type_controller_unittest.cc", | 217 "frontend_data_type_controller_unittest.cc", |
214 "generic_change_processor_unittest.cc", | 218 "generic_change_processor_unittest.cc", |
215 "glue/browser_thread_model_worker_unittest.cc", | 219 "glue/browser_thread_model_worker_unittest.cc", |
216 "glue/sync_backend_host_impl_unittest.cc", | 220 "glue/sync_backend_host_impl_unittest.cc", |
217 "glue/sync_backend_registrar_unittest.cc", | 221 "glue/sync_backend_registrar_unittest.cc", |
218 "glue/ui_model_worker_unittest.cc", | 222 "glue/ui_model_worker_unittest.cc", |
219 "local_device_info_provider_unittest.cc", | 223 "local_device_info_provider_unittest.cc", |
220 "model_association_manager_unittest.cc", | 224 "model_association_manager_unittest.cc", |
221 "non_blocking_data_type_controller_unittest.cc", | |
222 "non_ui_data_type_controller_unittest.cc", | 225 "non_ui_data_type_controller_unittest.cc", |
| 226 "non_ui_model_type_controller_unittest.cc", |
223 "profile_sync_auth_provider_unittest.cc", | 227 "profile_sync_auth_provider_unittest.cc", |
224 "shared_change_processor_unittest.cc", | 228 "shared_change_processor_unittest.cc", |
225 "startup_controller_unittest.cc", | 229 "startup_controller_unittest.cc", |
226 "sync_prefs_unittest.cc", | 230 "sync_prefs_unittest.cc", |
227 "sync_stopped_reporter_unittest.cc", | 231 "sync_stopped_reporter_unittest.cc", |
228 "sync_util_unittest.cc", | 232 "sync_util_unittest.cc", |
229 "system_encryptor_unittest.cc", | 233 "system_encryptor_unittest.cc", |
230 "ui_data_type_controller_unittest.cc", | 234 "ui_data_type_controller_unittest.cc", |
| 235 "ui_model_type_controller_unittest.cc", |
231 ] | 236 ] |
232 deps = [ | 237 deps = [ |
233 ":test_support", | 238 ":test_support", |
234 "//base", | 239 "//base", |
235 "//base/test:test_support", | 240 "//base/test:test_support", |
236 "//components/invalidation/impl", | 241 "//components/invalidation/impl", |
237 "//components/os_crypt", | 242 "//components/os_crypt", |
238 "//components/pref_registry:test_support", | 243 "//components/pref_registry:test_support", |
239 "//components/prefs:test_support", | 244 "//components/prefs:test_support", |
240 "//components/signin/core/browser:test_support", | 245 "//components/signin/core/browser:test_support", |
(...skipping 18 matching lines...) Expand all Loading... |
259 } | 264 } |
260 | 265 |
261 buildflag_header("features") { | 266 buildflag_header("features") { |
262 header = "sync_driver_features.h" | 267 header = "sync_driver_features.h" |
263 | 268 |
264 # Whether to back up data before sync. | 269 # Whether to back up data before sync. |
265 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 270 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
266 | 271 |
267 flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ] | 272 flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ] |
268 } | 273 } |
OLD | NEW |