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 'include_dirs': [ 7 '..', 8 ], 9 'defines': [ 10 'SYNC_IMPLEMENTATION', 11 ], 12 'dependencies': [ 13 '../base/base.gyp:base', 14 '../base/base.gyp:base_i18n', 15 '../crypto/crypto.gyp:crypto', 16 '../google_apis/google_apis.gyp:google_apis', 17 '../net/net.gyp:net', 18 '../sql/sql.gyp:sql', 19 '../url/url.gyp:url_lib', 20 ], 21 'conditions': [ 22 ['OS=="linux" and chromeos==1', { 23 # Required by get_session_name.cc on Chrome OS. 24 'dependencies': [ 25 '../chromeos/chromeos.gyp:chromeos', 26 ], 27 }], 28 ], 29 'sources': [ 30 'base/sync_export.h', 31 'engine/all_status.cc', 32 'engine/all_status.h', 33 'engine/apply_control_data_updates.cc', 34 'engine/apply_control_data_updates.h', 35 'engine/backoff_delay_provider.cc', 36 'engine/backoff_delay_provider.h', 37 'engine/commit_util.cc', 38 'engine/commit_util.h', 39 'engine/commit.cc', 40 'engine/commit.h', 41 'engine/sync_directory_update_handler.cc', 42 'engine/sync_directory_update_handler.h', 43 'engine/sync_directory_commit_contribution.cc', 44 'engine/sync_directory_commit_contribution.h', 45 'engine/sync_directory_commit_contributor.cc', 46 'engine/sync_directory_commit_contributor.h', 47 'engine/conflict_resolver.cc', 48 'engine/conflict_resolver.h', 49 'engine/conflict_util.cc', 50 'engine/conflict_util.h', 51 'engine/download.cc', 52 'engine/download.h', 53 'engine/get_commit_ids.cc', 54 'engine/get_commit_ids.h', 55 'engine/net/server_connection_manager.cc', 56 'engine/net/server_connection_manager.h', 57 'engine/net/url_translator.cc', 58 'engine/net/url_translator.h', 59 'engine/nudge_source.cc', 60 'engine/nudge_source.h', 61 'engine/process_updates_util.cc', 62 'engine/process_updates_util.h', 63 'engine/sync_engine_event.cc', 64 'engine/sync_engine_event.h', 65 'engine/sync_scheduler.cc', 66 'engine/sync_scheduler.h', 67 'engine/sync_scheduler_impl.cc', 68 'engine/sync_scheduler_impl.h', 69 'engine/syncer.cc', 70 'engine/syncer.h', 71 'engine/syncer_proto_util.cc', 72 'engine/syncer_proto_util.h', 73 'engine/syncer_types.h', 74 'engine/syncer_util.cc', 75 'engine/syncer_util.h', 76 'engine/traffic_logger.cc', 77 'engine/traffic_logger.h', 78 'engine/traffic_recorder.cc', 79 'engine/traffic_recorder.h', 80 'engine/update_applicator.cc', 81 'engine/update_applicator.h', 82 'js/js_arg_list.cc', 83 'js/js_arg_list.h', 84 'js/js_backend.h', 85 'js/js_controller.h', 86 'js/js_event_details.cc', 87 'js/js_event_details.h', 88 'js/js_event_handler.h', 89 'js/js_reply_handler.h', 90 'js/sync_js_controller.cc', 91 'js/sync_js_controller.h', 92 'protocol/proto_enum_conversions.cc', 93 'protocol/proto_enum_conversions.h', 94 'protocol/proto_value_conversions.cc', 95 'protocol/proto_value_conversions.h', 96 'protocol/sync_protocol_error.cc', 97 'protocol/sync_protocol_error.h', 98 'sessions/data_type_tracker.cc', 99 'sessions/data_type_tracker.h', 100 'sessions/debug_info_getter.h', 101 'sessions/nudge_tracker.cc', 102 'sessions/nudge_tracker.h', 103 'sessions/status_controller.cc', 104 'sessions/status_controller.h', 105 'sessions/sync_session.cc', 106 'sessions/sync_session.h', 107 'sessions/sync_session_context.cc', 108 'sessions/sync_session_context.h', 109 'syncable/blob.h', 110 'syncable/dir_open_result.h', 111 'syncable/directory.cc', 112 'syncable/directory.h', 113 'syncable/directory_backing_store.cc', 114 'syncable/directory_backing_store.h', 115 'syncable/directory_change_delegate.h', 116 'syncable/entry.cc', 117 'syncable/entry.h', 118 'syncable/entry_kernel.cc', 119 'syncable/entry_kernel.h', 120 'syncable/in_memory_directory_backing_store.cc', 121 'syncable/in_memory_directory_backing_store.h', 122 'syncable/invalid_directory_backing_store.cc', 123 'syncable/invalid_directory_backing_store.h', 124 'syncable/metahandle_set.h', 125 'syncable/model_neutral_mutable_entry.cc', 126 'syncable/model_neutral_mutable_entry.h', 127 'syncable/model_type.cc', 128 'syncable/mutable_entry.cc', 129 'syncable/mutable_entry.h', 130 'syncable/nigori_handler.cc', 131 'syncable/nigori_handler.h', 132 'syncable/nigori_util.cc', 133 'syncable/nigori_util.h', 134 'syncable/on_disk_directory_backing_store.cc', 135 'syncable/on_disk_directory_backing_store.h', 136 'syncable/parent_child_index.cc', 137 'syncable/parent_child_index.h', 138 'syncable/scoped_kernel_lock.cc', 139 'syncable/scoped_kernel_lock.h', 140 'syncable/scoped_parent_child_index_updater.cc', 141 'syncable/scoped_parent_child_index_updater.h', 142 'syncable/syncable-inl.h', 143 'syncable/syncable_base_transaction.cc', 144 'syncable/syncable_base_transaction.h', 145 'syncable/syncable_base_write_transaction.cc', 146 'syncable/syncable_base_write_transaction.h', 147 'syncable/syncable_changes_version.h', 148 'syncable/syncable_columns.h', 149 'syncable/syncable_delete_journal.cc', 150 'syncable/syncable_delete_journal.h', 151 'syncable/syncable_enum_conversions.cc', 152 'syncable/syncable_enum_conversions.h', 153 'syncable/syncable_id.cc', 154 'syncable/syncable_id.h', 155 'syncable/syncable_model_neutral_write_transaction.cc', 156 'syncable/syncable_model_neutral_write_transaction.h', 157 'syncable/syncable_proto_util.cc', 158 'syncable/syncable_proto_util.h', 159 'syncable/syncable_read_transaction.cc', 160 'syncable/syncable_read_transaction.h', 161 'syncable/syncable_util.cc', 162 'syncable/syncable_util.h', 163 'syncable/syncable_write_transaction.cc', 164 'syncable/syncable_write_transaction.h', 165 'syncable/transaction_observer.h', 166 'syncable/write_transaction_info.cc', 167 'syncable/write_transaction_info.h', 168 'util/cryptographer.cc', 169 'util/cryptographer.h', 170 'util/data_type_histogram.h', 171 'util/encryptor.h', 172 'util/extensions_activity.cc', 173 'util/extensions_activity.h', 174 'util/get_session_name.cc', 175 'util/get_session_name.h', 176 'util/get_session_name_ios.mm', 177 'util/get_session_name_ios.h', 178 'util/get_session_name_linux.cc', 179 'util/get_session_name_linux.h', 180 'util/get_session_name_mac.mm', 181 'util/get_session_name_mac.h', 182 'util/get_session_name_win.cc', 183 'util/get_session_name_win.h', 184 'util/logging.cc', 185 'util/logging.h', 186 'util/nigori.cc', 187 'util/nigori.h', 188 'util/time.cc', 189 'util/time.h', 190 ], 191 } 192