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 | 6 |
7 source_set("sync_driver") { | 7 source_set("sync_driver") { |
8 sources = [ | 8 sources = [ |
9 "about_sync_util.cc", | 9 "about_sync_util.cc", |
10 "about_sync_util.h", | 10 "about_sync_util.h", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 "glue/chrome_report_unrecoverable_error.cc", | 50 "glue/chrome_report_unrecoverable_error.cc", |
51 "glue/chrome_report_unrecoverable_error.h", | 51 "glue/chrome_report_unrecoverable_error.h", |
52 "glue/sync_backend_host.cc", | 52 "glue/sync_backend_host.cc", |
53 "glue/sync_backend_host.h", | 53 "glue/sync_backend_host.h", |
54 "glue/sync_backend_host_core.cc", | 54 "glue/sync_backend_host_core.cc", |
55 "glue/sync_backend_host_core.h", | 55 "glue/sync_backend_host_core.h", |
56 "glue/sync_backend_host_impl.cc", | 56 "glue/sync_backend_host_impl.cc", |
57 "glue/sync_backend_host_impl.h", | 57 "glue/sync_backend_host_impl.h", |
58 "glue/sync_backend_registrar.cc", | 58 "glue/sync_backend_registrar.cc", |
59 "glue/sync_backend_registrar.h", | 59 "glue/sync_backend_registrar.h", |
60 "glue/synced_session.cc", | |
61 "glue/synced_session.h", | |
62 "glue/synced_window_delegate.h", | |
63 "glue/ui_model_worker.cc", | 60 "glue/ui_model_worker.cc", |
64 "glue/ui_model_worker.h", | 61 "glue/ui_model_worker.h", |
65 "invalidation_adapter.cc", | 62 "invalidation_adapter.cc", |
66 "invalidation_adapter.h", | 63 "invalidation_adapter.h", |
67 "invalidation_helper.cc", | 64 "invalidation_helper.cc", |
68 "invalidation_helper.h", | 65 "invalidation_helper.h", |
69 "local_device_info_provider.h", | 66 "local_device_info_provider.h", |
70 "local_device_info_provider_impl.cc", | 67 "local_device_info_provider_impl.cc", |
71 "local_device_info_provider_impl.h", | 68 "local_device_info_provider_impl.h", |
72 "model_association_manager.cc", | 69 "model_association_manager.cc", |
73 "model_association_manager.h", | 70 "model_association_manager.h", |
74 "model_associator.h", | 71 "model_associator.h", |
75 "non_blocking_data_type_controller.cc", | 72 "non_blocking_data_type_controller.cc", |
76 "non_blocking_data_type_controller.h", | 73 "non_blocking_data_type_controller.h", |
77 "non_frontend_data_type_controller.cc", | 74 "non_frontend_data_type_controller.cc", |
78 "non_frontend_data_type_controller.h", | 75 "non_frontend_data_type_controller.h", |
79 "non_ui_data_type_controller.cc", | 76 "non_ui_data_type_controller.cc", |
80 "non_ui_data_type_controller.h", | 77 "non_ui_data_type_controller.h", |
81 "open_tabs_ui_delegate.cc", | |
82 "open_tabs_ui_delegate.h", | |
83 "pref_names.cc", | 78 "pref_names.cc", |
84 "pref_names.h", | 79 "pref_names.h", |
85 "profile_sync_auth_provider.cc", | 80 "profile_sync_auth_provider.cc", |
86 "profile_sync_auth_provider.h", | 81 "profile_sync_auth_provider.h", |
87 "protocol_event_observer.cc", | 82 "protocol_event_observer.cc", |
88 "protocol_event_observer.h", | 83 "protocol_event_observer.h", |
89 "proxy_data_type_controller.cc", | 84 "proxy_data_type_controller.cc", |
90 "proxy_data_type_controller.h", | 85 "proxy_data_type_controller.h", |
91 "sessions/synced_window_delegates_getter.cc", | |
92 "sessions/synced_window_delegates_getter.h", | |
93 "shared_change_processor.cc", | 86 "shared_change_processor.cc", |
94 "shared_change_processor.h", | 87 "shared_change_processor.h", |
95 "shared_change_processor_ref.cc", | 88 "shared_change_processor_ref.cc", |
96 "shared_change_processor_ref.h", | 89 "shared_change_processor_ref.h", |
97 "signin_manager_wrapper.cc", | 90 "signin_manager_wrapper.cc", |
98 "signin_manager_wrapper.h", | 91 "signin_manager_wrapper.h", |
99 "startup_controller.cc", | 92 "startup_controller.cc", |
100 "startup_controller.h", | 93 "startup_controller.h", |
101 "sync_api_component_factory.h", | 94 "sync_api_component_factory.h", |
102 "sync_client.cc", | 95 "sync_client.cc", |
(...skipping 12 matching lines...) Expand all Loading... |
115 "sync_service_observer.h", | 108 "sync_service_observer.h", |
116 "sync_service_utils.cc", | 109 "sync_service_utils.cc", |
117 "sync_service_utils.h", | 110 "sync_service_utils.h", |
118 "sync_stopped_reporter.cc", | 111 "sync_stopped_reporter.cc", |
119 "sync_stopped_reporter.h", | 112 "sync_stopped_reporter.h", |
120 "sync_type_preference_provider.h", | 113 "sync_type_preference_provider.h", |
121 "sync_util.cc", | 114 "sync_util.cc", |
122 "sync_util.h", | 115 "sync_util.h", |
123 "system_encryptor.cc", | 116 "system_encryptor.cc", |
124 "system_encryptor.h", | 117 "system_encryptor.h", |
125 "tab_node_pool.cc", | |
126 "tab_node_pool.h", | |
127 "ui_data_type_controller.cc", | 118 "ui_data_type_controller.cc", |
128 "ui_data_type_controller.h", | 119 "ui_data_type_controller.h", |
129 "user_selectable_sync_type.h", | 120 "user_selectable_sync_type.h", |
130 ] | 121 ] |
131 | 122 |
132 deps = [ | 123 deps = [ |
133 "//base", | 124 "//base", |
134 "//base:prefs", | 125 "//base:prefs", |
135 "//base/third_party/dynamic_annotations", | 126 "//base/third_party/dynamic_annotations", |
136 "//components/data_use_measurement/core", | 127 "//components/data_use_measurement/core", |
137 "//components/invalidation/public", | 128 "//components/invalidation/public", |
138 "//components/os_crypt", | 129 "//components/os_crypt", |
139 "//components/pref_registry", | 130 "//components/pref_registry", |
140 "//components/sessions", | |
141 "//components/signin/core/browser", | 131 "//components/signin/core/browser", |
142 "//components/version_info", | 132 "//components/version_info", |
143 "//google_apis", | 133 "//google_apis", |
144 "//net", | 134 "//net", |
145 "//sync", | 135 "//sync", |
146 "//third_party/cacheinvalidation", | 136 "//third_party/cacheinvalidation", |
147 "//ui/gfx", | |
148 ] | 137 ] |
149 | 138 |
150 if (enable_configuration_policy) { | 139 if (enable_configuration_policy) { |
151 sources += [ | 140 sources += [ |
152 "sync_policy_handler.cc", | 141 "sync_policy_handler.cc", |
153 "sync_policy_handler.h", | 142 "sync_policy_handler.h", |
154 ] | 143 ] |
155 deps += [ | 144 deps += [ |
156 "//components/policy", | 145 "//components/policy", |
157 "//components/policy:policy_component", | 146 "//components/policy:policy_component", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 | 185 |
197 public_deps = [ | 186 public_deps = [ |
198 ":sync_driver", | 187 ":sync_driver", |
199 "//sync", | 188 "//sync", |
200 ] | 189 ] |
201 | 190 |
202 deps = [ | 191 deps = [ |
203 "//base", | 192 "//base", |
204 "//components/autofill/core/browser", | 193 "//components/autofill/core/browser", |
205 "//components/password_manager/core/browser", | 194 "//components/password_manager/core/browser", |
206 "//components/sessions", | |
207 "//components/version_info", | 195 "//components/version_info", |
208 "//google_apis", | 196 "//google_apis", |
209 "//sync:test_support_sync_internal_api", | 197 "//sync:test_support_sync_internal_api", |
210 "//testing/gmock", | 198 "//testing/gmock", |
211 "//testing/gtest", | 199 "//testing/gtest", |
212 ] | 200 ] |
213 } | 201 } |
214 | 202 |
215 source_set("unit_tests") { | 203 source_set("unit_tests") { |
216 testonly = true | 204 testonly = true |
(...skipping 12 matching lines...) Expand all Loading... |
229 "local_device_info_provider_unittest.cc", | 217 "local_device_info_provider_unittest.cc", |
230 "model_association_manager_unittest.cc", | 218 "model_association_manager_unittest.cc", |
231 "non_blocking_data_type_controller_unittest.cc", | 219 "non_blocking_data_type_controller_unittest.cc", |
232 "non_frontend_data_type_controller_unittest.cc", | 220 "non_frontend_data_type_controller_unittest.cc", |
233 "non_ui_data_type_controller_unittest.cc", | 221 "non_ui_data_type_controller_unittest.cc", |
234 "shared_change_processor_unittest.cc", | 222 "shared_change_processor_unittest.cc", |
235 "sync_prefs_unittest.cc", | 223 "sync_prefs_unittest.cc", |
236 "sync_stopped_reporter_unittest.cc", | 224 "sync_stopped_reporter_unittest.cc", |
237 "sync_util_unittest.cc", | 225 "sync_util_unittest.cc", |
238 "system_encryptor_unittest.cc", | 226 "system_encryptor_unittest.cc", |
239 "tab_node_pool_unittest.cc", | |
240 "ui_data_type_controller_unittest.cc", | 227 "ui_data_type_controller_unittest.cc", |
241 ] | 228 ] |
242 deps = [ | 229 deps = [ |
243 ":test_support", | 230 ":test_support", |
244 "//base", | 231 "//base", |
245 "//base:prefs_test_support", | 232 "//base:prefs_test_support", |
246 "//base/test:test_support", | 233 "//base/test:test_support", |
247 "//components/os_crypt", | 234 "//components/os_crypt", |
248 "//components/pref_registry:test_support", | 235 "//components/pref_registry:test_support", |
249 "//components/version_info", | 236 "//components/version_info", |
250 "//net:test_support", | 237 "//net:test_support", |
251 "//sync:test_support_sync_internal_api", | 238 "//sync:test_support_sync_internal_api", |
252 "//sync:test_support_sync_api", | 239 "//sync:test_support_sync_api", |
253 "//testing/gmock", | 240 "//testing/gmock", |
254 "//testing/gtest", | 241 "//testing/gtest", |
255 "//url", | 242 "//url", |
256 ] | 243 ] |
257 | 244 |
258 if (enable_configuration_policy) { | 245 if (enable_configuration_policy) { |
259 sources += [ "sync_policy_handler_unittest.cc" ] | 246 sources += [ "sync_policy_handler_unittest.cc" ] |
260 deps += [ | 247 deps += [ |
261 "//components/policy", | 248 "//components/policy", |
262 "//components/policy:policy_component", | 249 "//components/policy:policy_component", |
263 ] | 250 ] |
264 } | 251 } |
265 } | 252 } |
OLD | NEW |