OLD | NEW |
| (Empty) |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 # Setting these two variables allows other targets to use the | |
9 # sync_proto_sources variable as the list of sync protocol buffer files. | |
10 'sync_proto_sources_dir': 'sync/protocol', | |
11 'sync_proto_sources': [ | |
12 '<@(sync_proto_source_paths)', | |
13 ], | |
14 }, | |
15 | |
16 'includes': [ | |
17 'sync/protocol/protocol.gypi', | |
18 'sync/sync_android.gypi', | |
19 'sync/sync_tests.gypi', | |
20 ], | |
21 | |
22 'targets': [ | |
23 # This target will add '-lsync_core' and '-lsync_proto' to the link line of | |
24 # targets that depend on it. Anything that depends on sync code should | |
25 # declare a dependency on this target. | |
26 { | |
27 'target_name': 'sync', | |
28 'type': 'none', | |
29 'dependencies': [ | |
30 'sync_core', | |
31 'sync_proto', | |
32 ], | |
33 'export_dependent_settings': [ | |
34 'sync_core', | |
35 'sync_proto', | |
36 ], | |
37 }, | |
38 | |
39 # Contains everything related to sync implementation that does not depend | |
40 # on chrome/ or components/. Do not depend on this directly. Depend on | |
41 # the 'sync' target to get the sync protobufs, too. | |
42 { | |
43 'target_name': 'sync_core', | |
44 'type': '<(component)', | |
45 'variables': { 'enable_wexit_time_destructors': 1, }, | |
46 'defines': [ | |
47 'SYNC_IMPLEMENTATION', | |
48 ], | |
49 'include_dirs': [ | |
50 '..', | |
51 ], | |
52 'dependencies': [ | |
53 '../base/base.gyp:base', | |
54 '../base/base.gyp:base_i18n', | |
55 '../crypto/crypto.gyp:crypto', | |
56 '../google_apis/google_apis.gyp:google_apis', | |
57 '../net/net.gyp:net', | |
58 '../sql/sql.gyp:sql', | |
59 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | |
60 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | |
61 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | |
62 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | |
63 '../third_party/zlib/zlib.gyp:zlib', | |
64 '../url/url.gyp:url_lib', | |
65 'components.gyp:data_use_measurement_core', | |
66 'components.gyp:invalidation_public', | |
67 'components.gyp:metrics', | |
68 'components.gyp:os_crypt', | |
69 'components.gyp:signin_core_browser', | |
70 'components.gyp:version_info', | |
71 'attachment_store_proto', | |
72 'sync_proto', | |
73 ], | |
74 'export_dependent_settings': [ | |
75 '../net/net.gyp:net', | |
76 'sync_proto', | |
77 ], | |
78 'sources': [ | |
79 'sync/api/attachments/attachment.cc', | |
80 'sync/api/attachments/attachment.h', | |
81 'sync/api/attachments/attachment_id.cc', | |
82 'sync/api/attachments/attachment_id.h', | |
83 'sync/api/attachments/attachment_metadata.cc', | |
84 'sync/api/attachments/attachment_metadata.h', | |
85 'sync/api/attachments/attachment_store.cc', | |
86 'sync/api/attachments/attachment_store.h', | |
87 'sync/api/attachments/attachment_store_backend.cc', | |
88 'sync/api/attachments/attachment_store_backend.h', | |
89 'sync/api/conflict_resolution.cc', | |
90 'sync/api/conflict_resolution.h', | |
91 'sync/api/data_batch.h', | |
92 'sync/api/entity_change.cc', | |
93 'sync/api/entity_change.h', | |
94 'sync/api/entity_data.cc', | |
95 'sync/api/entity_data.h', | |
96 'sync/api/metadata_batch.cc', | |
97 'sync/api/metadata_batch.h', | |
98 'sync/api/metadata_change_list.h', | |
99 'sync/api/model_type_change_processor.cc', | |
100 'sync/api/model_type_change_processor.h', | |
101 'sync/api/model_type_service.cc', | |
102 'sync/api/model_type_service.h', | |
103 'sync/api/model_type_store.cc', | |
104 'sync/api/model_type_store.h', | |
105 'sync/api/string_ordinal.h', | |
106 'sync/api/sync_change.cc', | |
107 'sync/api/sync_change.h', | |
108 'sync/api/sync_change_processor.cc', | |
109 'sync/api/sync_change_processor.h', | |
110 'sync/api/sync_data.cc', | |
111 'sync/api/sync_data.h', | |
112 'sync/api/sync_error.cc', | |
113 'sync/api/sync_error.h', | |
114 'sync/api/sync_error_factory.cc', | |
115 'sync/api/sync_error_factory.h', | |
116 'sync/api/sync_merge_result.cc', | |
117 'sync/api/sync_merge_result.h', | |
118 'sync/api/syncable_service.cc', | |
119 'sync/api/syncable_service.h', | |
120 'sync/api/time.h', | |
121 'sync/base/sync_export.h', | |
122 'sync/engine_impl/all_status.cc', | |
123 'sync/engine_impl/all_status.h', | |
124 'sync/engine_impl/apply_control_data_updates.cc', | |
125 'sync/engine_impl/apply_control_data_updates.h', | |
126 'sync/engine_impl/backoff_delay_provider.cc', | |
127 'sync/engine_impl/backoff_delay_provider.h', | |
128 'sync/engine_impl/clear_server_data.cc', | |
129 'sync/engine_impl/clear_server_data.h', | |
130 'sync/engine_impl/commit.cc', | |
131 'sync/engine_impl/commit.h', | |
132 'sync/engine_impl/commit_contribution.cc', | |
133 'sync/engine_impl/commit_contribution.h', | |
134 'sync/engine_impl/commit_contributor.cc', | |
135 'sync/engine_impl/commit_contributor.h', | |
136 'sync/engine_impl/commit_processor.cc', | |
137 'sync/engine_impl/commit_processor.h', | |
138 'sync/engine_impl/commit_queue.cc', | |
139 'sync/engine_impl/commit_queue.h', | |
140 'sync/engine_impl/commit_util.cc', | |
141 'sync/engine_impl/commit_util.h', | |
142 'sync/engine_impl/conflict_resolver.cc', | |
143 'sync/engine_impl/conflict_resolver.h', | |
144 'sync/engine_impl/conflict_util.cc', | |
145 'sync/engine_impl/conflict_util.h', | |
146 'sync/engine_impl/directory_commit_contribution.cc', | |
147 'sync/engine_impl/directory_commit_contribution.h', | |
148 'sync/engine_impl/directory_commit_contributor.cc', | |
149 'sync/engine_impl/directory_commit_contributor.h', | |
150 'sync/engine_impl/directory_update_handler.cc', | |
151 'sync/engine_impl/directory_update_handler.h', | |
152 'sync/engine_impl/get_commit_ids.cc', | |
153 'sync/engine_impl/get_commit_ids.h', | |
154 'sync/engine_impl/get_updates_delegate.cc', | |
155 'sync/engine_impl/get_updates_delegate.h', | |
156 'sync/engine_impl/get_updates_processor.cc', | |
157 'sync/engine_impl/get_updates_processor.h', | |
158 'sync/engine_impl/model_type_worker.cc', | |
159 'sync/engine_impl/model_type_worker.h', | |
160 'sync/engine_impl/net/server_connection_manager.cc', | |
161 'sync/engine_impl/net/server_connection_manager.h', | |
162 'sync/engine_impl/net/url_translator.cc', | |
163 'sync/engine_impl/net/url_translator.h', | |
164 'sync/engine_impl/non_blocking_type_commit_contribution.cc', | |
165 'sync/engine_impl/non_blocking_type_commit_contribution.h', | |
166 'sync/engine_impl/nudge_handler.cc', | |
167 'sync/engine_impl/nudge_handler.h', | |
168 'sync/engine_impl/nudge_source.cc', | |
169 'sync/engine_impl/nudge_source.h', | |
170 'sync/engine_impl/process_updates_util.cc', | |
171 'sync/engine_impl/process_updates_util.h', | |
172 'sync/engine_impl/sync_cycle_event.cc', | |
173 'sync/engine_impl/sync_cycle_event.h', | |
174 'sync/engine_impl/sync_engine_event_listener.cc', | |
175 'sync/engine_impl/sync_engine_event_listener.h', | |
176 'sync/engine_impl/sync_scheduler.cc', | |
177 'sync/engine_impl/sync_scheduler.h', | |
178 'sync/engine_impl/sync_scheduler_impl.cc', | |
179 'sync/engine_impl/sync_scheduler_impl.h', | |
180 'sync/engine_impl/syncer.cc', | |
181 'sync/engine_impl/syncer.h', | |
182 'sync/engine_impl/syncer_proto_util.cc', | |
183 'sync/engine_impl/syncer_proto_util.h', | |
184 'sync/engine_impl/syncer_types.h', | |
185 'sync/engine_impl/syncer_util.cc', | |
186 'sync/engine_impl/syncer_util.h', | |
187 'sync/engine_impl/traffic_logger.cc', | |
188 'sync/engine_impl/traffic_logger.h', | |
189 'sync/engine_impl/update_applicator.cc', | |
190 'sync/engine_impl/update_applicator.h', | |
191 'sync/engine_impl/update_handler.cc', | |
192 'sync/engine_impl/update_handler.h', | |
193 'sync/engine_impl/worker_entity_tracker.cc', | |
194 'sync/engine_impl/worker_entity_tracker.h', | |
195 'sync/core/activation_context.cc', | |
196 'sync/core_impl/attachments/attachment_downloader.cc', | |
197 'sync/core_impl/attachments/attachment_downloader_impl.cc', | |
198 'sync/core_impl/attachments/attachment_service.cc', | |
199 'sync/core_impl/attachments/attachment_service_impl.cc', | |
200 'sync/core_impl/attachments/attachment_service_proxy.cc', | |
201 'sync/core_impl/attachments/attachment_service_proxy_for_test.cc', | |
202 'sync/core_impl/attachments/attachment_store_frontend.cc', | |
203 'sync/core_impl/attachments/attachment_uploader.cc', | |
204 'sync/core_impl/attachments/attachment_uploader_impl.cc', | |
205 'sync/core_impl/attachments/attachment_util.cc', | |
206 'sync/core_impl/attachments/fake_attachment_downloader.cc', | |
207 'sync/core_impl/attachments/fake_attachment_uploader.cc', | |
208 'sync/core_impl/attachments/in_memory_attachment_store.cc', | |
209 'sync/core_impl/attachments/on_disk_attachment_store.cc', | |
210 'sync/core_impl/attachments/task_queue.cc', | |
211 'sync/core/base_node.cc', | |
212 'sync/core/base_transaction.cc', | |
213 'sync/core/change_record.cc', | |
214 'sync/core_impl/change_reorder_buffer.cc', | |
215 'sync/core_impl/change_reorder_buffer.h', | |
216 'sync/core_impl/debug_info_event_listener.cc', | |
217 'sync/core_impl/debug_info_event_listener.h', | |
218 'sync/core/delete_journal.cc', | |
219 'sync/engine/events/clear_server_data_request_event.cc', | |
220 'sync/engine/events/clear_server_data_response_event.cc', | |
221 'sync/engine/events/commit_request_event.cc', | |
222 'sync/engine/events/commit_response_event.cc', | |
223 'sync/engine/events/configure_get_updates_request_event.cc', | |
224 'sync/engine/events/get_updates_response_event.cc', | |
225 'sync/engine/events/normal_get_updates_request_event.cc', | |
226 'sync/engine/events/poll_get_updates_request_event.cc', | |
227 'sync/engine/events/protocol_event.cc', | |
228 'sync/core/http_bridge.cc', | |
229 'sync/core/http_bridge_network_resources.cc', | |
230 'sync/core/internal_components_factory_impl.cc', | |
231 'sync/core_impl/js_mutation_event_observer.cc', | |
232 'sync/core_impl/js_mutation_event_observer.h', | |
233 'sync/core_impl/js_sync_encryption_handler_observer.cc', | |
234 'sync/core_impl/js_sync_encryption_handler_observer.h', | |
235 'sync/core_impl/js_sync_manager_observer.cc', | |
236 'sync/core_impl/js_sync_manager_observer.h', | |
237 'sync/core/model_type_connector.cc', | |
238 'sync/core_impl/model_type_connector_proxy.cc', | |
239 'sync/core/model_type_store_backend.cc', | |
240 'sync/core/model_type_store_impl.cc', | |
241 'sync/core/processor_entity_tracker.cc', | |
242 'sync/core_impl/protocol_event_buffer.cc', | |
243 'sync/core_impl/protocol_event_buffer.h', | |
244 'sync/core/activation_context.h', | |
245 'sync/core/attachments/attachment_downloader.h', | |
246 'sync/core/attachments/attachment_downloader_impl.h', | |
247 'sync/core/attachments/attachment_service.h', | |
248 'sync/core/attachments/attachment_service_impl.h', | |
249 'sync/core/attachments/attachment_service_proxy.h', | |
250 'sync/core/attachments/attachment_service_proxy_for_test.h', | |
251 'sync/core/attachments/attachment_store_frontend.h', | |
252 'sync/core/attachments/attachment_uploader.h', | |
253 'sync/core/attachments/attachment_uploader_impl.h', | |
254 'sync/core/attachments/attachment_util.h', | |
255 'sync/core/attachments/fake_attachment_downloader.h', | |
256 'sync/core/attachments/fake_attachment_uploader.h', | |
257 'sync/core/attachments/in_memory_attachment_store.h', | |
258 'sync/core/attachments/on_disk_attachment_store.h', | |
259 'sync/core/attachments/task_queue.h', | |
260 'sync/base/attachment_id_proto.cc', | |
261 'sync/base/attachment_id_proto.h', | |
262 'sync/base/cancelation_observer.cc', | |
263 'sync/base/cancelation_observer.h', | |
264 'sync/base/cancelation_signal.cc', | |
265 'sync/base/cancelation_signal.h', | |
266 'sync/base/enum_set.h', | |
267 'sync/base/enum_set.h', | |
268 'sync/base/invalidation_interface.cc', | |
269 'sync/base/invalidation_interface.h', | |
270 'sync/base/model_type.h', | |
271 'sync/base/node_ordinal.cc', | |
272 'sync/base/node_ordinal.h', | |
273 'sync/base/ordinal.h', | |
274 'sync/base/progress_marker_map.cc', | |
275 'sync/base/progress_marker_map.h', | |
276 'sync/base/stop_source.h', | |
277 'sync/base/unique_position.cc', | |
278 'sync/base/unique_position.h', | |
279 'sync/core/base_node.h', | |
280 'sync/core/base_transaction.h', | |
281 'sync/core/change_record.h', | |
282 'sync/core/configure_reason.h', | |
283 'sync/core/connection_status.h', | |
284 'sync/core/data_batch_impl.h', | |
285 'sync/core/data_batch_impl.cc', | |
286 'sync/core/data_type_association_stats.cc', | |
287 'sync/core/data_type_association_stats.h', | |
288 'sync/core/data_type_debug_info_listener.cc', | |
289 'sync/core/data_type_debug_info_listener.h', | |
290 'sync/core/data_type_error_handler.h', | |
291 'sync/core/delete_journal.h', | |
292 'sync/engine/model_safe_worker.cc', | |
293 'sync/engine/model_safe_worker.h', | |
294 'sync/engine/passive_model_worker.cc', | |
295 'sync/engine/passive_model_worker.h', | |
296 'sync/engine/polling_constants.cc', | |
297 'sync/engine/polling_constants.h', | |
298 'sync/engine/sync_status.cc', | |
299 'sync/engine/sync_status.h', | |
300 'sync/engine/events/clear_server_data_request_event.h', | |
301 'sync/engine/events/clear_server_data_response_event.h', | |
302 'sync/engine/events/commit_request_event.h', | |
303 'sync/engine/events/commit_response_event.h', | |
304 'sync/engine/events/configure_get_updates_request_event.h', | |
305 'sync/engine/events/get_updates_response_event.h', | |
306 'sync/engine/events/normal_get_updates_request_event.h', | |
307 'sync/engine/events/poll_get_updates_request_event.h', | |
308 'sync/engine/events/protocol_event.h', | |
309 'sync/core/http_bridge.h', | |
310 'sync/core/http_bridge_network_resources.h', | |
311 'sync/core/http_post_provider_factory.h', | |
312 'sync/core/http_post_provider_interface.h', | |
313 'sync/core/internal_components_factory.h', | |
314 'sync/core/internal_components_factory_impl.h', | |
315 'sync/core/model_type_connector.h', | |
316 'sync/core/model_type_connector_proxy.h', | |
317 'sync/core/model_type_processor.cc', | |
318 'sync/core/model_type_processor.h', | |
319 'sync/core/model_type_store_backend.h', | |
320 'sync/core/model_type_store_impl.h', | |
321 'sync/core/network_resources.h', | |
322 'sync/core/non_blocking_sync_common.cc', | |
323 'sync/core/non_blocking_sync_common.h', | |
324 'sync/core/processor_entity_tracker.h', | |
325 'sync/core/read_node.h', | |
326 'sync/core/read_transaction.h', | |
327 'sync/sessions/commit_counters.cc', | |
328 'sync/sessions/commit_counters.h', | |
329 'sync/sessions/model_neutral_state.cc', | |
330 'sync/sessions/model_neutral_state.h', | |
331 'sync/sessions/status_counters.cc', | |
332 'sync/sessions/status_counters.h', | |
333 'sync/sessions/sync_session_snapshot.cc', | |
334 'sync/sessions/sync_session_snapshot.h', | |
335 'sync/sessions/type_debug_info_observer.cc', | |
336 'sync/sessions/type_debug_info_observer.h', | |
337 'sync/sessions/update_counters.cc', | |
338 'sync/sessions/update_counters.h', | |
339 'sync/core/shared_model_type_processor.h', | |
340 'sync/core/shutdown_reason.h', | |
341 'sync/core/simple_metadata_change_list.cc', | |
342 'sync/core/simple_metadata_change_list.h', | |
343 'sync/core/sync_auth_provider.h', | |
344 'sync/core/sync_encryption_handler.cc', | |
345 'sync/core/sync_encryption_handler.h', | |
346 'sync/core/sync_manager.cc', | |
347 'sync/core/sync_manager.h', | |
348 'sync/core/sync_manager_factory.h', | |
349 'sync/core/user_share.h', | |
350 'sync/base/experiments.h', | |
351 'sync/base/immutable.h', | |
352 'sync/base/proto_value_ptr.h', | |
353 'sync/base/sync_db_util.h', | |
354 'sync/base/sync_string_conversions.cc', | |
355 'sync/base/sync_string_conversions.h', | |
356 'sync/base/syncer_error.cc', | |
357 'sync/base/syncer_error.h', | |
358 'sync/base/unrecoverable_error_handler.h', | |
359 'sync/base/unrecoverable_error_info.cc', | |
360 'sync/base/unrecoverable_error_info.h', | |
361 'sync/base/weak_handle.cc', | |
362 'sync/base/weak_handle.h', | |
363 'sync/core/write_node.h', | |
364 'sync/core/write_transaction.h', | |
365 'sync/core/read_node.cc', | |
366 'sync/core/read_transaction.cc', | |
367 'sync/core/shared_model_type_processor.cc', | |
368 'sync/core/sync_db_util.cc', | |
369 'sync/core_impl/sync_encryption_handler_impl.cc', | |
370 'sync/core_impl/sync_encryption_handler_impl.h', | |
371 'sync/core/sync_manager_factory.cc', | |
372 'sync/core_impl/sync_manager_impl.cc', | |
373 'sync/core_impl/sync_manager_impl.h', | |
374 'sync/core_impl/syncapi_internal.cc', | |
375 'sync/core_impl/syncapi_internal.h', | |
376 'sync/core_impl/syncapi_server_connection_manager.cc', | |
377 'sync/core_impl/syncapi_server_connection_manager.h', | |
378 'sync/core/user_share.cc', | |
379 'sync/core/write_node.cc', | |
380 'sync/core/write_transaction.cc', | |
381 'sync/js/js_backend.h', | |
382 'sync/js/js_controller.h', | |
383 'sync/js/js_event_details.cc', | |
384 'sync/js/js_event_details.h', | |
385 'sync/js/js_event_handler.h', | |
386 'sync/js/sync_js_controller.cc', | |
387 'sync/js/sync_js_controller.h', | |
388 'sync/protocol/proto_enum_conversions.cc', | |
389 'sync/protocol/proto_enum_conversions.h', | |
390 'sync/protocol/proto_value_conversions.cc', | |
391 'sync/protocol/proto_value_conversions.h', | |
392 'sync/protocol/sync_protocol_error.cc', | |
393 'sync/protocol/sync_protocol_error.h', | |
394 'sync/sessions_impl/data_type_tracker.cc', | |
395 'sync/sessions_impl/data_type_tracker.h', | |
396 'sync/sessions_impl/debug_info_getter.h', | |
397 'sync/sessions_impl/directory_type_debug_info_emitter.cc', | |
398 'sync/sessions_impl/directory_type_debug_info_emitter.h', | |
399 'sync/sessions_impl/model_type_registry.cc', | |
400 'sync/sessions_impl/model_type_registry.h', | |
401 'sync/sessions_impl/nudge_tracker.cc', | |
402 'sync/sessions_impl/nudge_tracker.h', | |
403 'sync/sessions_impl/status_controller.cc', | |
404 'sync/sessions_impl/status_controller.h', | |
405 'sync/sessions_impl/sync_session.cc', | |
406 'sync/sessions_impl/sync_session.h', | |
407 'sync/sessions_impl/sync_session_context.cc', | |
408 'sync/sessions_impl/sync_session_context.h', | |
409 'sync/syncable/dir_open_result.h', | |
410 'sync/syncable/directory.cc', | |
411 'sync/syncable/directory.h', | |
412 'sync/syncable/directory_backing_store.cc', | |
413 'sync/syncable/directory_backing_store.h', | |
414 'sync/syncable/directory_change_delegate.h', | |
415 'sync/syncable/entry.cc', | |
416 'sync/syncable/entry.h', | |
417 'sync/syncable/entry_kernel.cc', | |
418 'sync/syncable/entry_kernel.h', | |
419 'sync/syncable/in_memory_directory_backing_store.cc', | |
420 'sync/syncable/in_memory_directory_backing_store.h', | |
421 'sync/syncable/invalid_directory_backing_store.cc', | |
422 'sync/syncable/invalid_directory_backing_store.h', | |
423 'sync/syncable/metahandle_set.h', | |
424 'sync/syncable/model_neutral_mutable_entry.cc', | |
425 'sync/syncable/model_neutral_mutable_entry.h', | |
426 'sync/syncable/model_type.cc', | |
427 'sync/syncable/mutable_entry.cc', | |
428 'sync/syncable/mutable_entry.h', | |
429 'sync/syncable/nigori_handler.cc', | |
430 'sync/syncable/nigori_handler.h', | |
431 'sync/syncable/nigori_util.cc', | |
432 'sync/syncable/nigori_util.h', | |
433 'sync/syncable/on_disk_directory_backing_store.cc', | |
434 'sync/syncable/on_disk_directory_backing_store.h', | |
435 'sync/syncable/parent_child_index.cc', | |
436 'sync/syncable/parent_child_index.h', | |
437 'sync/syncable/scoped_kernel_lock.cc', | |
438 'sync/syncable/scoped_kernel_lock.h', | |
439 'sync/syncable/scoped_parent_child_index_updater.cc', | |
440 'sync/syncable/scoped_parent_child_index_updater.h', | |
441 'sync/syncable/syncable-inl.h', | |
442 'sync/syncable/syncable_base_transaction.cc', | |
443 'sync/syncable/syncable_base_transaction.h', | |
444 'sync/syncable/syncable_base_write_transaction.cc', | |
445 'sync/syncable/syncable_base_write_transaction.h', | |
446 'sync/syncable/syncable_changes_version.h', | |
447 'sync/syncable/syncable_columns.h', | |
448 'sync/syncable/syncable_delete_journal.cc', | |
449 'sync/syncable/syncable_delete_journal.h', | |
450 'sync/syncable/syncable_enum_conversions.cc', | |
451 'sync/syncable/syncable_enum_conversions.h', | |
452 'sync/syncable/syncable_id.cc', | |
453 'sync/syncable/syncable_id.h', | |
454 'sync/syncable/syncable_model_neutral_write_transaction.cc', | |
455 'sync/syncable/syncable_model_neutral_write_transaction.h', | |
456 'sync/syncable/syncable_proto_util.cc', | |
457 'sync/syncable/syncable_proto_util.h', | |
458 'sync/syncable/syncable_read_transaction.cc', | |
459 'sync/syncable/syncable_read_transaction.h', | |
460 'sync/syncable/syncable_util.cc', | |
461 'sync/syncable/syncable_util.h', | |
462 'sync/syncable/syncable_write_transaction.cc', | |
463 'sync/syncable/syncable_write_transaction.h', | |
464 'sync/syncable/transaction_observer.h', | |
465 'sync/syncable/write_transaction_info.cc', | |
466 'sync/syncable/write_transaction_info.h', | |
467 'sync/base/cryptographer.cc', | |
468 'sync/base/cryptographer.h', | |
469 'sync/base/data_type_histogram.cc', | |
470 'sync/base/data_type_histogram.h', | |
471 'sync/base/encryptor.h', | |
472 'sync/base/extensions_activity.cc', | |
473 'sync/base/extensions_activity.h', | |
474 'sync/base/get_session_name.cc', | |
475 'sync/base/get_session_name.h', | |
476 'sync/base/get_session_name_ios.h', | |
477 'sync/base/get_session_name_ios.mm', | |
478 'sync/base/get_session_name_linux.cc', | |
479 'sync/base/get_session_name_linux.h', | |
480 'sync/base/get_session_name_mac.h', | |
481 'sync/base/get_session_name_mac.mm', | |
482 'sync/base/get_session_name_win.cc', | |
483 'sync/base/get_session_name_win.h', | |
484 'sync/base/logging.cc', | |
485 'sync/base/logging.h', | |
486 'sync/base/nigori.cc', | |
487 'sync/base/nigori.h', | |
488 'sync/base/time.cc', | |
489 'sync/base/time.h', | |
490 'sync/driver/about_sync_util.cc', | |
491 'sync/driver/about_sync_util.h', | |
492 'sync/driver/backend_data_type_configurer.cc', | |
493 'sync/driver/backend_data_type_configurer.h', | |
494 'sync/driver/backend_migrator.cc', | |
495 'sync/driver/backend_migrator.h', | |
496 'sync/driver/change_processor.cc', | |
497 'sync/driver/change_processor.h', | |
498 'sync/driver/data_type_controller.cc', | |
499 'sync/driver/data_type_controller.h', | |
500 'sync/driver/data_type_encryption_handler.cc', | |
501 'sync/driver/data_type_encryption_handler.h', | |
502 'sync/driver/data_type_manager.cc', | |
503 'sync/driver/data_type_manager.h', | |
504 'sync/driver/data_type_manager_impl.cc', | |
505 'sync/driver/data_type_manager_impl.h', | |
506 'sync/driver/data_type_manager_observer.h', | |
507 'sync/driver/data_type_status_table.cc', | |
508 'sync/driver/data_type_status_table.h', | |
509 'sync/driver/device_count_metrics_provider.cc', | |
510 'sync/driver/device_count_metrics_provider.h', | |
511 'sync/driver/device_info.cc', | |
512 'sync/driver/device_info.h', | |
513 'sync/driver/device_info_data_type_controller.cc', | |
514 'sync/driver/device_info_data_type_controller.h', | |
515 'sync/driver/device_info_service.cc', | |
516 'sync/driver/device_info_service.h', | |
517 'sync/driver/device_info_sync_service.cc', | |
518 'sync/driver/device_info_sync_service.h', | |
519 'sync/driver/device_info_tracker.h', | |
520 'sync/driver/device_info_util.cc', | |
521 'sync/driver/device_info_util.h', | |
522 'sync/driver/directory_data_type_controller.cc', | |
523 'sync/driver/directory_data_type_controller.h', | |
524 'sync/driver/frontend_data_type_controller.cc', | |
525 'sync/driver/frontend_data_type_controller.h', | |
526 'sync/driver/generic_change_processor.cc', | |
527 'sync/driver/generic_change_processor.h', | |
528 'sync/driver/generic_change_processor_factory.cc', | |
529 'sync/driver/generic_change_processor_factory.h', | |
530 'sync/driver/glue/browser_thread_model_worker.cc', | |
531 'sync/driver/glue/browser_thread_model_worker.h', | |
532 'sync/driver/glue/chrome_report_unrecoverable_error.cc', | |
533 'sync/driver/glue/chrome_report_unrecoverable_error.h', | |
534 'sync/driver/glue/sync_backend_host.cc', | |
535 'sync/driver/glue/sync_backend_host.h', | |
536 'sync/driver/glue/sync_backend_host_core.cc', | |
537 'sync/driver/glue/sync_backend_host_core.h', | |
538 'sync/driver/glue/sync_backend_host_impl.cc', | |
539 'sync/driver/glue/sync_backend_host_impl.h', | |
540 'sync/driver/glue/sync_backend_registrar.cc', | |
541 'sync/driver/glue/sync_backend_registrar.h', | |
542 'sync/driver/glue/ui_model_worker.cc', | |
543 'sync/driver/glue/ui_model_worker.h', | |
544 'sync/driver/invalidation_adapter.cc', | |
545 'sync/driver/invalidation_adapter.h', | |
546 'sync/driver/invalidation_helper.cc', | |
547 'sync/driver/invalidation_helper.h', | |
548 'sync/driver/local_device_info_provider.h', | |
549 'sync/driver/local_device_info_provider_impl.cc', | |
550 'sync/driver/local_device_info_provider_impl.h', | |
551 'sync/driver/model_association_manager.cc', | |
552 'sync/driver/model_association_manager.h', | |
553 'sync/driver/model_associator.h', | |
554 'sync/driver/non_blocking_data_type_controller.cc', | |
555 'sync/driver/non_blocking_data_type_controller.h', | |
556 'sync/driver/non_ui_data_type_controller.cc', | |
557 'sync/driver/non_ui_data_type_controller.h', | |
558 'sync/driver/non_ui_model_type_controller.cc', | |
559 'sync/driver/non_ui_model_type_controller.h', | |
560 'sync/driver/pref_names.cc', | |
561 'sync/driver/pref_names.h', | |
562 'sync/driver/profile_sync_auth_provider.cc', | |
563 'sync/driver/profile_sync_auth_provider.h', | |
564 'sync/driver/protocol_event_observer.cc', | |
565 'sync/driver/protocol_event_observer.h', | |
566 'sync/driver/proxy_data_type_controller.cc', | |
567 'sync/driver/proxy_data_type_controller.h', | |
568 'sync/driver/shared_change_processor.cc', | |
569 'sync/driver/shared_change_processor.h', | |
570 'sync/driver/shared_change_processor_ref.cc', | |
571 'sync/driver/shared_change_processor_ref.h', | |
572 'sync/driver/signin_manager_wrapper.cc', | |
573 'sync/driver/signin_manager_wrapper.h', | |
574 'sync/driver/startup_controller.cc', | |
575 'sync/driver/startup_controller.h', | |
576 'sync/driver/sync_api_component_factory.h', | |
577 'sync/driver/sync_client.cc', | |
578 'sync/driver/sync_client.h', | |
579 'sync/driver/sync_driver_switches.cc', | |
580 'sync/driver/sync_driver_switches.h', | |
581 'sync/driver/sync_error_controller.cc', | |
582 'sync/driver/sync_error_controller.h', | |
583 'sync/driver/sync_frontend.cc', | |
584 'sync/driver/sync_frontend.h', | |
585 'sync/driver/sync_prefs.cc', | |
586 'sync/driver/sync_prefs.h', | |
587 'sync/driver/sync_service.cc', | |
588 'sync/driver/sync_service.h', | |
589 'sync/driver/sync_service_observer.cc', | |
590 'sync/driver/sync_service_observer.h', | |
591 'sync/driver/sync_service_utils.cc', | |
592 'sync/driver/sync_service_utils.h', | |
593 'sync/driver/sync_stopped_reporter.cc', | |
594 'sync/driver/sync_stopped_reporter.h', | |
595 'sync/driver/sync_type_preference_provider.h', | |
596 'sync/driver/sync_util.cc', | |
597 'sync/driver/sync_util.h', | |
598 'sync/driver/system_encryptor.cc', | |
599 'sync/driver/system_encryptor.h', | |
600 'sync/driver/ui_data_type_controller.cc', | |
601 'sync/driver/ui_data_type_controller.h', | |
602 'sync/driver/ui_model_type_controller.cc', | |
603 'sync/driver/ui_model_type_controller.h', | |
604 'sync/driver/user_selectable_sync_type.h', | |
605 ], | |
606 | |
607 'conditions': [ | |
608 ['OS=="linux" and chromeos==1', { | |
609 # Required by get_session_name.cc on Chrome OS. | |
610 'dependencies': [ | |
611 '../chromeos/chromeos.gyp:chromeos', | |
612 ], | |
613 }], | |
614 ['OS=="mac"', { | |
615 'link_settings': { | |
616 'libraries': [ | |
617 # Required by get_session_name_mac.mm on Mac. | |
618 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framewor
k', | |
619 ] | |
620 }, | |
621 }], | |
622 ['OS=="android"', { | |
623 'dependencies': [ | |
624 'sync_jni_headers', | |
625 ], | |
626 'sources': [ | |
627 'sync/android/model_type_helper.cc', | |
628 'sync/android/model_type_helper.h', | |
629 'sync/android/sync_jni_registrar.cc', | |
630 'sync/android/sync_jni_registrar.h', | |
631 ], | |
632 }], | |
633 ['configuration_policy==1', { | |
634 'dependencies': [ | |
635 'components.gyp:policy', | |
636 'components.gyp:policy_component', | |
637 ], | |
638 'sources': [ | |
639 'sync/driver/sync_policy_handler.cc', | |
640 'sync/driver/sync_policy_handler.h', | |
641 ], | |
642 }], | |
643 ], | |
644 }, | |
645 { | |
646 # Contains sync protobuf definitions. Do not depend on this directly. | |
647 # Depend on the 'sync' target to get the relevant C++ code, too. | |
648 # | |
649 # GN version: //components/sync/protocol | |
650 'target_name': 'sync_proto', | |
651 'type': '<(component)', | |
652 'include_dirs': [ | |
653 '..', | |
654 ], | |
655 'defines': [ | |
656 'SYNC_PROTO_IMPLEMENTATION', | |
657 ], | |
658 'sources': [ | |
659 # When adding a new proto source file, add its path to the list defined | |
660 # in sync/protocol/protocol.gypi. | |
661 '<@(sync_proto_sources)', | |
662 ], | |
663 'variables': { | |
664 'enable_wexit_time_destructors': 1, | |
665 'proto_in_dir': './sync/protocol', | |
666 'proto_out_dir': 'components/sync/protocol', | |
667 'cc_generator_options': 'dllexport_decl=SYNC_PROTO_EXPORT:', | |
668 'cc_include': 'components/sync/protocol/sync_proto_export.h', | |
669 }, | |
670 'includes': [ | |
671 '../build/protoc.gypi' | |
672 ], | |
673 }, | |
674 { | |
675 # Contains attachment_store protobuf definitions. Do not depend on this | |
676 # directly. | |
677 # Depend on the 'sync' target to get the relevant C++ code, too. | |
678 # | |
679 # GN version: //components/sync/core_impl/attachments/proto | |
680 'target_name': 'attachment_store_proto', | |
681 'type': 'static_library', | |
682 'sources': [ | |
683 # NOTE: If you add a file to this list, also add it to | |
684 # sync/core_impl/attachments/proto/BUILD.gn | |
685 'sync/core_impl/attachments/proto/attachment_store.proto', | |
686 ], | |
687 'variables': { | |
688 'enable_wexit_time_destructors': 1, | |
689 'proto_in_dir': './sync/core_impl/attachments/proto', | |
690 'proto_out_dir': 'components/sync/core_impl/attachments/proto', | |
691 'cc_generator_options': 'dllexport_decl=SYNC_EXPORT:', | |
692 'cc_include': 'components/sync/base/sync_export.h', | |
693 }, | |
694 'includes': [ | |
695 '../build/protoc.gypi' | |
696 ], | |
697 'defines': [ | |
698 'SYNC_IMPLEMENTATION' | |
699 ], | |
700 }, | |
701 ], | |
702 } | |
OLD | NEW |