Fixed crx_location for auto launched kiosk apps.
[chromium-blink-merge.git] / components / sync_driver.gypi
blob7850c40b25a4bc290dbe82d9452918d648df7632
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         '../net/net.gyp:net',
14         '../sync/sync.gyp:sync',
15         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
16         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp',
17         '../ui/gfx/gfx.gyp:gfx',
18         'favicon_core',
19         'history_core_browser',
20         'invalidation_public',
21         'os_crypt',
22         'signin_core_browser',
23         'version_info',
24       ],
25       'include_dirs': [
26         '..',
27       ],
28       'sources': [
29         # Note: file list duplicated in GN build.
30         'sync_driver/about_sync_util.cc',
31         'sync_driver/about_sync_util.h',
32         'sync_driver/backend_data_type_configurer.cc',
33         'sync_driver/backend_data_type_configurer.h',
34         'sync_driver/backend_migrator.cc',
35         'sync_driver/backend_migrator.h',
36         'sync_driver/change_processor.cc',
37         'sync_driver/change_processor.h',
38         'sync_driver/data_type_controller.cc',
39         'sync_driver/data_type_controller.h',
40         'sync_driver/data_type_encryption_handler.cc',
41         'sync_driver/data_type_encryption_handler.h',
42         'sync_driver/data_type_error_handler.h',
43         'sync_driver/data_type_manager.cc',
44         'sync_driver/data_type_manager.h',
45         'sync_driver/data_type_manager_impl.cc',
46         'sync_driver/data_type_manager_impl.h',
47         'sync_driver/data_type_manager_observer.h',
48         'sync_driver/data_type_status_table.cc',
49         'sync_driver/data_type_status_table.h',
50         'sync_driver/device_info.cc',
51         'sync_driver/device_info.h',
52         'sync_driver/device_info_data_type_controller.cc',
53         'sync_driver/device_info_data_type_controller.h',
54         'sync_driver/device_info_sync_service.cc',
55         'sync_driver/device_info_sync_service.h',
56         'sync_driver/device_info_tracker.h',
57         'sync_driver/directory_data_type_controller.cc',
58         'sync_driver/directory_data_type_controller.h',
59         'sync_driver/favicon_cache.cc',
60         'sync_driver/favicon_cache.h',
61         'sync_driver/frontend_data_type_controller.cc',
62         'sync_driver/frontend_data_type_controller.h',
63         'sync_driver/generic_change_processor.cc',
64         'sync_driver/generic_change_processor.h',
65         'sync_driver/generic_change_processor_factory.cc',
66         'sync_driver/generic_change_processor_factory.h',
67         'sync_driver/glue/synced_session.cc',
68         'sync_driver/glue/synced_session.h',
69         'sync_driver/glue/typed_url_model_associator.cc',
70         'sync_driver/glue/typed_url_model_associator.h',
71         'sync_driver/invalidation_adapter.cc',
72         'sync_driver/invalidation_adapter.h',
73         'sync_driver/invalidation_helper.cc',
74         'sync_driver/invalidation_helper.h',
75         'sync_driver/local_device_info_provider.h',
76         'sync_driver/model_association_manager.cc',
77         'sync_driver/model_association_manager.h',
78         'sync_driver/model_associator.h',
79         'sync_driver/non_blocking_data_type_controller.cc',
80         'sync_driver/non_blocking_data_type_controller.h',
81         'sync_driver/non_blocking_data_type_manager.cc',
82         'sync_driver/non_blocking_data_type_manager.h',
83         'sync_driver/non_ui_data_type_controller.cc',
84         'sync_driver/non_ui_data_type_controller.h',
85         'sync_driver/open_tabs_ui_delegate.cc',
86         'sync_driver/open_tabs_ui_delegate.h',
87         'sync_driver/pref_names.cc',
88         'sync_driver/pref_names.h',
89         'sync_driver/profile_sync_auth_provider.cc',
90         'sync_driver/profile_sync_auth_provider.h',
91         'sync_driver/protocol_event_observer.cc',
92         'sync_driver/protocol_event_observer.h',
93         'sync_driver/proxy_data_type_controller.cc',
94         'sync_driver/proxy_data_type_controller.h',
95         'sync_driver/shared_change_processor.cc',
96         'sync_driver/shared_change_processor.h',
97         'sync_driver/shared_change_processor_ref.cc',
98         'sync_driver/shared_change_processor_ref.h',
99         'sync_driver/signin_manager_wrapper.cc',
100         'sync_driver/signin_manager_wrapper.h',
101         'sync_driver/sync_api_component_factory.h',
102         'sync_driver/sync_client.cc',
103         'sync_driver/sync_client.h',
104         'sync_driver/sync_driver_switches.cc',
105         'sync_driver/sync_driver_switches.h',
106         'sync_driver/sync_error_controller.cc',
107         'sync_driver/sync_error_controller.h',
108         'sync_driver/sync_frontend.cc',
109         'sync_driver/sync_frontend.h',
110         'sync_driver/sync_prefs.cc',
111         'sync_driver/sync_prefs.h',
112         'sync_driver/sync_service.cc',
113         'sync_driver/sync_service.h',
114         'sync_driver/sync_service_observer.cc',
115         'sync_driver/sync_service_observer.h',
116         'sync_driver/sync_service_utils.cc',
117         'sync_driver/sync_service_utils.h',
118         'sync_driver/sync_stopped_reporter.cc',
119         'sync_driver/sync_stopped_reporter.h',
120         'sync_driver/sync_util.cc',
121         'sync_driver/sync_util.h',
122         'sync_driver/system_encryptor.cc',
123         'sync_driver/system_encryptor.h',
124         'sync_driver/tab_node_pool.cc',
125         'sync_driver/tab_node_pool.h',
126         'sync_driver/ui_data_type_controller.cc',
127         'sync_driver/ui_data_type_controller.h',
128         'sync_driver/user_selectable_sync_type.h',
129       ],
130       'conditions': [
131         ['OS!="ios"', {
132           'dependencies': [
133             'sessions_content',
134           ],
135         }, {  # OS==ios
136           'dependencies': [
137             'sessions_ios',
138           ],
139         }],
140         ['configuration_policy==1', {
141           'dependencies': [
142             'policy',
143           ],
144           'sources': [
145             'sync_driver/sync_policy_handler.cc',
146             'sync_driver/sync_policy_handler.h',
147           ],
148         }],
149       ],
150     },
151     {
152       'target_name': 'sync_driver_test_support',
153       'type': 'static_library',
154       'dependencies': [
155         'sync_driver',
156         '../base/base.gyp:base',
157         '../sync/sync.gyp:sync',
158         '../sync/sync.gyp:test_support_sync_internal_api',
159         '../testing/gmock.gyp:gmock',
160         '../testing/gtest.gyp:gtest',
161       ],
162       'include_dirs': [
163         '..',
164       ],
165       'sources': [
166         'sync_driver/change_processor_mock.cc',
167         'sync_driver/change_processor_mock.h',
168         'sync_driver/data_type_controller_mock.cc',
169         'sync_driver/data_type_controller_mock.h',
170         'sync_driver/data_type_error_handler_mock.cc',
171         'sync_driver/data_type_error_handler_mock.h',
172         'sync_driver/data_type_manager_mock.cc',
173         'sync_driver/data_type_manager_mock.h',
174         'sync_driver/fake_data_type_controller.cc',
175         'sync_driver/fake_data_type_controller.h',
176         'sync_driver/fake_generic_change_processor.cc',
177         'sync_driver/fake_generic_change_processor.h',
178         'sync_driver/fake_sync_client.cc',
179         'sync_driver/fake_sync_client.h',
180         'sync_driver/fake_sync_service.cc',
181         'sync_driver/fake_sync_service.h',
182         'sync_driver/frontend_data_type_controller_mock.cc',
183         'sync_driver/frontend_data_type_controller_mock.h',
184         'sync_driver/local_device_info_provider_mock.cc',
185         'sync_driver/local_device_info_provider_mock.h',
186         'sync_driver/model_associator_mock.cc',
187         'sync_driver/model_associator_mock.h',
188         'sync_driver/non_ui_data_type_controller_mock.cc',
189         'sync_driver/non_ui_data_type_controller_mock.h',
190       ],
191     },
192   ],