Fix the ScreenToDIPPoint function on Windows high DPI.
[chromium-blink-merge.git] / sync / sync_core.gypi
blobe7019a013ff5fc71cc7f00ca1188cebf3280b4c6
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/directory_type_debug_info_emitter.cc',
58     'engine/directory_type_debug_info_emitter.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/net/server_connection_manager.cc',
66     'engine/net/server_connection_manager.h',
67     'engine/net/url_translator.cc',
68     'engine/net/url_translator.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/syncer.cc',
80     'engine/syncer.h',
81     'engine/syncer_proto_util.cc',
82     'engine/syncer_proto_util.h',
83     'engine/syncer_types.h',
84     'engine/syncer_util.cc',
85     'engine/syncer_util.h',
86     'engine/sync_scheduler.cc',
87     'engine/sync_scheduler.h',
88     'engine/sync_scheduler_impl.cc',
89     'engine/sync_scheduler_impl.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/model_type_registry.cc',
113     'sessions/model_type_registry.h',
114     'sessions/nudge_tracker.cc',
115     'sessions/nudge_tracker.h',
116     'sessions/status_controller.cc',
117     'sessions/status_controller.h',
118     'sessions/sync_session.cc',
119     'sessions/sync_session.h',
120     'sessions/sync_session_context.cc',
121     'sessions/sync_session_context.h',
122     'syncable/blob.h',
123     'syncable/dir_open_result.h',
124     'syncable/directory.cc',
125     'syncable/directory.h',
126     'syncable/directory_backing_store.cc',
127     'syncable/directory_backing_store.h',
128     'syncable/directory_change_delegate.h',
129     'syncable/entry.cc',
130     'syncable/entry.h',
131     'syncable/entry_kernel.cc',
132     'syncable/entry_kernel.h',
133     'syncable/in_memory_directory_backing_store.cc',
134     'syncable/in_memory_directory_backing_store.h',
135     'syncable/invalid_directory_backing_store.cc',
136     'syncable/invalid_directory_backing_store.h',
137     'syncable/metahandle_set.h',
138     'syncable/model_neutral_mutable_entry.cc',
139     'syncable/model_neutral_mutable_entry.h',
140     'syncable/model_type.cc',
141     'syncable/mutable_entry.cc',
142     'syncable/mutable_entry.h',
143     'syncable/nigori_handler.cc',
144     'syncable/nigori_handler.h',
145     'syncable/nigori_util.cc',
146     'syncable/nigori_util.h',
147     'syncable/on_disk_directory_backing_store.cc',
148     'syncable/on_disk_directory_backing_store.h',
149     'syncable/parent_child_index.cc',
150     'syncable/parent_child_index.h',
151     'syncable/scoped_kernel_lock.cc',
152     'syncable/scoped_kernel_lock.h',
153     'syncable/scoped_parent_child_index_updater.cc',
154     'syncable/scoped_parent_child_index_updater.h',
155     'syncable/syncable-inl.h',
156     'syncable/syncable_base_transaction.cc',
157     'syncable/syncable_base_transaction.h',
158     'syncable/syncable_base_write_transaction.cc',
159     'syncable/syncable_base_write_transaction.h',
160     'syncable/syncable_changes_version.h',
161     'syncable/syncable_columns.h',
162     'syncable/syncable_delete_journal.cc',
163     'syncable/syncable_delete_journal.h',
164     'syncable/syncable_enum_conversions.cc',
165     'syncable/syncable_enum_conversions.h',
166     'syncable/syncable_id.cc',
167     'syncable/syncable_id.h',
168     'syncable/syncable_model_neutral_write_transaction.cc',
169     'syncable/syncable_model_neutral_write_transaction.h',
170     'syncable/syncable_proto_util.cc',
171     'syncable/syncable_proto_util.h',
172     'syncable/syncable_read_transaction.cc',
173     'syncable/syncable_read_transaction.h',
174     'syncable/syncable_util.cc',
175     'syncable/syncable_util.h',
176     'syncable/syncable_write_transaction.cc',
177     'syncable/syncable_write_transaction.h',
178     'syncable/transaction_observer.h',
179     'syncable/write_transaction_info.cc',
180     'syncable/write_transaction_info.h',
181     'util/cryptographer.cc',
182     'util/cryptographer.h',
183     'util/data_type_histogram.h',
184     'util/encryptor.h',
185     'util/extensions_activity.cc',
186     'util/extensions_activity.h',
187     'util/get_session_name.cc',
188     'util/get_session_name.h',
189     'util/get_session_name_ios.mm',
190     'util/get_session_name_ios.h',
191     'util/get_session_name_linux.cc',
192     'util/get_session_name_linux.h',
193     'util/get_session_name_mac.mm',
194     'util/get_session_name_mac.h',
195     'util/get_session_name_win.cc',
196     'util/get_session_name_win.h',
197     'util/logging.cc',
198     'util/logging.h',
199     'util/nigori.cc',
200     'util/nigori.h',
201     'util/time.cc',
202     'util/time.h',
203   ],