Make sure account reconcilor only works for connected profiles.
[chromium-blink-merge.git] / sync / sync_core.gypi
blob0d5cca740cdb8ca50f30390aaa72794ff83ea664
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.
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/apply_updates_and_resolve_conflicts_command.cc',
36     'engine/apply_updates_and_resolve_conflicts_command.h',
37     'engine/backoff_delay_provider.cc',
38     'engine/backoff_delay_provider.h',
39     'engine/commit_util.cc',
40     'engine/commit_util.h',
41     'engine/commit.cc',
42     'engine/commit.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/model_changing_syncer_command.cc',
56     'engine/model_changing_syncer_command.h',
57     'engine/net/server_connection_manager.cc',
58     'engine/net/server_connection_manager.h',
59     'engine/net/url_translator.cc',
60     'engine/net/url_translator.h',
61     'engine/nudge_source.cc',
62     'engine/nudge_source.h',
63     'engine/process_updates_command.cc',
64     'engine/process_updates_command.h',
65     'engine/store_timestamps_command.cc',
66     'engine/store_timestamps_command.h',
67     'engine/sync_engine_event.cc',
68     'engine/sync_engine_event.h',
69     'engine/sync_scheduler.cc',
70     'engine/sync_scheduler.h',
71     'engine/sync_scheduler_impl.cc',
72     'engine/sync_scheduler_impl.h',
73     'engine/syncer.cc',
74     'engine/syncer.h',
75     'engine/syncer_command.cc',
76     'engine/syncer_command.h',
77     'engine/syncer_proto_util.cc',
78     'engine/syncer_proto_util.h',
79     'engine/syncer_types.h',
80     'engine/syncer_util.cc',
81     'engine/syncer_util.h',
82     'engine/traffic_logger.cc',
83     'engine/traffic_logger.h',
84     'engine/traffic_recorder.cc',
85     'engine/traffic_recorder.h',
86     'engine/update_applicator.cc',
87     'engine/update_applicator.h',
88     'js/js_arg_list.cc',
89     'js/js_arg_list.h',
90     'js/js_backend.h',
91     'js/js_controller.h',
92     'js/js_event_details.cc',
93     'js/js_event_details.h',
94     'js/js_event_handler.h',
95     'js/js_reply_handler.h',
96     'js/sync_js_controller.cc',
97     'js/sync_js_controller.h',
98     'protocol/proto_enum_conversions.cc',
99     'protocol/proto_enum_conversions.h',
100     'protocol/proto_value_conversions.cc',
101     'protocol/proto_value_conversions.h',
102     'protocol/sync_protocol_error.cc',
103     'protocol/sync_protocol_error.h',
104     'sessions/data_type_tracker.cc',
105     'sessions/data_type_tracker.h',
106     'sessions/debug_info_getter.h',
107     'sessions/nudge_tracker.cc',
108     'sessions/nudge_tracker.h',
109     'sessions/status_controller.cc',
110     'sessions/status_controller.h',
111     'sessions/sync_session.cc',
112     'sessions/sync_session.h',
113     'sessions/sync_session_context.cc',
114     'sessions/sync_session_context.h',
115     'syncable/blob.h',
116     'syncable/dir_open_result.h',
117     'syncable/directory.cc',
118     'syncable/directory.h',
119     'syncable/directory_backing_store.cc',
120     'syncable/directory_backing_store.h',
121     'syncable/directory_change_delegate.h',
122     'syncable/entry.cc',
123     'syncable/entry.h',
124     'syncable/entry_kernel.cc',
125     'syncable/entry_kernel.h',
126     'syncable/in_memory_directory_backing_store.cc',
127     'syncable/in_memory_directory_backing_store.h',
128     'syncable/invalid_directory_backing_store.cc',
129     'syncable/invalid_directory_backing_store.h',
130     'syncable/metahandle_set.h',
131     'syncable/model_neutral_mutable_entry.cc',
132     'syncable/model_neutral_mutable_entry.h',
133     'syncable/model_type.cc',
134     'syncable/mutable_entry.cc',
135     'syncable/mutable_entry.h',
136     'syncable/nigori_handler.cc',
137     'syncable/nigori_handler.h',
138     'syncable/nigori_util.cc',
139     'syncable/nigori_util.h',
140     'syncable/on_disk_directory_backing_store.cc',
141     'syncable/on_disk_directory_backing_store.h',
142     'syncable/parent_child_index.cc',
143     'syncable/parent_child_index.h',
144     'syncable/scoped_kernel_lock.cc',
145     'syncable/scoped_kernel_lock.h',
146     'syncable/scoped_parent_child_index_updater.cc',
147     'syncable/scoped_parent_child_index_updater.h',
148     'syncable/syncable-inl.h',
149     'syncable/syncable_base_transaction.cc',
150     'syncable/syncable_base_transaction.h',
151     'syncable/syncable_base_write_transaction.cc',
152     'syncable/syncable_base_write_transaction.h',
153     'syncable/syncable_changes_version.h',
154     'syncable/syncable_columns.h',
155     'syncable/syncable_delete_journal.cc',
156     'syncable/syncable_delete_journal.h',
157     'syncable/syncable_enum_conversions.cc',
158     'syncable/syncable_enum_conversions.h',
159     'syncable/syncable_id.cc',
160     'syncable/syncable_id.h',
161     'syncable/syncable_model_neutral_write_transaction.cc',
162     'syncable/syncable_model_neutral_write_transaction.h',
163     'syncable/syncable_proto_util.cc',
164     'syncable/syncable_proto_util.h',
165     'syncable/syncable_read_transaction.cc',
166     'syncable/syncable_read_transaction.h',
167     'syncable/syncable_util.cc',
168     'syncable/syncable_util.h',
169     'syncable/syncable_write_transaction.cc',
170     'syncable/syncable_write_transaction.h',
171     'syncable/transaction_observer.h',
172     'syncable/write_transaction_info.cc',
173     'syncable/write_transaction_info.h',
174     'util/cryptographer.cc',
175     'util/cryptographer.h',
176     'util/data_type_histogram.h',
177     'util/encryptor.h',
178     'util/extensions_activity.cc',
179     'util/extensions_activity.h',
180     'util/get_session_name.cc',
181     'util/get_session_name.h',
182     'util/get_session_name_ios.mm',
183     'util/get_session_name_ios.h',
184     'util/get_session_name_linux.cc',
185     'util/get_session_name_linux.h',
186     'util/get_session_name_mac.mm',
187     'util/get_session_name_mac.h',
188     'util/get_session_name_win.cc',
189     'util/get_session_name_win.h',
190     'util/logging.cc',
191     'util/logging.h',
192     'util/nigori.cc',
193     'util/nigori.h',
194     'util/time.cc',
195     'util/time.h',
196   ],