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
|
# Copyright 2019 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.
static_library("sync_wifi") {
sources = [
"local_network_collector.h",
"local_network_collector_impl.cc",
"local_network_collector_impl.h",
"network_identifier.cc",
"network_identifier.h",
"network_type_conversions.cc",
"network_type_conversions.h",
"pending_network_configuration_tracker.h",
"pending_network_configuration_tracker_impl.cc",
"pending_network_configuration_tracker_impl.h",
"pending_network_configuration_update.cc",
"pending_network_configuration_update.h",
"synced_network_metrics_logger.cc",
"synced_network_metrics_logger.h",
"synced_network_updater.h",
"synced_network_updater_impl.cc",
"synced_network_updater_impl.h",
"timer_factory.cc",
"timer_factory.h",
"wifi_configuration_bridge.cc",
"wifi_configuration_bridge.h",
"wifi_configuration_sync_service.cc",
"wifi_configuration_sync_service.h",
]
deps = [
":network_eligibility_checker",
"//ash/constants",
"//ash/public/cpp",
"//base",
"//chromeos/dbus/shill",
"//chromeos/network",
"//chromeos/services/network_config/public/mojom",
"//components/device_event_log",
"//components/keyed_service/core",
"//components/prefs",
"//components/proxy_config",
"//components/sync",
"//components/version_info",
"//dbus",
]
}
static_library("network_eligibility_checker") {
sources = [
"network_eligibility_checker.cc",
"network_eligibility_checker.h",
]
deps = [
"//chromeos/network",
"//chromeos/services/network_config/public/mojom",
]
}
source_set("test_support") {
testonly = true
sources = [
"fake_local_network_collector.cc",
"fake_local_network_collector.h",
"fake_one_shot_timer.cc",
"fake_one_shot_timer.h",
"fake_pending_network_configuration_tracker.cc",
"fake_pending_network_configuration_tracker.h",
"fake_timer_factory.cc",
"fake_timer_factory.h",
"network_test_helper.cc",
"network_test_helper.h",
"test_data_generator.cc",
"test_data_generator.h",
]
deps = [
":sync_wifi",
"//base/test:test_support",
"//chromeos/login/login_state",
"//chromeos/network:test_support",
"//chromeos/services/network_config:in_process_instance",
"//chromeos/services/network_config:network_config",
"//chromeos/services/network_config/public/cpp:test_support",
"//components/onc",
"//components/proxy_config",
"//components/sync:test_support",
"//components/sync_preferences:test_support",
"//components/user_manager:test_support",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"local_network_collector_impl_unittest.cc",
"network_identifier_unittest.cc",
"pending_network_configuration_tracker_impl_unittest.cc",
"synced_network_metrics_logger_unittest.cc",
"synced_network_updater_impl_unittest.cc",
"wifi_configuration_bridge_unittest.cc",
]
deps = [
":sync_wifi",
":test_support",
"//ash/constants",
"//ash/public/cpp",
"//base/test:test_support",
"//chromeos/dbus/shill:test_support",
"//chromeos/login/login_state",
"//chromeos/login/login_state:test_support",
"//chromeos/network:test_support",
"//chromeos/services/network_config",
"//chromeos/services/network_config:in_process_instance",
"//chromeos/services/network_config/public/cpp:test_support",
"//components/prefs:test_support",
"//components/sync:test_support",
"//components/sync_preferences:test_support",
"//components/user_manager:test_support",
"//testing/gtest",
]
}
|