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
|
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/features.gni")
static_library("browser_sync") {
sources = [
"browser_sync_client.cc",
"browser_sync_client.h",
"browser_sync_switches.cc",
"browser_sync_switches.h",
"profile_sync_components_factory_impl.cc",
"profile_sync_components_factory_impl.h",
"signin_confirmation_helper.cc",
"signin_confirmation_helper.h",
]
public_deps = [
"//components/sync",
]
deps = [
"//base",
"//components/autofill/core/browser",
"//components/autofill/core/common",
"//components/history/core/browser",
"//components/password_manager/core/browser",
"//components/prefs",
"//components/reading_list/features:flags",
"//components/send_tab_to_self",
"//components/sync_bookmarks",
"//components/sync_sessions",
"//components/sync_user_events",
"//components/version_info",
"//components/version_info:generate_version_info",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"profile_sync_service_bookmark_unittest.cc",
]
deps = [
":browser_sync",
":test_support",
"//base",
"//base/test:test_support",
"//components/autofill/core/browser:test_support",
"//components/autofill/core/common",
"//components/bookmarks/browser",
"//components/bookmarks/managed",
"//components/bookmarks/test",
"//components/history/core/browser",
"//components/prefs",
"//components/sync",
"//components/sync:test_support",
"//components/sync_bookmarks",
"//components/sync_device_info",
"//components/sync_preferences",
"//components/sync_preferences:test_support",
"//components/sync_sessions",
"//components/sync_sessions:test_support",
"//components/version_info",
"//components/version_info:generate_version_info",
"//components/webdata/common",
"//services/network:test_support",
"//testing/gmock",
"//testing/gtest",
]
}
static_library("test_support") {
testonly = true
sources = [
"test_http_bridge_factory.cc",
"test_http_bridge_factory.h",
]
deps = [
":browser_sync",
"//base",
"//base/test:test_support",
"//components/bookmarks/browser",
"//components/history/core/browser",
"//components/sync",
"//components/sync:test_support",
"//components/sync_preferences:test_support",
"//components/sync_sessions:test_support",
"//services/network:test_support",
]
}
|