Unload all apps / extensions immediately when deleting a profile.
[chromium-blink-merge.git] / components / sync_driver.gypi
blob827030fef61dfb77a1dce9015a6b975bf5c5f9f8
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       'target_name': 'sync_driver',
9       'type': 'static_library',
10       'dependencies': [
11         '../base/base.gyp:base',
12         '../sync/sync.gyp:sync',
13         'os_crypt',
14       ],
15       'include_dirs': [
16         '..',
17       ],
18       'sources': [
19         'sync_driver/backend_data_type_configurer.cc',
20         'sync_driver/backend_data_type_configurer.h',
21         'sync_driver/change_processor.cc',
22         'sync_driver/change_processor.h',
23         'sync_driver/data_type_controller.cc',
24         'sync_driver/data_type_controller.h',
25         'sync_driver/data_type_encryption_handler.cc',
26         'sync_driver/data_type_encryption_handler.h',
27         'sync_driver/data_type_error_handler.h',
28         'sync_driver/data_type_manager.cc',
29         'sync_driver/data_type_manager.h',
30         'sync_driver/data_type_manager_observer.h',
31         'sync_driver/failed_data_types_handler.cc',
32         'sync_driver/failed_data_types_handler.h',
33         'sync_driver/generic_change_processor.cc',
34         'sync_driver/generic_change_processor.h',
35         'sync_driver/generic_change_processor_factory.cc',
36         'sync_driver/generic_change_processor_factory.h',
37         'sync_driver/model_association_manager.cc',
38         'sync_driver/model_association_manager.h',
39         'sync_driver/model_associator.h',
40         'sync_driver/non_blocking_data_type_controller.cc',
41         'sync_driver/non_blocking_data_type_controller.h',
42         'sync_driver/non_blocking_data_type_manager.cc',
43         'sync_driver/non_blocking_data_type_manager.h',
44         'sync_driver/pref_names.cc',
45         'sync_driver/pref_names.h',
46         'sync_driver/proxy_data_type_controller.cc',
47         'sync_driver/proxy_data_type_controller.h',
48         'sync_driver/sync_api_component_factory.h',
49         'sync_driver/sync_frontend.cc',
50         'sync_driver/sync_frontend.h',
51         'sync_driver/sync_prefs.cc',
52         'sync_driver/sync_prefs.h',
53         'sync_driver/system_encryptor.cc',
54         'sync_driver/system_encryptor.h',
55         'sync_driver/user_selectable_sync_type.h',
56       ],
57     },
58     {
59       'target_name': 'sync_driver_test_support',
60       'type': 'static_library',
61       'dependencies': [
62         'sync_driver',
63         '../base/base.gyp:base',
64         '../sync/sync.gyp:sync',
65         '../sync/sync.gyp:test_support_sync_internal_api',
66         '../testing/gmock.gyp:gmock',
67         '../testing/gtest.gyp:gtest',
68       ],
69       'include_dirs': [
70         '..',
71       ],
72       'sources': [
73         'sync_driver/change_processor_mock.cc',
74         'sync_driver/change_processor_mock.h',
75         'sync_driver/data_type_controller_mock.cc',
76         'sync_driver/data_type_controller_mock.h',
77         'sync_driver/data_type_error_handler_mock.cc',
78         'sync_driver/data_type_error_handler_mock.h',
79         'sync_driver/data_type_manager_mock.cc',
80         'sync_driver/data_type_manager_mock.h',
81         'sync_driver/fake_data_type_controller.cc',
82         'sync_driver/fake_data_type_controller.h',
83         'sync_driver/fake_generic_change_processor.cc',
84         'sync_driver/fake_generic_change_processor.h',
85         'sync_driver/model_associator_mock.cc',
86         'sync_driver/model_associator_mock.h',
87       ],
88     },
89   ],