Mojo cpp bindings: fix |num_fields| in struct header of *Params_Data.
[chromium-blink-merge.git] / sync / sync_core.gypi
blob074ddd42a0f494c61c61e806710f510343536f9d
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/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/net/server_connection_manager.cc',
64     'engine/net/server_connection_manager.h',
65     'engine/net/url_translator.cc',
66     'engine/net/url_translator.h',
67     'engine/non_blocking_type_processor.cc',
68     'engine/non_blocking_type_processor.h',
69     'engine/non_blocking_type_processor_core.cc',
70     'engine/non_blocking_type_processor_core.h',
71     'engine/nudge_source.cc',
72     'engine/nudge_source.h',
73     'engine/process_updates_util.cc',
74     'engine/process_updates_util.h',
75     'engine/sync_cycle_event.cc',
76     'engine/sync_cycle_event.h',
77     'engine/sync_engine_event_listener.cc',
78     'engine/sync_engine_event_listener.h',
79     'engine/sync_scheduler.cc',
80     'engine/sync_scheduler.h',
81     'engine/sync_scheduler_impl.cc',
82     'engine/sync_scheduler_impl.h',
83     'engine/syncer.cc',
84     'engine/syncer.h',
85     'engine/syncer_proto_util.cc',
86     'engine/syncer_proto_util.h',
87     'engine/syncer_types.h',
88     'engine/syncer_util.cc',
89     'engine/syncer_util.h',
90     'engine/traffic_logger.cc',
91     'engine/traffic_logger.h',
92     'engine/update_applicator.cc',
93     'engine/update_applicator.h',
94     'engine/update_handler.cc',
95     'engine/update_handler.h',
96     'js/js_backend.h',
97     'js/js_controller.h',
98     'js/js_event_details.cc',
99     'js/js_event_details.h',
100     'js/js_event_handler.h',
101     'js/sync_js_controller.cc',
102     'js/sync_js_controller.h',
103     'protocol/proto_enum_conversions.cc',
104     'protocol/proto_enum_conversions.h',
105     'protocol/proto_value_conversions.cc',
106     'protocol/proto_value_conversions.h',
107     'protocol/sync_protocol_error.cc',
108     'protocol/sync_protocol_error.h',
109     'sessions/data_type_tracker.cc',
110     'sessions/data_type_tracker.h',
111     'sessions/debug_info_getter.h',
112     'sessions/directory_type_debug_info_emitter.cc',
113     'sessions/directory_type_debug_info_emitter.h',
114     'sessions/model_type_registry.cc',
115     'sessions/model_type_registry.h',
116     'sessions/nudge_tracker.cc',
117     'sessions/nudge_tracker.h',
118     'sessions/status_controller.cc',
119     'sessions/status_controller.h',
120     'sessions/sync_session.cc',
121     'sessions/sync_session.h',
122     'sessions/sync_session_context.cc',
123     'sessions/sync_session_context.h',
124     'syncable/blob.h',
125     'syncable/dir_open_result.h',
126     'syncable/directory.cc',
127     'syncable/directory.h',
128     'syncable/directory_backing_store.cc',
129     'syncable/directory_backing_store.h',
130     'syncable/directory_change_delegate.h',
131     'syncable/entry.cc',
132     'syncable/entry.h',
133     'syncable/entry_kernel.cc',
134     'syncable/entry_kernel.h',
135     'syncable/in_memory_directory_backing_store.cc',
136     'syncable/in_memory_directory_backing_store.h',
137     'syncable/invalid_directory_backing_store.cc',
138     'syncable/invalid_directory_backing_store.h',
139     'syncable/metahandle_set.h',
140     'syncable/model_neutral_mutable_entry.cc',
141     'syncable/model_neutral_mutable_entry.h',
142     'syncable/model_type.cc',
143     'syncable/mutable_entry.cc',
144     'syncable/mutable_entry.h',
145     'syncable/nigori_handler.cc',
146     'syncable/nigori_handler.h',
147     'syncable/nigori_util.cc',
148     'syncable/nigori_util.h',
149     'syncable/on_disk_directory_backing_store.cc',
150     'syncable/on_disk_directory_backing_store.h',
151     'syncable/parent_child_index.cc',
152     'syncable/parent_child_index.h',
153     'syncable/scoped_kernel_lock.cc',
154     'syncable/scoped_kernel_lock.h',
155     'syncable/scoped_parent_child_index_updater.cc',
156     'syncable/scoped_parent_child_index_updater.h',
157     'syncable/syncable-inl.h',
158     'syncable/syncable_base_transaction.cc',
159     'syncable/syncable_base_transaction.h',
160     'syncable/syncable_base_write_transaction.cc',
161     'syncable/syncable_base_write_transaction.h',
162     'syncable/syncable_changes_version.h',
163     'syncable/syncable_columns.h',
164     'syncable/syncable_delete_journal.cc',
165     'syncable/syncable_delete_journal.h',
166     'syncable/syncable_enum_conversions.cc',
167     'syncable/syncable_enum_conversions.h',
168     'syncable/syncable_id.cc',
169     'syncable/syncable_id.h',
170     'syncable/syncable_model_neutral_write_transaction.cc',
171     'syncable/syncable_model_neutral_write_transaction.h',
172     'syncable/syncable_proto_util.cc',
173     'syncable/syncable_proto_util.h',
174     'syncable/syncable_read_transaction.cc',
175     'syncable/syncable_read_transaction.h',
176     'syncable/syncable_util.cc',
177     'syncable/syncable_util.h',
178     'syncable/syncable_write_transaction.cc',
179     'syncable/syncable_write_transaction.h',
180     'syncable/transaction_observer.h',
181     'syncable/write_transaction_info.cc',
182     'syncable/write_transaction_info.h',
183     'util/cryptographer.cc',
184     'util/cryptographer.h',
185     'util/data_type_histogram.h',
186     'util/encryptor.h',
187     'util/extensions_activity.cc',
188     'util/extensions_activity.h',
189     'util/get_session_name.cc',
190     'util/get_session_name.h',
191     'util/get_session_name_ios.h',
192     'util/get_session_name_ios.mm',
193     'util/get_session_name_linux.cc',
194     'util/get_session_name_linux.h',
195     'util/get_session_name_mac.h',
196     'util/get_session_name_mac.mm',
197     'util/get_session_name_win.cc',
198     'util/get_session_name_win.h',
199     'util/logging.cc',
200     'util/logging.h',
201     'util/nigori.cc',
202     'util/nigori.h',
203     'util/time.cc',
204     'util/time.h',
205   ],