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/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 60 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 61 '../third_party/zlib/zlib.gyp:zlib', |
| 62 '../url/url.gyp:url_lib', |
| 63 'attachment_store_proto', |
| 64 'sync_proto', |
| 65 ], |
| 66 'export_dependent_settings': [ |
| 67 '../net/net.gyp:net', |
| 68 'sync_proto', |
| 69 ], |
| 70 'sources': [ |
| 71 'sync/api/attachments/attachment.cc', |
| 72 'sync/api/attachments/attachment.h', |
| 73 'sync/api/attachments/attachment_id.cc', |
| 74 'sync/api/attachments/attachment_id.h', |
| 75 'sync/api/attachments/attachment_metadata.cc', |
| 76 'sync/api/attachments/attachment_metadata.h', |
| 77 'sync/api/attachments/attachment_store.cc', |
| 78 'sync/api/attachments/attachment_store.h', |
| 79 'sync/api/attachments/attachment_store_backend.cc', |
| 80 'sync/api/attachments/attachment_store_backend.h', |
| 81 'sync/api/conflict_resolution.cc', |
| 82 'sync/api/conflict_resolution.h', |
| 83 'sync/api/data_batch.h', |
| 84 'sync/api/entity_change.cc', |
| 85 'sync/api/entity_change.h', |
| 86 'sync/api/entity_data.cc', |
| 87 'sync/api/entity_data.h', |
| 88 'sync/api/metadata_batch.cc', |
| 89 'sync/api/metadata_batch.h', |
| 90 'sync/api/metadata_change_list.h', |
| 91 'sync/api/model_type_change_processor.cc', |
| 92 'sync/api/model_type_change_processor.h', |
| 93 'sync/api/model_type_service.cc', |
| 94 'sync/api/model_type_service.h', |
| 95 'sync/api/model_type_store.cc', |
| 96 'sync/api/model_type_store.h', |
| 97 'sync/api/string_ordinal.h', |
| 98 'sync/api/sync_change.cc', |
| 99 'sync/api/sync_change.h', |
| 100 'sync/api/sync_change_processor.cc', |
| 101 'sync/api/sync_change_processor.h', |
| 102 'sync/api/sync_data.cc', |
| 103 'sync/api/sync_data.h', |
| 104 'sync/api/sync_error.cc', |
| 105 'sync/api/sync_error.h', |
| 106 'sync/api/sync_error_factory.cc', |
| 107 'sync/api/sync_error_factory.h', |
| 108 'sync/api/sync_merge_result.cc', |
| 109 'sync/api/sync_merge_result.h', |
| 110 'sync/api/syncable_service.cc', |
| 111 'sync/api/syncable_service.h', |
| 112 'sync/api/time.h', |
| 113 'sync/base/sync_export.h', |
| 114 'sync/engine_impl/all_status.cc', |
| 115 'sync/engine_impl/all_status.h', |
| 116 'sync/engine_impl/apply_control_data_updates.cc', |
| 117 'sync/engine_impl/apply_control_data_updates.h', |
| 118 'sync/engine_impl/backoff_delay_provider.cc', |
| 119 'sync/engine_impl/backoff_delay_provider.h', |
| 120 'sync/engine_impl/clear_server_data.cc', |
| 121 'sync/engine_impl/clear_server_data.h', |
| 122 'sync/engine_impl/commit.cc', |
| 123 'sync/engine_impl/commit.h', |
| 124 'sync/engine_impl/commit_contribution.cc', |
| 125 'sync/engine_impl/commit_contribution.h', |
| 126 'sync/engine_impl/commit_contributor.cc', |
| 127 'sync/engine_impl/commit_contributor.h', |
| 128 'sync/engine_impl/commit_processor.cc', |
| 129 'sync/engine_impl/commit_processor.h', |
| 130 'sync/engine_impl/commit_queue.cc', |
| 131 'sync/engine_impl/commit_queue.h', |
| 132 'sync/engine_impl/commit_util.cc', |
| 133 'sync/engine_impl/commit_util.h', |
| 134 'sync/engine_impl/conflict_resolver.cc', |
| 135 'sync/engine_impl/conflict_resolver.h', |
| 136 'sync/engine_impl/conflict_util.cc', |
| 137 'sync/engine_impl/conflict_util.h', |
| 138 'sync/engine_impl/directory_commit_contribution.cc', |
| 139 'sync/engine_impl/directory_commit_contribution.h', |
| 140 'sync/engine_impl/directory_commit_contributor.cc', |
| 141 'sync/engine_impl/directory_commit_contributor.h', |
| 142 'sync/engine_impl/directory_update_handler.cc', |
| 143 'sync/engine_impl/directory_update_handler.h', |
| 144 'sync/engine_impl/get_commit_ids.cc', |
| 145 'sync/engine_impl/get_commit_ids.h', |
| 146 'sync/engine_impl/get_updates_delegate.cc', |
| 147 'sync/engine_impl/get_updates_delegate.h', |
| 148 'sync/engine_impl/get_updates_processor.cc', |
| 149 'sync/engine_impl/get_updates_processor.h', |
| 150 'sync/engine_impl/model_type_worker.cc', |
| 151 'sync/engine_impl/model_type_worker.h', |
| 152 'sync/engine_impl/net/server_connection_manager.cc', |
| 153 'sync/engine_impl/net/server_connection_manager.h', |
| 154 'sync/engine_impl/net/url_translator.cc', |
| 155 'sync/engine_impl/net/url_translator.h', |
| 156 'sync/engine_impl/non_blocking_type_commit_contribution.cc', |
| 157 'sync/engine_impl/non_blocking_type_commit_contribution.h', |
| 158 'sync/engine_impl/nudge_handler.cc', |
| 159 'sync/engine_impl/nudge_handler.h', |
| 160 'sync/engine_impl/nudge_source.cc', |
| 161 'sync/engine_impl/nudge_source.h', |
| 162 'sync/engine_impl/process_updates_util.cc', |
| 163 'sync/engine_impl/process_updates_util.h', |
| 164 'sync/engine_impl/sync_cycle_event.cc', |
| 165 'sync/engine_impl/sync_cycle_event.h', |
| 166 'sync/engine_impl/sync_engine_event_listener.cc', |
| 167 'sync/engine_impl/sync_engine_event_listener.h', |
| 168 'sync/engine_impl/sync_scheduler.cc', |
| 169 'sync/engine_impl/sync_scheduler.h', |
| 170 'sync/engine_impl/sync_scheduler_impl.cc', |
| 171 'sync/engine_impl/sync_scheduler_impl.h', |
| 172 'sync/engine_impl/syncer.cc', |
| 173 'sync/engine_impl/syncer.h', |
| 174 'sync/engine_impl/syncer_proto_util.cc', |
| 175 'sync/engine_impl/syncer_proto_util.h', |
| 176 'sync/engine_impl/syncer_types.h', |
| 177 'sync/engine_impl/syncer_util.cc', |
| 178 'sync/engine_impl/syncer_util.h', |
| 179 'sync/engine_impl/traffic_logger.cc', |
| 180 'sync/engine_impl/traffic_logger.h', |
| 181 'sync/engine_impl/update_applicator.cc', |
| 182 'sync/engine_impl/update_applicator.h', |
| 183 'sync/engine_impl/update_handler.cc', |
| 184 'sync/engine_impl/update_handler.h', |
| 185 'sync/engine_impl/worker_entity_tracker.cc', |
| 186 'sync/engine_impl/worker_entity_tracker.h', |
| 187 'sync/core/activation_context.cc', |
| 188 'sync/core_impl/attachments/attachment_downloader.cc', |
| 189 'sync/core_impl/attachments/attachment_downloader_impl.cc', |
| 190 'sync/core_impl/attachments/attachment_service.cc', |
| 191 'sync/core_impl/attachments/attachment_service_impl.cc', |
| 192 'sync/core_impl/attachments/attachment_service_proxy.cc', |
| 193 'sync/core_impl/attachments/attachment_service_proxy_for_test.cc', |
| 194 'sync/core_impl/attachments/attachment_store_frontend.cc', |
| 195 'sync/core_impl/attachments/attachment_uploader.cc', |
| 196 'sync/core_impl/attachments/attachment_uploader_impl.cc', |
| 197 'sync/core_impl/attachments/attachment_util.cc', |
| 198 'sync/core_impl/attachments/fake_attachment_downloader.cc', |
| 199 'sync/core_impl/attachments/fake_attachment_uploader.cc', |
| 200 'sync/core_impl/attachments/in_memory_attachment_store.cc', |
| 201 'sync/core_impl/attachments/on_disk_attachment_store.cc', |
| 202 'sync/core_impl/attachments/task_queue.cc', |
| 203 'sync/core/base_node.cc', |
| 204 'sync/core/base_transaction.cc', |
| 205 'sync/core/change_record.cc', |
| 206 'sync/core_impl/change_reorder_buffer.cc', |
| 207 'sync/core_impl/change_reorder_buffer.h', |
| 208 'sync/core_impl/debug_info_event_listener.cc', |
| 209 'sync/core_impl/debug_info_event_listener.h', |
| 210 'sync/core/delete_journal.cc', |
| 211 'sync/engine/events/clear_server_data_request_event.cc', |
| 212 'sync/engine/events/clear_server_data_response_event.cc', |
| 213 'sync/engine/events/commit_request_event.cc', |
| 214 'sync/engine/events/commit_response_event.cc', |
| 215 'sync/engine/events/configure_get_updates_request_event.cc', |
| 216 'sync/engine/events/get_updates_response_event.cc', |
| 217 'sync/engine/events/normal_get_updates_request_event.cc', |
| 218 'sync/engine/events/poll_get_updates_request_event.cc', |
| 219 'sync/engine/events/protocol_event.cc', |
| 220 'sync/core/http_bridge.cc', |
| 221 'sync/core/http_bridge_network_resources.cc', |
| 222 'sync/core/internal_components_factory_impl.cc', |
| 223 'sync/core_impl/js_mutation_event_observer.cc', |
| 224 'sync/core_impl/js_mutation_event_observer.h', |
| 225 'sync/core_impl/js_sync_encryption_handler_observer.cc', |
| 226 'sync/core_impl/js_sync_encryption_handler_observer.h', |
| 227 'sync/core_impl/js_sync_manager_observer.cc', |
| 228 'sync/core_impl/js_sync_manager_observer.h', |
| 229 'sync/core/model_type_connector.cc', |
| 230 'sync/core_impl/model_type_connector_proxy.cc', |
| 231 'sync/core/model_type_store_backend.cc', |
| 232 'sync/core/model_type_store_impl.cc', |
| 233 'sync/core/processor_entity_tracker.cc', |
| 234 'sync/core_impl/protocol_event_buffer.cc', |
| 235 'sync/core_impl/protocol_event_buffer.h', |
| 236 'sync/core/activation_context.h', |
| 237 'sync/core/attachments/attachment_downloader.h', |
| 238 'sync/core/attachments/attachment_downloader_impl.h', |
| 239 'sync/core/attachments/attachment_service.h', |
| 240 'sync/core/attachments/attachment_service_impl.h', |
| 241 'sync/core/attachments/attachment_service_proxy.h', |
| 242 'sync/core/attachments/attachment_service_proxy_for_test.h', |
| 243 'sync/core/attachments/attachment_store_frontend.h', |
| 244 'sync/core/attachments/attachment_uploader.h', |
| 245 'sync/core/attachments/attachment_uploader_impl.h', |
| 246 'sync/core/attachments/attachment_util.h', |
| 247 'sync/core/attachments/fake_attachment_downloader.h', |
| 248 'sync/core/attachments/fake_attachment_uploader.h', |
| 249 'sync/core/attachments/in_memory_attachment_store.h', |
| 250 'sync/core/attachments/on_disk_attachment_store.h', |
| 251 'sync/core/attachments/task_queue.h', |
| 252 'sync/base/attachment_id_proto.cc', |
| 253 'sync/base/attachment_id_proto.h', |
| 254 'sync/base/cancelation_observer.cc', |
| 255 'sync/base/cancelation_observer.h', |
| 256 'sync/base/cancelation_signal.cc', |
| 257 'sync/base/cancelation_signal.h', |
| 258 'sync/base/enum_set.h', |
| 259 'sync/base/enum_set.h', |
| 260 'sync/base/invalidation_interface.cc', |
| 261 'sync/base/invalidation_interface.h', |
| 262 'sync/base/model_type.h', |
| 263 'sync/base/node_ordinal.cc', |
| 264 'sync/base/node_ordinal.h', |
| 265 'sync/base/ordinal.h', |
| 266 'sync/base/progress_marker_map.cc', |
| 267 'sync/base/progress_marker_map.h', |
| 268 'sync/base/stop_source.h', |
| 269 'sync/base/unique_position.cc', |
| 270 'sync/base/unique_position.h', |
| 271 'sync/core/base_node.h', |
| 272 'sync/core/base_transaction.h', |
| 273 'sync/core/change_record.h', |
| 274 'sync/core/configure_reason.h', |
| 275 'sync/core/connection_status.h', |
| 276 'sync/core/data_batch_impl.h', |
| 277 'sync/core/data_batch_impl.cc', |
| 278 'sync/core/data_type_association_stats.cc', |
| 279 'sync/core/data_type_association_stats.h', |
| 280 'sync/core/data_type_debug_info_listener.cc', |
| 281 'sync/core/data_type_debug_info_listener.h', |
| 282 'sync/core/data_type_error_handler.h', |
| 283 'sync/core/delete_journal.h', |
| 284 'sync/engine/model_safe_worker.cc', |
| 285 'sync/engine/model_safe_worker.h', |
| 286 'sync/engine/passive_model_worker.cc', |
| 287 'sync/engine/passive_model_worker.h', |
| 288 'sync/engine/polling_constants.cc', |
| 289 'sync/engine/polling_constants.h', |
| 290 'sync/engine/sync_status.cc', |
| 291 'sync/engine/sync_status.h', |
| 292 'sync/engine/events/clear_server_data_request_event.h', |
| 293 'sync/engine/events/clear_server_data_response_event.h', |
| 294 'sync/engine/events/commit_request_event.h', |
| 295 'sync/engine/events/commit_response_event.h', |
| 296 'sync/engine/events/configure_get_updates_request_event.h', |
| 297 'sync/engine/events/get_updates_response_event.h', |
| 298 'sync/engine/events/normal_get_updates_request_event.h', |
| 299 'sync/engine/events/poll_get_updates_request_event.h', |
| 300 'sync/engine/events/protocol_event.h', |
| 301 'sync/core/http_bridge.h', |
| 302 'sync/core/http_bridge_network_resources.h', |
| 303 'sync/core/http_post_provider_factory.h', |
| 304 'sync/core/http_post_provider_interface.h', |
| 305 'sync/core/internal_components_factory.h', |
| 306 'sync/core/internal_components_factory_impl.h', |
| 307 'sync/core/model_type_connector.h', |
| 308 'sync/core/model_type_connector_proxy.h', |
| 309 'sync/core/model_type_processor.cc', |
| 310 'sync/core/model_type_processor.h', |
| 311 'sync/core/model_type_store_backend.h', |
| 312 'sync/core/model_type_store_impl.h', |
| 313 'sync/core/network_resources.h', |
| 314 'sync/core/non_blocking_sync_common.cc', |
| 315 'sync/core/non_blocking_sync_common.h', |
| 316 'sync/core/processor_entity_tracker.h', |
| 317 'sync/core/read_node.h', |
| 318 'sync/core/read_transaction.h', |
| 319 'sync/sessions/commit_counters.cc', |
| 320 'sync/sessions/commit_counters.h', |
| 321 'sync/sessions/model_neutral_state.cc', |
| 322 'sync/sessions/model_neutral_state.h', |
| 323 'sync/sessions/status_counters.cc', |
| 324 'sync/sessions/status_counters.h', |
| 325 'sync/sessions/sync_session_snapshot.cc', |
| 326 'sync/sessions/sync_session_snapshot.h', |
| 327 'sync/sessions/type_debug_info_observer.cc', |
| 328 'sync/sessions/type_debug_info_observer.h', |
| 329 'sync/sessions/update_counters.cc', |
| 330 'sync/sessions/update_counters.h', |
| 331 'sync/core/shared_model_type_processor.h', |
| 332 'sync/core/shutdown_reason.h', |
| 333 'sync/core/simple_metadata_change_list.cc', |
| 334 'sync/core/simple_metadata_change_list.h', |
| 335 'sync/core/sync_auth_provider.h', |
| 336 'sync/core/sync_encryption_handler.cc', |
| 337 'sync/core/sync_encryption_handler.h', |
| 338 'sync/core/sync_manager.cc', |
| 339 'sync/core/sync_manager.h', |
| 340 'sync/core/sync_manager_factory.h', |
| 341 'sync/core/user_share.h', |
| 342 'sync/base/experiments.h', |
| 343 'sync/base/immutable.h', |
| 344 'sync/base/proto_value_ptr.h', |
| 345 'sync/base/sync_db_util.h', |
| 346 'sync/base/sync_string_conversions.cc', |
| 347 'sync/base/sync_string_conversions.h', |
| 348 'sync/base/syncer_error.cc', |
| 349 'sync/base/syncer_error.h', |
| 350 'sync/base/unrecoverable_error_handler.h', |
| 351 'sync/base/unrecoverable_error_info.cc', |
| 352 'sync/base/unrecoverable_error_info.h', |
| 353 'sync/base/weak_handle.cc', |
| 354 'sync/base/weak_handle.h', |
| 355 'sync/core/write_node.h', |
| 356 'sync/core/write_transaction.h', |
| 357 'sync/core/read_node.cc', |
| 358 'sync/core/read_transaction.cc', |
| 359 'sync/core/shared_model_type_processor.cc', |
| 360 'sync/core/sync_db_util.cc', |
| 361 'sync/core_impl/sync_encryption_handler_impl.cc', |
| 362 'sync/core_impl/sync_encryption_handler_impl.h', |
| 363 'sync/core/sync_manager_factory.cc', |
| 364 'sync/core_impl/sync_manager_impl.cc', |
| 365 'sync/core_impl/sync_manager_impl.h', |
| 366 'sync/core_impl/syncapi_internal.cc', |
| 367 'sync/core_impl/syncapi_internal.h', |
| 368 'sync/core_impl/syncapi_server_connection_manager.cc', |
| 369 'sync/core_impl/syncapi_server_connection_manager.h', |
| 370 'sync/core/user_share.cc', |
| 371 'sync/core/write_node.cc', |
| 372 'sync/core/write_transaction.cc', |
| 373 'sync/js/js_backend.h', |
| 374 'sync/js/js_controller.h', |
| 375 'sync/js/js_event_details.cc', |
| 376 'sync/js/js_event_details.h', |
| 377 'sync/js/js_event_handler.h', |
| 378 'sync/js/sync_js_controller.cc', |
| 379 'sync/js/sync_js_controller.h', |
| 380 'sync/protocol/proto_enum_conversions.cc', |
| 381 'sync/protocol/proto_enum_conversions.h', |
| 382 'sync/protocol/proto_value_conversions.cc', |
| 383 'sync/protocol/proto_value_conversions.h', |
| 384 'sync/protocol/sync_protocol_error.cc', |
| 385 'sync/protocol/sync_protocol_error.h', |
| 386 'sync/sessions_impl/data_type_tracker.cc', |
| 387 'sync/sessions_impl/data_type_tracker.h', |
| 388 'sync/sessions_impl/debug_info_getter.h', |
| 389 'sync/sessions_impl/directory_type_debug_info_emitter.cc', |
| 390 'sync/sessions_impl/directory_type_debug_info_emitter.h', |
| 391 'sync/sessions_impl/model_type_registry.cc', |
| 392 'sync/sessions_impl/model_type_registry.h', |
| 393 'sync/sessions_impl/nudge_tracker.cc', |
| 394 'sync/sessions_impl/nudge_tracker.h', |
| 395 'sync/sessions_impl/status_controller.cc', |
| 396 'sync/sessions_impl/status_controller.h', |
| 397 'sync/sessions_impl/sync_session.cc', |
| 398 'sync/sessions_impl/sync_session.h', |
| 399 'sync/sessions_impl/sync_session_context.cc', |
| 400 'sync/sessions_impl/sync_session_context.h', |
| 401 'sync/syncable/dir_open_result.h', |
| 402 'sync/syncable/directory.cc', |
| 403 'sync/syncable/directory.h', |
| 404 'sync/syncable/directory_backing_store.cc', |
| 405 'sync/syncable/directory_backing_store.h', |
| 406 'sync/syncable/directory_change_delegate.h', |
| 407 'sync/syncable/entry.cc', |
| 408 'sync/syncable/entry.h', |
| 409 'sync/syncable/entry_kernel.cc', |
| 410 'sync/syncable/entry_kernel.h', |
| 411 'sync/syncable/in_memory_directory_backing_store.cc', |
| 412 'sync/syncable/in_memory_directory_backing_store.h', |
| 413 'sync/syncable/invalid_directory_backing_store.cc', |
| 414 'sync/syncable/invalid_directory_backing_store.h', |
| 415 'sync/syncable/metahandle_set.h', |
| 416 'sync/syncable/model_neutral_mutable_entry.cc', |
| 417 'sync/syncable/model_neutral_mutable_entry.h', |
| 418 'sync/syncable/model_type.cc', |
| 419 'sync/syncable/mutable_entry.cc', |
| 420 'sync/syncable/mutable_entry.h', |
| 421 'sync/syncable/nigori_handler.cc', |
| 422 'sync/syncable/nigori_handler.h', |
| 423 'sync/syncable/nigori_util.cc', |
| 424 'sync/syncable/nigori_util.h', |
| 425 'sync/syncable/on_disk_directory_backing_store.cc', |
| 426 'sync/syncable/on_disk_directory_backing_store.h', |
| 427 'sync/syncable/parent_child_index.cc', |
| 428 'sync/syncable/parent_child_index.h', |
| 429 'sync/syncable/scoped_kernel_lock.cc', |
| 430 'sync/syncable/scoped_kernel_lock.h', |
| 431 'sync/syncable/scoped_parent_child_index_updater.cc', |
| 432 'sync/syncable/scoped_parent_child_index_updater.h', |
| 433 'sync/syncable/syncable-inl.h', |
| 434 'sync/syncable/syncable_base_transaction.cc', |
| 435 'sync/syncable/syncable_base_transaction.h', |
| 436 'sync/syncable/syncable_base_write_transaction.cc', |
| 437 'sync/syncable/syncable_base_write_transaction.h', |
| 438 'sync/syncable/syncable_changes_version.h', |
| 439 'sync/syncable/syncable_columns.h', |
| 440 'sync/syncable/syncable_delete_journal.cc', |
| 441 'sync/syncable/syncable_delete_journal.h', |
| 442 'sync/syncable/syncable_enum_conversions.cc', |
| 443 'sync/syncable/syncable_enum_conversions.h', |
| 444 'sync/syncable/syncable_id.cc', |
| 445 'sync/syncable/syncable_id.h', |
| 446 'sync/syncable/syncable_model_neutral_write_transaction.cc', |
| 447 'sync/syncable/syncable_model_neutral_write_transaction.h', |
| 448 'sync/syncable/syncable_proto_util.cc', |
| 449 'sync/syncable/syncable_proto_util.h', |
| 450 'sync/syncable/syncable_read_transaction.cc', |
| 451 'sync/syncable/syncable_read_transaction.h', |
| 452 'sync/syncable/syncable_util.cc', |
| 453 'sync/syncable/syncable_util.h', |
| 454 'sync/syncable/syncable_write_transaction.cc', |
| 455 'sync/syncable/syncable_write_transaction.h', |
| 456 'sync/syncable/transaction_observer.h', |
| 457 'sync/syncable/write_transaction_info.cc', |
| 458 'sync/syncable/write_transaction_info.h', |
| 459 'sync/base/cryptographer.cc', |
| 460 'sync/base/cryptographer.h', |
| 461 'sync/base/data_type_histogram.cc', |
| 462 'sync/base/data_type_histogram.h', |
| 463 'sync/base/encryptor.h', |
| 464 'sync/base/extensions_activity.cc', |
| 465 'sync/base/extensions_activity.h', |
| 466 'sync/base/get_session_name.cc', |
| 467 'sync/base/get_session_name.h', |
| 468 'sync/base/get_session_name_ios.h', |
| 469 'sync/base/get_session_name_ios.mm', |
| 470 'sync/base/get_session_name_linux.cc', |
| 471 'sync/base/get_session_name_linux.h', |
| 472 'sync/base/get_session_name_mac.h', |
| 473 'sync/base/get_session_name_mac.mm', |
| 474 'sync/base/get_session_name_win.cc', |
| 475 'sync/base/get_session_name_win.h', |
| 476 'sync/base/logging.cc', |
| 477 'sync/base/logging.h', |
| 478 'sync/base/nigori.cc', |
| 479 'sync/base/nigori.h', |
| 480 'sync/base/time.cc', |
| 481 'sync/base/time.h', |
| 482 ], |
| 483 |
| 484 'conditions': [ |
| 485 ['OS=="linux" and chromeos==1', { |
| 486 # Required by get_session_name.cc on Chrome OS. |
| 487 'dependencies': [ |
| 488 '../chromeos/chromeos.gyp:chromeos', |
| 489 ], |
| 490 }], |
| 491 ['OS=="mac"', { |
| 492 'link_settings': { |
| 493 'libraries': [ |
| 494 # Required by get_session_name_mac.mm on Mac. |
| 495 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framewor
k', |
| 496 ] |
| 497 }, |
| 498 }], |
| 499 ['OS=="android"', { |
| 500 'dependencies': [ |
| 501 'sync_jni_headers', |
| 502 ], |
| 503 'sources': [ |
| 504 'sync/android/model_type_helper.cc', |
| 505 'sync/android/model_type_helper.h', |
| 506 'sync/android/sync_jni_registrar.cc', |
| 507 'sync/android/sync_jni_registrar.h', |
| 508 ], |
| 509 }], |
| 510 ], |
| 511 }, |
| 512 { |
| 513 # Contains sync protobuf definitions. Do not depend on this directly. |
| 514 # Depend on the 'sync' target to get the relevant C++ code, too. |
| 515 # |
| 516 # GN version: //components/sync/protocol |
| 517 'target_name': 'sync_proto', |
| 518 'type': '<(component)', |
| 519 'include_dirs': [ |
| 520 '..', |
| 521 ], |
| 522 'defines': [ |
| 523 'SYNC_PROTO_IMPLEMENTATION', |
| 524 ], |
| 525 'sources': [ |
| 526 # When adding a new proto source file, add its path to the list defined |
| 527 # in sync/protocol/protocol.gypi. |
| 528 '<@(sync_proto_sources)', |
| 529 ], |
| 530 'variables': { |
| 531 'enable_wexit_time_destructors': 1, |
| 532 'proto_in_dir': './sync/protocol', |
| 533 'proto_out_dir': 'components/sync/protocol', |
| 534 'cc_generator_options': 'dllexport_decl=SYNC_PROTO_EXPORT:', |
| 535 'cc_include': 'components/sync/protocol/sync_proto_export.h', |
| 536 }, |
| 537 'includes': [ |
| 538 '../build/protoc.gypi' |
| 539 ], |
| 540 }, |
| 541 { |
| 542 # Contains attachment_store protobuf definitions. Do not depend on this |
| 543 # directly. |
| 544 # Depend on the 'sync' target to get the relevant C++ code, too. |
| 545 # |
| 546 # GN version: //components/sync/core_impl/attachments/proto |
| 547 'target_name': 'attachment_store_proto', |
| 548 'type': 'static_library', |
| 549 'sources': [ |
| 550 # NOTE: If you add a file to this list, also add it to |
| 551 # sync/core_impl/attachments/proto/BUILD.gn |
| 552 'sync/core_impl/attachments/proto/attachment_store.proto', |
| 553 ], |
| 554 'variables': { |
| 555 'enable_wexit_time_destructors': 1, |
| 556 'proto_in_dir': './sync/core_impl/attachments/proto', |
| 557 'proto_out_dir': 'components/sync/core_impl/attachments/proto', |
| 558 'cc_generator_options': 'dllexport_decl=SYNC_EXPORT:', |
| 559 'cc_include': 'components/sync/base/sync_export.h', |
| 560 }, |
| 561 'includes': [ |
| 562 '../build/protoc.gypi' |
| 563 ], |
| 564 'defines': [ |
| 565 'SYNC_IMPLEMENTATION' |
| 566 ], |
| 567 }, |
| 568 ], |
| 569 } |
OLD | NEW |