Roll src/third_party/WebKit 8121bc6:918aba1 (svn 188871:188878)
[chromium-blink-merge.git] / components / sync_driver / BUILD.gn
blobf55383a551e18b09b0f9da4b9a97b167e0fe808b
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     "local_device_info_provider.h",
35     "model_association_manager.cc",
36     "model_association_manager.h",
37     "model_associator.h",
38     "non_blocking_data_type_controller.cc",
39     "non_blocking_data_type_controller.h",
40     "non_blocking_data_type_manager.cc",
41     "non_blocking_data_type_manager.h",
42     "non_ui_data_type_controller.cc",
43     "non_ui_data_type_controller.h",
44     "pref_names.cc",
45     "pref_names.h",
46     "proxy_data_type_controller.cc",
47     "proxy_data_type_controller.h",
48     "sync_api_component_factory.h",
49     "shared_change_processor.cc",
50     "shared_change_processor.h",
51     "shared_change_processor_ref.cc",
52     "shared_change_processor_ref.h",
53     "sync_frontend.cc",
54     "sync_frontend.h",
55     "sync_prefs.cc",
56     "sync_prefs.h",
57     "system_encryptor.cc",
58     "system_encryptor.h",
59     "ui_data_type_controller.cc",
60     "ui_data_type_controller.h",
61     "user_selectable_sync_type.h",
62   ]
64   deps = [
65     "//base",
66     "//components/os_crypt",
67     "//sync",
68   ]
71 static_library("test_support") {
72   testonly = true
73   sources = [
74     "change_processor_mock.cc",
75     "change_processor_mock.h",
76     "data_type_controller_mock.cc",
77     "data_type_controller_mock.h",
78     "data_type_error_handler_mock.cc",
79     "data_type_error_handler_mock.h",
80     "data_type_manager_mock.cc",
81     "data_type_manager_mock.h",
82     "fake_data_type_controller.cc",
83     "fake_data_type_controller.h",
84     "fake_generic_change_processor.cc",
85     "fake_generic_change_processor.h",
86     "local_device_info_provider_mock.cc",
87     "local_device_info_provider_mock.h",
88     "model_associator_mock.cc",
89     "model_associator_mock.h",
90     "non_ui_data_type_controller_mock.cc",
91     "non_ui_data_type_controller_mock.h",
92   ]
94   deps = [
95     ":sync_driver",
96     "//base",
97     "//sync",
98     "//sync:test_support_sync_internal_api",
99     "//testing/gmock",
100     "//testing/gtest",
101   ]