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