Do not assume that the orientation is PORTRAIT by default.
[chromium-blink-merge.git] / sync / sync_core.gypi
blobe9731105bcbca017520330327f6f6c7bd35c477a
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/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/nudge_source.cc',
68     'engine/nudge_source.h',
69     'engine/process_updates_util.cc',
70     'engine/process_updates_util.h',
71     'engine/sync_cycle_event.cc',
72     'engine/sync_cycle_event.h',
73     'engine/sync_engine_event_listener.cc',
74     'engine/sync_engine_event_listener.h',
75     'engine/syncer.cc',
76     'engine/syncer.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/sync_scheduler.cc',
83     'engine/sync_scheduler.h',
84     'engine/sync_scheduler_impl.cc',
85     'engine/sync_scheduler_impl.h',
86     'engine/traffic_logger.cc',
87     'engine/traffic_logger.h',
88     'engine/traffic_recorder.cc',
89     'engine/traffic_recorder.h',
90     'engine/update_applicator.cc',
91     'engine/update_applicator.h',
92     'engine/update_handler.cc',
93     'engine/update_handler.h',
94     'js/js_arg_list.cc',
95     'js/js_arg_list.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/js_reply_handler.h',
102     'js/sync_js_controller.cc',
103     'js/sync_js_controller.h',
104     'protocol/proto_enum_conversions.cc',
105     'protocol/proto_enum_conversions.h',
106     'protocol/proto_value_conversions.cc',
107     'protocol/proto_value_conversions.h',
108     'protocol/sync_protocol_error.cc',
109     'protocol/sync_protocol_error.h',
110     'sessions/data_type_tracker.cc',
111     'sessions/data_type_tracker.h',
112     'sessions/debug_info_getter.h',
113     'sessions/model_type_registry.cc',
114     'sessions/model_type_registry.h',
115     'sessions/nudge_tracker.cc',
116     'sessions/nudge_tracker.h',
117     'sessions/status_controller.cc',
118     'sessions/status_controller.h',
119     'sessions/sync_session.cc',
120     'sessions/sync_session.h',
121     'sessions/sync_session_context.cc',
122     'sessions/sync_session_context.h',
123     'syncable/blob.h',
124     'syncable/dir_open_result.h',
125     'syncable/directory.cc',
126     'syncable/directory.h',
127     'syncable/directory_backing_store.cc',
128     'syncable/directory_backing_store.h',
129     'syncable/directory_change_delegate.h',
130     'syncable/entry.cc',
131     'syncable/entry.h',
132     'syncable/entry_kernel.cc',
133     'syncable/entry_kernel.h',
134     'syncable/in_memory_directory_backing_store.cc',
135     'syncable/in_memory_directory_backing_store.h',
136     'syncable/invalid_directory_backing_store.cc',
137     'syncable/invalid_directory_backing_store.h',
138     'syncable/metahandle_set.h',
139     'syncable/model_neutral_mutable_entry.cc',
140     'syncable/model_neutral_mutable_entry.h',
141     'syncable/model_type.cc',
142     'syncable/mutable_entry.cc',
143     'syncable/mutable_entry.h',
144     'syncable/nigori_handler.cc',
145     'syncable/nigori_handler.h',
146     'syncable/nigori_util.cc',
147     'syncable/nigori_util.h',
148     'syncable/on_disk_directory_backing_store.cc',
149     'syncable/on_disk_directory_backing_store.h',
150     'syncable/parent_child_index.cc',
151     'syncable/parent_child_index.h',
152     'syncable/scoped_kernel_lock.cc',
153     'syncable/scoped_kernel_lock.h',
154     'syncable/scoped_parent_child_index_updater.cc',
155     'syncable/scoped_parent_child_index_updater.h',
156     'syncable/syncable-inl.h',
157     'syncable/syncable_base_transaction.cc',
158     'syncable/syncable_base_transaction.h',
159     'syncable/syncable_base_write_transaction.cc',
160     'syncable/syncable_base_write_transaction.h',
161     'syncable/syncable_changes_version.h',
162     'syncable/syncable_columns.h',
163     'syncable/syncable_delete_journal.cc',
164     'syncable/syncable_delete_journal.h',
165     'syncable/syncable_enum_conversions.cc',
166     'syncable/syncable_enum_conversions.h',
167     'syncable/syncable_id.cc',
168     'syncable/syncable_id.h',
169     'syncable/syncable_model_neutral_write_transaction.cc',
170     'syncable/syncable_model_neutral_write_transaction.h',
171     'syncable/syncable_proto_util.cc',
172     'syncable/syncable_proto_util.h',
173     'syncable/syncable_read_transaction.cc',
174     'syncable/syncable_read_transaction.h',
175     'syncable/syncable_util.cc',
176     'syncable/syncable_util.h',
177     'syncable/syncable_write_transaction.cc',
178     'syncable/syncable_write_transaction.h',
179     'syncable/transaction_observer.h',
180     'syncable/write_transaction_info.cc',
181     'syncable/write_transaction_info.h',
182     'util/cryptographer.cc',
183     'util/cryptographer.h',
184     'util/data_type_histogram.h',
185     'util/encryptor.h',
186     'util/extensions_activity.cc',
187     'util/extensions_activity.h',
188     'util/get_session_name.cc',
189     'util/get_session_name.h',
190     'util/get_session_name_ios.mm',
191     'util/get_session_name_ios.h',
192     'util/get_session_name_linux.cc',
193     'util/get_session_name_linux.h',
194     'util/get_session_name_mac.mm',
195     'util/get_session_name_mac.h',
196     'util/get_session_name_win.cc',
197     'util/get_session_name_win.h',
198     'util/logging.cc',
199     'util/logging.h',
200     'util/nigori.cc',
201     'util/nigori.h',
202     'util/time.cc',
203     'util/time.h',
204   ],