Fling boost check last animate time
[chromium-blink-merge.git] / components / sync_driver.gypi
blobda86744795ef7c5b564a24504ae60b5366b2ea52
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.
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         '../sync/sync.gyp:sync',
14         'os_crypt',
15         'signin_core_browser',
16       ],
17       'include_dirs': [
18         '..',
19       ],
20       'sources': [
21         # Note: file list duplicated in GN build.
22         'sync_driver/backend_data_type_configurer.cc',
23         'sync_driver/backend_data_type_configurer.h',
24         'sync_driver/backend_migrator.cc',
25         'sync_driver/backend_migrator.h',
26         'sync_driver/change_processor.cc',
27         'sync_driver/change_processor.h',
28         'sync_driver/data_type_controller.cc',
29         'sync_driver/data_type_controller.h',
30         'sync_driver/data_type_encryption_handler.cc',
31         'sync_driver/data_type_encryption_handler.h',
32         'sync_driver/data_type_error_handler.h',
33         'sync_driver/data_type_manager.cc',
34         'sync_driver/data_type_manager.h',
35         'sync_driver/data_type_manager_impl.cc',
36         'sync_driver/data_type_manager_impl.h',
37         'sync_driver/data_type_manager_observer.h',
38         'sync_driver/data_type_status_table.cc',
39         'sync_driver/data_type_status_table.h',
40         'sync_driver/device_info.cc',
41         'sync_driver/device_info.h',
42         'sync_driver/device_info_data_type_controller.cc',
43         'sync_driver/device_info_data_type_controller.h',
44         'sync_driver/device_info_sync_service.cc',
45         'sync_driver/device_info_sync_service.h',
46         'sync_driver/device_info_tracker.h',
47         'sync_driver/generic_change_processor.cc',
48         'sync_driver/generic_change_processor.h',
49         'sync_driver/generic_change_processor_factory.cc',
50         'sync_driver/generic_change_processor_factory.h',
51         'sync_driver/glue/synced_session.cc',
52         'sync_driver/glue/synced_session.h',
53         'sync_driver/local_device_info_provider.h',
54         'sync_driver/model_association_manager.cc',
55         'sync_driver/model_association_manager.h',
56         'sync_driver/model_associator.h',
57         'sync_driver/non_blocking_data_type_controller.cc',
58         'sync_driver/non_blocking_data_type_controller.h',
59         'sync_driver/non_blocking_data_type_manager.cc',
60         'sync_driver/non_blocking_data_type_manager.h',
61         'sync_driver/non_ui_data_type_controller.cc',
62         'sync_driver/non_ui_data_type_controller.h',
63         'sync_driver/open_tabs_ui_delegate.cc',
64         'sync_driver/open_tabs_ui_delegate.h',
65         'sync_driver/pref_names.cc',
66         'sync_driver/pref_names.h',
67         'sync_driver/profile_sync_auth_provider.cc',
68         'sync_driver/profile_sync_auth_provider.h',
69         'sync_driver/proxy_data_type_controller.cc',
70         'sync_driver/proxy_data_type_controller.h',
71         'sync_driver/protocol_event_observer.cc',
72         'sync_driver/protocol_event_observer.h',
73         'sync_driver/shared_change_processor.cc',
74         'sync_driver/shared_change_processor.h',
75         'sync_driver/shared_change_processor_ref.cc',
76         'sync_driver/shared_change_processor_ref.h',
77         'sync_driver/sync_api_component_factory.h',
78         'sync_driver/sync_error_controller.cc',
79         'sync_driver/sync_error_controller.h',
80         'sync_driver/sync_frontend.cc',
81         'sync_driver/sync_frontend.h',
82         'sync_driver/sync_prefs.cc',
83         'sync_driver/sync_prefs.h',
84         'sync_driver/sync_service.h',
85         'sync_driver/sync_service_observer.cc',
86         'sync_driver/sync_service_observer.h',
87         'sync_driver/system_encryptor.cc',
88         'sync_driver/system_encryptor.h',
89         'sync_driver/ui_data_type_controller.cc',
90         'sync_driver/ui_data_type_controller.h',
91         'sync_driver/user_selectable_sync_type.h',
92       ],
93       'conditions': [
94         ['OS!="ios"', {
95           'dependencies': [
96             'sessions_content',
97           ],
98         }, {  # OS==ios
99           'dependencies': [
100             'sessions_ios',
101           ],
102         }],
103         ['configuration_policy==1', {
104           'dependencies': [
105             'policy',
106           ],
107           'sources': [
108             'sync_driver/sync_policy_handler.cc',
109             'sync_driver/sync_policy_handler.h',
110           ],
111         }],
112       ],
113     },
114     {
115       'target_name': 'sync_driver_test_support',
116       'type': 'static_library',
117       'dependencies': [
118         'sync_driver',
119         '../base/base.gyp:base',
120         '../sync/sync.gyp:sync',
121         '../sync/sync.gyp:test_support_sync_internal_api',
122         '../testing/gmock.gyp:gmock',
123         '../testing/gtest.gyp:gtest',
124       ],
125       'include_dirs': [
126         '..',
127       ],
128       'sources': [
129         'sync_driver/change_processor_mock.cc',
130         'sync_driver/change_processor_mock.h',
131         'sync_driver/data_type_controller_mock.cc',
132         'sync_driver/data_type_controller_mock.h',
133         'sync_driver/data_type_error_handler_mock.cc',
134         'sync_driver/data_type_error_handler_mock.h',
135         'sync_driver/data_type_manager_mock.cc',
136         'sync_driver/data_type_manager_mock.h',
137         'sync_driver/fake_data_type_controller.cc',
138         'sync_driver/fake_data_type_controller.h',
139         'sync_driver/fake_generic_change_processor.cc',
140         'sync_driver/fake_generic_change_processor.h',
141         'sync_driver/fake_sync_service.cc',
142         'sync_driver/fake_sync_service.h',
143         'sync_driver/local_device_info_provider_mock.cc',
144         'sync_driver/local_device_info_provider_mock.h',
145         'sync_driver/model_associator_mock.cc',
146         'sync_driver/model_associator_mock.h',
147         'sync_driver/non_ui_data_type_controller_mock.cc',
148         'sync_driver/non_ui_data_type_controller_mock.h',
149       ],
150     },
151   ],