Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / sync / sync_core.gypi
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_processor.cc',
40     'engine/commit_processor.h',
41     'engine/commit_util.cc',
42     'engine/commit_util.h',
43     'engine/conflict_resolver.cc',
44     'engine/conflict_resolver.h',
45     'engine/conflict_util.cc',
46     'engine/conflict_util.h',
47     'engine/download.cc',
48     'engine/download.h',
49     'engine/get_commit_ids.cc',
50     'engine/get_commit_ids.h',
51     'engine/get_updates_delegate.cc',
52     'engine/get_updates_delegate.h',
53     'engine/get_updates_processor.cc',
54     'engine/get_updates_processor.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_cycle_event.cc',
64     'engine/sync_cycle_event.h',
65     'engine/sync_directory_commit_contribution.cc',
66     'engine/sync_directory_commit_contribution.h',
67     'engine/sync_directory_commit_contributor.cc',
68     'engine/sync_directory_commit_contributor.h',
69     'engine/sync_directory_update_handler.cc',
70     'engine/sync_directory_update_handler.h',
71     'engine/sync_engine_event_listener.cc',
72     'engine/sync_engine_event_listener.h',
73     'engine/sync_scheduler.cc',
74     'engine/sync_scheduler.h',
75     'engine/sync_scheduler_impl.cc',
76     'engine/sync_scheduler_impl.h',
77     'engine/syncer.cc',
78     'engine/syncer.h',
79     'engine/syncer_proto_util.cc',
80     'engine/syncer_proto_util.h',
81     'engine/syncer_types.h',
82     'engine/syncer_util.cc',
83     'engine/syncer_util.h',
84     'engine/traffic_logger.cc',
85     'engine/traffic_logger.h',
86     'engine/traffic_recorder.cc',
87     'engine/traffic_recorder.h',
88     'engine/update_applicator.cc',
89     'engine/update_applicator.h',
90     'js/js_arg_list.cc',
91     'js/js_arg_list.h',
92     'js/js_backend.h',
93     'js/js_controller.h',
94     'js/js_event_details.cc',
95     'js/js_event_details.h',
96     'js/js_event_handler.h',
97     'js/js_reply_handler.h',
98     'js/sync_js_controller.cc',
99     'js/sync_js_controller.h',
100     'protocol/proto_enum_conversions.cc',
101     'protocol/proto_enum_conversions.h',
102     'protocol/proto_value_conversions.cc',
103     'protocol/proto_value_conversions.h',
104     'protocol/sync_protocol_error.cc',
105     'protocol/sync_protocol_error.h',
106     'sessions/data_type_tracker.cc',
107     'sessions/data_type_tracker.h',
108     'sessions/debug_info_getter.h',
109     'sessions/model_type_registry.cc',
110     'sessions/model_type_registry.h',
111     'sessions/nudge_tracker.cc',
112     'sessions/nudge_tracker.h',
113     'sessions/status_controller.cc',
114     'sessions/status_controller.h',
115     'sessions/sync_session.cc',
116     'sessions/sync_session.h',
117     'sessions/sync_session_context.cc',
118     'sessions/sync_session_context.h',
119     'syncable/blob.h',
120     'syncable/dir_open_result.h',
121     'syncable/directory.cc',
122     'syncable/directory.h',
123     'syncable/directory_backing_store.cc',
124     'syncable/directory_backing_store.h',
125     'syncable/directory_change_delegate.h',
126     'syncable/entry.cc',
127     'syncable/entry.h',
128     'syncable/entry_kernel.cc',
129     'syncable/entry_kernel.h',
130     'syncable/in_memory_directory_backing_store.cc',
131     'syncable/in_memory_directory_backing_store.h',
132     'syncable/invalid_directory_backing_store.cc',
133     'syncable/invalid_directory_backing_store.h',
134     'syncable/metahandle_set.h',
135     'syncable/model_neutral_mutable_entry.cc',
136     'syncable/model_neutral_mutable_entry.h',
137     'syncable/model_type.cc',
138     'syncable/mutable_entry.cc',
139     'syncable/mutable_entry.h',
140     'syncable/nigori_handler.cc',
141     'syncable/nigori_handler.h',
142     'syncable/nigori_util.cc',
143     'syncable/nigori_util.h',
144     'syncable/on_disk_directory_backing_store.cc',
145     'syncable/on_disk_directory_backing_store.h',
146     'syncable/parent_child_index.cc',
147     'syncable/parent_child_index.h',
148     'syncable/scoped_kernel_lock.cc',
149     'syncable/scoped_kernel_lock.h',
150     'syncable/scoped_parent_child_index_updater.cc',
151     'syncable/scoped_parent_child_index_updater.h',
152     'syncable/syncable-inl.h',
153     'syncable/syncable_base_transaction.cc',
154     'syncable/syncable_base_transaction.h',
155     'syncable/syncable_base_write_transaction.cc',
156     'syncable/syncable_base_write_transaction.h',
157     'syncable/syncable_changes_version.h',
158     'syncable/syncable_columns.h',
159     'syncable/syncable_delete_journal.cc',
160     'syncable/syncable_delete_journal.h',
161     'syncable/syncable_enum_conversions.cc',
162     'syncable/syncable_enum_conversions.h',
163     'syncable/syncable_id.cc',
164     'syncable/syncable_id.h',
165     'syncable/syncable_model_neutral_write_transaction.cc',
166     'syncable/syncable_model_neutral_write_transaction.h',
167     'syncable/syncable_proto_util.cc',
168     'syncable/syncable_proto_util.h',
169     'syncable/syncable_read_transaction.cc',
170     'syncable/syncable_read_transaction.h',
171     'syncable/syncable_util.cc',
172     'syncable/syncable_util.h',
173     'syncable/syncable_write_transaction.cc',
174     'syncable/syncable_write_transaction.h',
175     'syncable/transaction_observer.h',
176     'syncable/write_transaction_info.cc',
177     'syncable/write_transaction_info.h',
178     'util/cryptographer.cc',
179     'util/cryptographer.h',
180     'util/data_type_histogram.h',
181     'util/encryptor.h',
182     'util/extensions_activity.cc',
183     'util/extensions_activity.h',
184     'util/get_session_name.cc',
185     'util/get_session_name.h',
186     'util/get_session_name_ios.mm',
187     'util/get_session_name_ios.h',
188     'util/get_session_name_linux.cc',
189     'util/get_session_name_linux.h',
190     'util/get_session_name_mac.mm',
191     'util/get_session_name_mac.h',
192     'util/get_session_name_win.cc',
193     'util/get_session_name_win.h',
194     'util/logging.cc',
195     'util/logging.h',
196     'util/nigori.cc',
197     'util/nigori.h',
198     'util/time.cc',
199     'util/time.h',
200   ],
201 }