Switch to using the new app install flow
[chromium-blink-merge.git] / components / sync_driver / BUILD.gn
blob7dccccfb15069e36a193dbf6ddf94c1e4a77c68a
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     "shared_change_processor.cc",
49     "shared_change_processor.h",
50     "shared_change_processor_ref.cc",
51     "shared_change_processor_ref.h",
52     "sync_api_component_factory.h",
53     "sync_frontend.cc",
54     "sync_frontend.h",
55     "sync_prefs.cc",
56     "sync_prefs.h",
57     "sync_service.h",
58     "sync_service_observer.cc",
59     "sync_service_observer.h",
60     "system_encryptor.cc",
61     "system_encryptor.h",
62     "ui_data_type_controller.cc",
63     "ui_data_type_controller.h",
64     "user_selectable_sync_type.h",
65   ]
67   deps = [
68     "//base",
69     "//components/os_crypt",
70     "//sync",
71   ]
74 static_library("test_support") {
75   testonly = true
76   sources = [
77     "change_processor_mock.cc",
78     "change_processor_mock.h",
79     "data_type_controller_mock.cc",
80     "data_type_controller_mock.h",
81     "data_type_error_handler_mock.cc",
82     "data_type_error_handler_mock.h",
83     "data_type_manager_mock.cc",
84     "data_type_manager_mock.h",
85     "fake_data_type_controller.cc",
86     "fake_data_type_controller.h",
87     "fake_generic_change_processor.cc",
88     "fake_generic_change_processor.h",
89     "local_device_info_provider_mock.cc",
90     "local_device_info_provider_mock.h",
91     "model_associator_mock.cc",
92     "model_associator_mock.h",
93     "non_ui_data_type_controller_mock.cc",
94     "non_ui_data_type_controller_mock.h",
95   ]
97   deps = [
98     ":sync_driver",
99     "//base",
100     "//sync",
101     "//sync:test_support_sync_internal_api",
102     "//testing/gmock",
103     "//testing/gtest",
104   ]