Home | History | Annotate | Download | only in sync
      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.cc',
     38     'engine/commit.h',
     39     'engine/commit_contribution.cc',
     40     'engine/commit_contribution.h',
     41     'engine/commit_contributor.cc',
     42     'engine/commit_contributor.h',
     43     'engine/commit_processor.cc',
     44     'engine/commit_processor.h',
     45     'engine/commit_util.cc',
     46     'engine/commit_util.h',
     47     'engine/conflict_resolver.cc',
     48     'engine/conflict_resolver.h',
     49     'engine/conflict_util.cc',
     50     'engine/conflict_util.h',
     51     'engine/directory_commit_contribution.cc',
     52     'engine/directory_commit_contribution.h',
     53     'engine/directory_commit_contributor.cc',
     54     'engine/directory_commit_contributor.h',
     55     'engine/directory_update_handler.cc',
     56     'engine/directory_update_handler.h',
     57     'engine/get_commit_ids.cc',
     58     'engine/get_commit_ids.h',
     59     'engine/get_updates_delegate.cc',
     60     'engine/get_updates_delegate.h',
     61     'engine/get_updates_processor.cc',
     62     'engine/get_updates_processor.h',
     63     'engine/model_thread_sync_entity.cc',
     64     'engine/model_thread_sync_entity.h',
     65     'engine/net/server_connection_manager.cc',
     66     'engine/net/server_connection_manager.h',
     67     'engine/net/url_translator.cc',
     68     'engine/net/url_translator.h',
     69     'engine/non_blocking_sync_common.cc',
     70     'engine/non_blocking_sync_common.h',
     71     'engine/non_blocking_type_commit_contribution.cc',
     72     'engine/non_blocking_type_commit_contribution.h',
     73     'engine/non_blocking_type_processor.cc',
     74     'engine/non_blocking_type_processor.h',
     75     'engine/non_blocking_type_processor_core.cc',
     76     'engine/non_blocking_type_processor_core.h',
     77     'engine/non_blocking_type_processor_core_interface.cc',
     78     'engine/non_blocking_type_processor_core_interface.h',
     79     'engine/non_blocking_type_processor_interface.cc',
     80     'engine/non_blocking_type_processor_interface.h',
     81     'engine/nudge_source.cc',
     82     'engine/nudge_source.h',
     83     'engine/process_updates_util.cc',
     84     'engine/process_updates_util.h',
     85     'engine/sync_cycle_event.cc',
     86     'engine/sync_cycle_event.h',
     87     'engine/sync_engine_event_listener.cc',
     88     'engine/sync_engine_event_listener.h',
     89     'engine/sync_scheduler.cc',
     90     'engine/sync_scheduler.h',
     91     'engine/sync_scheduler_impl.cc',
     92     'engine/sync_scheduler_impl.h',
     93     'engine/sync_thread_sync_entity.cc',
     94     'engine/sync_thread_sync_entity.h',
     95     'engine/syncer.cc',
     96     'engine/syncer.h',
     97     'engine/syncer_proto_util.cc',
     98     'engine/syncer_proto_util.h',
     99     'engine/syncer_types.h',
    100     'engine/syncer_util.cc',
    101     'engine/syncer_util.h',
    102     'engine/traffic_logger.cc',
    103     'engine/traffic_logger.h',
    104     'engine/update_applicator.cc',
    105     'engine/update_applicator.h',
    106     'engine/update_handler.cc',
    107     'engine/update_handler.h',
    108     'js/js_backend.h',
    109     'js/js_controller.h',
    110     'js/js_event_details.cc',
    111     'js/js_event_details.h',
    112     'js/js_event_handler.h',
    113     'js/sync_js_controller.cc',
    114     'js/sync_js_controller.h',
    115     'protocol/proto_enum_conversions.cc',
    116     'protocol/proto_enum_conversions.h',
    117     'protocol/proto_value_conversions.cc',
    118     'protocol/proto_value_conversions.h',
    119     'protocol/sync_protocol_error.cc',
    120     'protocol/sync_protocol_error.h',
    121     'sessions/data_type_tracker.cc',
    122     'sessions/data_type_tracker.h',
    123     'sessions/debug_info_getter.h',
    124     'sessions/directory_type_debug_info_emitter.cc',
    125     'sessions/directory_type_debug_info_emitter.h',
    126     'sessions/model_type_registry.cc',
    127     'sessions/model_type_registry.h',
    128     'sessions/nudge_tracker.cc',
    129     'sessions/nudge_tracker.h',
    130     'sessions/status_controller.cc',
    131     'sessions/status_controller.h',
    132     'sessions/sync_session.cc',
    133     'sessions/sync_session.h',
    134     'sessions/sync_session_context.cc',
    135     'sessions/sync_session_context.h',
    136     'syncable/blob.h',
    137     'syncable/dir_open_result.h',
    138     'syncable/directory.cc',
    139     'syncable/directory.h',
    140     'syncable/directory_backing_store.cc',
    141     'syncable/directory_backing_store.h',
    142     'syncable/directory_change_delegate.h',
    143     'syncable/entry.cc',
    144     'syncable/entry.h',
    145     'syncable/entry_kernel.cc',
    146     'syncable/entry_kernel.h',
    147     'syncable/in_memory_directory_backing_store.cc',
    148     'syncable/in_memory_directory_backing_store.h',
    149     'syncable/invalid_directory_backing_store.cc',
    150     'syncable/invalid_directory_backing_store.h',
    151     'syncable/metahandle_set.h',
    152     'syncable/model_neutral_mutable_entry.cc',
    153     'syncable/model_neutral_mutable_entry.h',
    154     'syncable/model_type.cc',
    155     'syncable/mutable_entry.cc',
    156     'syncable/mutable_entry.h',
    157     'syncable/nigori_handler.cc',
    158     'syncable/nigori_handler.h',
    159     'syncable/nigori_util.cc',
    160     'syncable/nigori_util.h',
    161     'syncable/on_disk_directory_backing_store.cc',
    162     'syncable/on_disk_directory_backing_store.h',
    163     'syncable/parent_child_index.cc',
    164     'syncable/parent_child_index.h',
    165     'syncable/scoped_kernel_lock.cc',
    166     'syncable/scoped_kernel_lock.h',
    167     'syncable/scoped_parent_child_index_updater.cc',
    168     'syncable/scoped_parent_child_index_updater.h',
    169     'syncable/syncable-inl.h',
    170     'syncable/syncable_base_transaction.cc',
    171     'syncable/syncable_base_transaction.h',
    172     'syncable/syncable_base_write_transaction.cc',
    173     'syncable/syncable_base_write_transaction.h',
    174     'syncable/syncable_changes_version.h',
    175     'syncable/syncable_columns.h',
    176     'syncable/syncable_delete_journal.cc',
    177     'syncable/syncable_delete_journal.h',
    178     'syncable/syncable_enum_conversions.cc',
    179     'syncable/syncable_enum_conversions.h',
    180     'syncable/syncable_id.cc',
    181     'syncable/syncable_id.h',
    182     'syncable/syncable_model_neutral_write_transaction.cc',
    183     'syncable/syncable_model_neutral_write_transaction.h',
    184     'syncable/syncable_proto_util.cc',
    185     'syncable/syncable_proto_util.h',
    186     'syncable/syncable_read_transaction.cc',
    187     'syncable/syncable_read_transaction.h',
    188     'syncable/syncable_util.cc',
    189     'syncable/syncable_util.h',
    190     'syncable/syncable_write_transaction.cc',
    191     'syncable/syncable_write_transaction.h',
    192     'syncable/transaction_observer.h',
    193     'syncable/write_transaction_info.cc',
    194     'syncable/write_transaction_info.h',
    195     'util/cryptographer.cc',
    196     'util/cryptographer.h',
    197     'util/data_type_histogram.h',
    198     'util/encryptor.h',
    199     'util/extensions_activity.cc',
    200     'util/extensions_activity.h',
    201     'util/get_session_name.cc',
    202     'util/get_session_name.h',
    203     'util/get_session_name_ios.h',
    204     'util/get_session_name_ios.mm',
    205     'util/get_session_name_linux.cc',
    206     'util/get_session_name_linux.h',
    207     'util/get_session_name_mac.h',
    208     'util/get_session_name_mac.mm',
    209     'util/get_session_name_win.cc',
    210     'util/get_session_name_win.h',
    211     'util/logging.cc',
    212     'util/logging.h',
    213     'util/nigori.cc',
    214     'util/nigori.h',
    215     'util/time.cc',
    216     'util/time.h',
    217   ],
    218 }
    219