OLD | NEW |
| (Empty) |
1 # Copyright 2014 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 'targets': [ | |
7 { | |
8 # GN version: //components/sync_driver | |
9 'target_name': 'sync_driver', | |
10 'type': 'static_library', | |
11 'dependencies': [ | |
12 '../base/base.gyp:base', | |
13 '../net/net.gyp:net', | |
14 '../components/sync.gyp:sync', | |
15 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | |
16 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | |
17 'data_use_measurement_core', | |
18 'invalidation_public', | |
19 'metrics', | |
20 'os_crypt', | |
21 'signin_core_browser', | |
22 'version_info', | |
23 ], | |
24 'export_dependent_settings': [ | |
25 '../components/sync.gyp:sync', | |
26 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | |
27 ], | |
28 'include_dirs': [ | |
29 '..', | |
30 ], | |
31 'sources': [ | |
32 # Note: file list duplicated in GN build. | |
33 'sync_driver/about_sync_util.cc', | |
34 'sync_driver/about_sync_util.h', | |
35 'sync_driver/backend_data_type_configurer.cc', | |
36 'sync_driver/backend_data_type_configurer.h', | |
37 'sync_driver/backend_migrator.cc', | |
38 'sync_driver/backend_migrator.h', | |
39 'sync_driver/change_processor.cc', | |
40 'sync_driver/change_processor.h', | |
41 'sync_driver/data_type_controller.cc', | |
42 'sync_driver/data_type_controller.h', | |
43 'sync_driver/data_type_encryption_handler.cc', | |
44 'sync_driver/data_type_encryption_handler.h', | |
45 'sync_driver/data_type_manager.cc', | |
46 'sync_driver/data_type_manager.h', | |
47 'sync_driver/data_type_manager_impl.cc', | |
48 'sync_driver/data_type_manager_impl.h', | |
49 'sync_driver/data_type_manager_observer.h', | |
50 'sync_driver/data_type_status_table.cc', | |
51 'sync_driver/data_type_status_table.h', | |
52 'sync_driver/device_count_metrics_provider.cc', | |
53 'sync_driver/device_count_metrics_provider.h', | |
54 'sync_driver/device_info.cc', | |
55 'sync_driver/device_info.h', | |
56 'sync_driver/device_info_data_type_controller.cc', | |
57 'sync_driver/device_info_data_type_controller.h', | |
58 'sync_driver/device_info_service.cc', | |
59 'sync_driver/device_info_service.h', | |
60 'sync_driver/device_info_sync_service.cc', | |
61 'sync_driver/device_info_sync_service.h', | |
62 'sync_driver/device_info_tracker.h', | |
63 'sync_driver/device_info_util.cc', | |
64 'sync_driver/device_info_util.h', | |
65 'sync_driver/directory_data_type_controller.cc', | |
66 'sync_driver/directory_data_type_controller.h', | |
67 'sync_driver/frontend_data_type_controller.cc', | |
68 'sync_driver/frontend_data_type_controller.h', | |
69 'sync_driver/generic_change_processor.cc', | |
70 'sync_driver/generic_change_processor.h', | |
71 'sync_driver/generic_change_processor_factory.cc', | |
72 'sync_driver/generic_change_processor_factory.h', | |
73 'sync_driver/glue/browser_thread_model_worker.cc', | |
74 'sync_driver/glue/browser_thread_model_worker.h', | |
75 'sync_driver/glue/chrome_report_unrecoverable_error.cc', | |
76 'sync_driver/glue/chrome_report_unrecoverable_error.h', | |
77 'sync_driver/glue/sync_backend_host.cc', | |
78 'sync_driver/glue/sync_backend_host.h', | |
79 'sync_driver/glue/sync_backend_host_core.cc', | |
80 'sync_driver/glue/sync_backend_host_core.h', | |
81 'sync_driver/glue/sync_backend_host_impl.cc', | |
82 'sync_driver/glue/sync_backend_host_impl.h', | |
83 'sync_driver/glue/sync_backend_registrar.cc', | |
84 'sync_driver/glue/sync_backend_registrar.h', | |
85 'sync_driver/glue/ui_model_worker.cc', | |
86 'sync_driver/glue/ui_model_worker.h', | |
87 'sync_driver/invalidation_adapter.cc', | |
88 'sync_driver/invalidation_adapter.h', | |
89 'sync_driver/invalidation_helper.cc', | |
90 'sync_driver/invalidation_helper.h', | |
91 'sync_driver/local_device_info_provider.h', | |
92 'sync_driver/local_device_info_provider_impl.cc', | |
93 'sync_driver/local_device_info_provider_impl.h', | |
94 'sync_driver/model_association_manager.cc', | |
95 'sync_driver/model_association_manager.h', | |
96 'sync_driver/model_associator.h', | |
97 'sync_driver/non_blocking_data_type_controller.cc', | |
98 'sync_driver/non_blocking_data_type_controller.h', | |
99 'sync_driver/non_ui_data_type_controller.cc', | |
100 'sync_driver/non_ui_data_type_controller.h', | |
101 'sync_driver/non_ui_model_type_controller.cc', | |
102 'sync_driver/non_ui_model_type_controller.h', | |
103 'sync_driver/pref_names.cc', | |
104 'sync_driver/pref_names.h', | |
105 'sync_driver/profile_sync_auth_provider.cc', | |
106 'sync_driver/profile_sync_auth_provider.h', | |
107 'sync_driver/protocol_event_observer.cc', | |
108 'sync_driver/protocol_event_observer.h', | |
109 'sync_driver/proxy_data_type_controller.cc', | |
110 'sync_driver/proxy_data_type_controller.h', | |
111 'sync_driver/shared_change_processor.cc', | |
112 'sync_driver/shared_change_processor.h', | |
113 'sync_driver/shared_change_processor_ref.cc', | |
114 'sync_driver/shared_change_processor_ref.h', | |
115 'sync_driver/signin_manager_wrapper.cc', | |
116 'sync_driver/signin_manager_wrapper.h', | |
117 'sync_driver/startup_controller.cc', | |
118 'sync_driver/startup_controller.h', | |
119 'sync_driver/sync_api_component_factory.h', | |
120 'sync_driver/sync_client.cc', | |
121 'sync_driver/sync_client.h', | |
122 'sync_driver/sync_driver_switches.cc', | |
123 'sync_driver/sync_driver_switches.h', | |
124 'sync_driver/sync_error_controller.cc', | |
125 'sync_driver/sync_error_controller.h', | |
126 'sync_driver/sync_frontend.cc', | |
127 'sync_driver/sync_frontend.h', | |
128 'sync_driver/sync_prefs.cc', | |
129 'sync_driver/sync_prefs.h', | |
130 'sync_driver/sync_service.cc', | |
131 'sync_driver/sync_service.h', | |
132 'sync_driver/sync_service_observer.cc', | |
133 'sync_driver/sync_service_observer.h', | |
134 'sync_driver/sync_service_utils.cc', | |
135 'sync_driver/sync_service_utils.h', | |
136 'sync_driver/sync_stopped_reporter.cc', | |
137 'sync_driver/sync_stopped_reporter.h', | |
138 'sync_driver/sync_type_preference_provider.h', | |
139 'sync_driver/sync_util.cc', | |
140 'sync_driver/sync_util.h', | |
141 'sync_driver/system_encryptor.cc', | |
142 'sync_driver/system_encryptor.h', | |
143 'sync_driver/ui_data_type_controller.cc', | |
144 'sync_driver/ui_data_type_controller.h', | |
145 'sync_driver/ui_model_type_controller.cc', | |
146 'sync_driver/ui_model_type_controller.h', | |
147 'sync_driver/user_selectable_sync_type.h', | |
148 ], | |
149 'conditions': [ | |
150 ['configuration_policy==1', { | |
151 'dependencies': [ | |
152 'policy', | |
153 'policy_component', | |
154 ], | |
155 'sources': [ | |
156 'sync_driver/sync_policy_handler.cc', | |
157 'sync_driver/sync_policy_handler.h', | |
158 ], | |
159 }], | |
160 ], | |
161 }, | |
162 { | |
163 'target_name': 'sync_driver_test_support', | |
164 'type': 'static_library', | |
165 'dependencies': [ | |
166 'sync_driver', | |
167 'version_info', | |
168 '../base/base.gyp:base', | |
169 '../components/sync.gyp:sync', | |
170 '../components/sync.gyp:test_support_sync_core_impl', | |
171 '../testing/gmock.gyp:gmock', | |
172 '../testing/gtest.gyp:gtest', | |
173 ], | |
174 'include_dirs': [ | |
175 '..', | |
176 ], | |
177 'sources': [ | |
178 'sync_driver/change_processor_mock.cc', | |
179 'sync_driver/change_processor_mock.h', | |
180 'sync_driver/data_type_controller_mock.cc', | |
181 'sync_driver/data_type_controller_mock.h', | |
182 'sync_driver/data_type_manager_mock.cc', | |
183 'sync_driver/data_type_manager_mock.h', | |
184 'sync_driver/fake_data_type_controller.cc', | |
185 'sync_driver/fake_data_type_controller.h', | |
186 'sync_driver/fake_generic_change_processor.cc', | |
187 'sync_driver/fake_generic_change_processor.h', | |
188 'sync_driver/fake_sync_client.cc', | |
189 'sync_driver/fake_sync_client.h', | |
190 'sync_driver/fake_sync_service.cc', | |
191 'sync_driver/fake_sync_service.h', | |
192 'sync_driver/frontend_data_type_controller_mock.cc', | |
193 'sync_driver/frontend_data_type_controller_mock.h', | |
194 'sync_driver/glue/sync_backend_host_mock.cc', | |
195 'sync_driver/glue/sync_backend_host_mock.h', | |
196 'sync_driver/local_device_info_provider_mock.cc', | |
197 'sync_driver/local_device_info_provider_mock.h', | |
198 'sync_driver/model_associator_mock.cc', | |
199 'sync_driver/model_associator_mock.h', | |
200 'sync_driver/non_ui_data_type_controller_mock.cc', | |
201 'sync_driver/non_ui_data_type_controller_mock.h', | |
202 'sync_driver/sync_api_component_factory_mock.cc', | |
203 'sync_driver/sync_api_component_factory_mock.h', | |
204 ], | |
205 }, | |
206 ], | |
207 } | |
OLD | NEW |