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