1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("sync") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"device_info_sync_service_factory.h",
"device_info_sync_service_factory.mm",
"ios_chrome_sync_client.h",
"ios_chrome_sync_client.mm",
"ios_chrome_synced_tab_delegate.h",
"ios_chrome_synced_tab_delegate.mm",
"ios_trusted_vault_client.h",
"ios_trusted_vault_client.mm",
"ios_user_event_service_factory.cc",
"ios_user_event_service_factory.h",
"send_tab_to_self_sync_service_factory.h",
"send_tab_to_self_sync_service_factory.mm",
"session_sync_service_factory.h",
"session_sync_service_factory.mm",
"sync_invalidations_service_factory.h",
"sync_invalidations_service_factory.mm",
"sync_observer_bridge.h",
"sync_observer_bridge.mm",
"sync_service_factory.h",
"sync_service_factory.mm",
"sync_setup_service.cc",
"sync_setup_service.h",
"sync_setup_service_factory.cc",
"sync_setup_service_factory.h",
]
deps = [
":model_type_store_service_factory",
"//base",
"//components/autofill/core/browser",
"//components/browser_sync",
"//components/consent_auditor",
"//components/dom_distiller/core",
"//components/history/core/browser",
"//components/invalidation/impl",
"//components/keyed_service/core",
"//components/keyed_service/ios",
"//components/metrics/demographics",
"//components/network_time",
"//components/password_manager/core/browser",
"//components/pref_registry",
"//components/prefs",
"//components/reading_list/core",
"//components/search_engines",
"//components/send_tab_to_self",
"//components/sessions",
"//components/signin/public/identity_manager",
"//components/sync",
"//components/sync_device_info",
"//components/sync_preferences",
"//components/sync_sessions",
"//components/sync_user_events",
"//components/version_info",
"//google_apis",
"//ios/chrome/browser",
"//ios/chrome/browser/autofill",
"//ios/chrome/browser/bookmarks",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/complex_tasks",
"//ios/chrome/browser/consent_auditor",
"//ios/chrome/browser/dom_distiller",
"//ios/chrome/browser/favicon",
"//ios/chrome/browser/gcm",
"//ios/chrome/browser/gcm/instance_id",
"//ios/chrome/browser/history",
"//ios/chrome/browser/invalidation",
"//ios/chrome/browser/passwords:store_factory",
"//ios/chrome/browser/reading_list",
"//ios/chrome/browser/search_engines",
"//ios/chrome/browser/sessions",
"//ios/chrome/browser/signin",
"//ios/chrome/browser/signin:trusted_vault",
"//ios/chrome/browser/signin:trusted_vault_factory",
"//ios/chrome/browser/sync/glue",
"//ios/chrome/browser/sync/sessions",
"//ios/chrome/browser/tabs",
"//ios/chrome/browser/undo",
"//ios/chrome/browser/url:constants",
"//ios/chrome/browser/webdata_services",
"//ios/chrome/common",
"//ios/components/webui:url_constants",
"//ios/web",
"//ios/web/public/session",
"//net",
"//ui/base",
"//url",
]
allow_circular_includes_from = [
"//ios/chrome/browser/history",
"//ios/chrome/browser/passwords:store_factory",
"//ios/chrome/browser/reading_list",
"//ios/chrome/browser/signin",
"//ios/chrome/browser/sync/glue",
"//ios/chrome/browser/sync/sessions",
]
}
source_set("model_type_store_service_factory") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"model_type_store_service_factory.cc",
"model_type_store_service_factory.h",
]
deps = [
"//base",
"//components/keyed_service/ios",
"//components/sync",
"//ios/chrome/browser/browser_state",
]
}
source_set("sync_error_browser_agent") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"sync_error_browser_agent.h",
"sync_error_browser_agent.mm",
]
deps = [
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/main:public",
"//ios/chrome/browser/ui/authentication",
"//ios/chrome/browser/ui/authentication:signin_presenter",
"//ios/chrome/browser/ui/settings/sync/utils",
"//ios/chrome/browser/ui/util",
"//ios/chrome/browser/web_state_list",
"//ui/base",
]
frameworks = [ "UIKit.framework" ]
}
source_set("test_support") {
testonly = true
sources = [
"mock_sync_service_utils.cc",
"mock_sync_service_utils.h",
"sync_setup_service_mock.cc",
"sync_setup_service_mock.h",
]
deps = [
":sync",
"//base",
"//components/consent_auditor:test_support",
"//components/keyed_service/core",
"//components/keyed_service/ios",
"//components/sync",
"//components/sync:test_support",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/signin",
"//ios/chrome/common",
"//ios/web",
"//ui/base",
]
public_deps = [ "//testing/gmock" ]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"ios_chrome_synced_tab_delegate_unittest.mm",
"session_sync_service_factory_unittest.cc",
"sync_service_factory_unittest.cc",
]
deps = [
":sync",
"//base",
"//components/browser_sync",
"//components/sync",
"//ios/chrome/browser",
"//ios/chrome/browser/browser_state:test_support",
"//ios/chrome/browser/favicon",
"//ios/chrome/browser/history",
"//ios/chrome/browser/url:constants",
"//ios/chrome/browser/webdata_services",
"//ios/web/public/test",
"//testing/gtest",
"//ui/base",
]
}
|