Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / components / sync_driver.gypi
blob6dd9cc73cfeb0062632aa1f9c29c66a527784e34
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       ],
16       'include_dirs': [
17         '..',
18       ],
19       'sources': [
20         # Note: file list duplicated in GN build.
21         'sync_driver/backend_data_type_configurer.cc',
22         'sync_driver/backend_data_type_configurer.h',
23         'sync_driver/change_processor.cc',
24         'sync_driver/change_processor.h',
25         'sync_driver/data_type_controller.cc',
26         'sync_driver/data_type_controller.h',
27         'sync_driver/data_type_encryption_handler.cc',
28         'sync_driver/data_type_encryption_handler.h',
29         'sync_driver/data_type_error_handler.h',
30         'sync_driver/data_type_manager.cc',
31         'sync_driver/data_type_manager.h',
32         'sync_driver/data_type_manager_impl.cc',
33         'sync_driver/data_type_manager_impl.h',
34         'sync_driver/data_type_manager_observer.h',
35         'sync_driver/failed_data_types_handler.cc',
36         'sync_driver/failed_data_types_handler.h',
37         'sync_driver/generic_change_processor.cc',
38         'sync_driver/generic_change_processor.h',
39         'sync_driver/generic_change_processor_factory.cc',
40         'sync_driver/generic_change_processor_factory.h',
41         'sync_driver/model_association_manager.cc',
42         'sync_driver/model_association_manager.h',
43         'sync_driver/model_associator.h',
44         'sync_driver/non_blocking_data_type_controller.cc',
45         'sync_driver/non_blocking_data_type_controller.h',
46         'sync_driver/non_blocking_data_type_manager.cc',
47         'sync_driver/non_blocking_data_type_manager.h',
48         'sync_driver/non_ui_data_type_controller.cc',
49         'sync_driver/non_ui_data_type_controller.h',
50         'sync_driver/pref_names.cc',
51         'sync_driver/pref_names.h',
52         'sync_driver/proxy_data_type_controller.cc',
53         'sync_driver/proxy_data_type_controller.h',
54         'sync_driver/sync_api_component_factory.h',
55         'sync_driver/shared_change_processor.cc',
56         'sync_driver/shared_change_processor.h',
57         'sync_driver/shared_change_processor_ref.cc',
58         'sync_driver/shared_change_processor_ref.h',
59         'sync_driver/sync_frontend.cc',
60         'sync_driver/sync_frontend.h',
61         'sync_driver/sync_prefs.cc',
62         'sync_driver/sync_prefs.h',
63         'sync_driver/system_encryptor.cc',
64         'sync_driver/system_encryptor.h',
65         'sync_driver/ui_data_type_controller.cc',
66         'sync_driver/ui_data_type_controller.h',
67         'sync_driver/user_selectable_sync_type.h',
68       ],
69     },
70     {
71       'target_name': 'sync_driver_test_support',
72       'type': 'static_library',
73       'dependencies': [
74         'sync_driver',
75         '../base/base.gyp:base',
76         '../sync/sync.gyp:sync',
77         '../sync/sync.gyp:test_support_sync_internal_api',
78         '../testing/gmock.gyp:gmock',
79         '../testing/gtest.gyp:gtest',
80       ],
81       'include_dirs': [
82         '..',
83       ],
84       'sources': [
85         'sync_driver/change_processor_mock.cc',
86         'sync_driver/change_processor_mock.h',
87         'sync_driver/data_type_controller_mock.cc',
88         'sync_driver/data_type_controller_mock.h',
89         'sync_driver/data_type_error_handler_mock.cc',
90         'sync_driver/data_type_error_handler_mock.h',
91         'sync_driver/data_type_manager_mock.cc',
92         'sync_driver/data_type_manager_mock.h',
93         'sync_driver/fake_data_type_controller.cc',
94         'sync_driver/fake_data_type_controller.h',
95         'sync_driver/fake_generic_change_processor.cc',
96         'sync_driver/fake_generic_change_processor.h',
97         'sync_driver/model_associator_mock.cc',
98         'sync_driver/model_associator_mock.h',
99         'sync_driver/non_ui_data_type_controller_mock.cc',
100         'sync_driver/non_ui_data_type_controller_mock.h',
101       ],
102     },
103   ],