Stack sampling profiler: add fire-and-forget interface
[chromium-blink-merge.git] / components / sync_driver / BUILD.gn
blobd791acf448f9eb18e3860f6ab7f0b695b2a5b9d1
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.
5 static_library("sync_driver") {
6   sources = [
7     "backend_data_type_configurer.cc",
8     "backend_data_type_configurer.h",
9     "change_processor.cc",
10     "change_processor.h",
11     "data_type_controller.cc",
12     "data_type_controller.h",
13     "data_type_encryption_handler.cc",
14     "data_type_encryption_handler.h",
15     "data_type_error_handler.h",
16     "data_type_manager.cc",
17     "data_type_manager.h",
18     "data_type_manager_impl.cc",
19     "data_type_manager_impl.h",
20     "data_type_manager_observer.h",
21     "data_type_status_table.cc",
22     "data_type_status_table.h",
23     "device_info.cc",
24     "device_info.h",
25     "device_info_data_type_controller.cc",
26     "device_info_data_type_controller.h",
27     "device_info_sync_service.cc",
28     "device_info_sync_service.h",
29     "device_info_tracker.h",
30     "generic_change_processor.cc",
31     "generic_change_processor.h",
32     "generic_change_processor_factory.cc",
33     "generic_change_processor_factory.h",
34     "glue/synced_session.cc",
35     "glue/synced_session.h",
36     "local_device_info_provider.h",
37     "model_association_manager.cc",
38     "model_association_manager.h",
39     "model_associator.h",
40     "non_blocking_data_type_controller.cc",
41     "non_blocking_data_type_controller.h",
42     "non_blocking_data_type_manager.cc",
43     "non_blocking_data_type_manager.h",
44     "non_ui_data_type_controller.cc",
45     "non_ui_data_type_controller.h",
46     "open_tabs_ui_delegate.cc",
47     "open_tabs_ui_delegate.h",
48     "pref_names.cc",
49     "pref_names.h",
50     "proxy_data_type_controller.cc",
51     "proxy_data_type_controller.h",
52     "shared_change_processor.cc",
53     "shared_change_processor.h",
54     "shared_change_processor_ref.cc",
55     "shared_change_processor_ref.h",
56     "sync_api_component_factory.h",
57     "sync_frontend.cc",
58     "sync_frontend.h",
59     "sync_prefs.cc",
60     "sync_prefs.h",
61     "sync_service.h",
62     "sync_service_observer.cc",
63     "sync_service_observer.h",
64     "system_encryptor.cc",
65     "system_encryptor.h",
66     "ui_data_type_controller.cc",
67     "ui_data_type_controller.h",
68     "user_selectable_sync_type.h",
69   ]
71   deps = [
72     "//base",
73     "//components/os_crypt",
74     "//sync",
75   ]
78 static_library("test_support") {
79   testonly = true
80   sources = [
81     "change_processor_mock.cc",
82     "change_processor_mock.h",
83     "data_type_controller_mock.cc",
84     "data_type_controller_mock.h",
85     "data_type_error_handler_mock.cc",
86     "data_type_error_handler_mock.h",
87     "data_type_manager_mock.cc",
88     "data_type_manager_mock.h",
89     "fake_data_type_controller.cc",
90     "fake_data_type_controller.h",
91     "fake_generic_change_processor.cc",
92     "fake_generic_change_processor.h",
93     "local_device_info_provider_mock.cc",
94     "local_device_info_provider_mock.h",
95     "model_associator_mock.cc",
96     "model_associator_mock.h",
97     "non_ui_data_type_controller_mock.cc",
98     "non_ui_data_type_controller_mock.h",
99   ]
101   deps = [
102     ":sync_driver",
103     "//base",
104     "//components/sessions",
105     "//sync",
106     "//sync:test_support_sync_internal_api",
107     "//testing/gmock",
108     "//testing/gtest",
109   ]