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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
|
# Copyright 2014 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.
{
'targets': [
{
# GN version: //components/proximity_auth and
# //components/proximity_auth/ble.
'target_name': 'proximity_auth',
'type': 'static_library',
'include_dirs': [
'..',
],
'dependencies': [
':cryptauth',
':cryptauth_proto',
':proximity_auth_logging',
'../base/base.gyp:base',
'../base/base.gyp:base_prefs',
'../device/bluetooth/bluetooth.gyp:device_bluetooth',
'../net/net.gyp:net',
],
'sources': [
"proximity_auth/authenticator.h",
"proximity_auth/ble/bluetooth_low_energy_characteristics_finder.cc",
"proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h",
"proximity_auth/ble/bluetooth_low_energy_connection.cc",
"proximity_auth/ble/bluetooth_low_energy_connection.h",
"proximity_auth/ble/bluetooth_low_energy_connection_finder.cc",
"proximity_auth/ble/bluetooth_low_energy_connection_finder.h",
"proximity_auth/ble/bluetooth_low_energy_device_whitelist.cc",
"proximity_auth/ble/bluetooth_low_energy_device_whitelist.h",
"proximity_auth/ble/remote_attribute.h",
"proximity_auth/ble/fake_wire_message.cc",
"proximity_auth/ble/fake_wire_message.h",
"proximity_auth/ble/pref_names.cc",
"proximity_auth/ble/pref_names.h",
"proximity_auth/ble/proximity_auth_ble_system.cc",
"proximity_auth/ble/proximity_auth_ble_system.h",
"proximity_auth/bluetooth_connection.cc",
"proximity_auth/bluetooth_connection.h",
"proximity_auth/bluetooth_connection_finder.cc",
"proximity_auth/bluetooth_connection_finder.h",
"proximity_auth/bluetooth_throttler.h",
"proximity_auth/bluetooth_throttler_impl.cc",
"proximity_auth/bluetooth_throttler_impl.h",
"proximity_auth/bluetooth_util.cc",
"proximity_auth/bluetooth_util.h",
"proximity_auth/bluetooth_util_chromeos.cc",
"proximity_auth/client.h",
"proximity_auth/client_impl.cc",
"proximity_auth/client_impl.h",
"proximity_auth/client_observer.h",
"proximity_auth/connection.cc",
"proximity_auth/connection.h",
"proximity_auth/connection_finder.h",
"proximity_auth/connection_observer.h",
"proximity_auth/controller.h",
"proximity_auth/device_to_device_authenticator.cc",
"proximity_auth/device_to_device_authenticator.h",
"proximity_auth/device_to_device_initiator_operations.cc",
"proximity_auth/device_to_device_initiator_operations.h",
"proximity_auth/device_to_device_secure_context.cc",
"proximity_auth/device_to_device_secure_context.h",
"proximity_auth/metrics.cc",
"proximity_auth/metrics.h",
"proximity_auth/proximity_auth_client.h",
"proximity_auth/proximity_auth_system.cc",
"proximity_auth/proximity_auth_system.h",
"proximity_auth/proximity_monitor.h",
"proximity_auth/proximity_monitor_impl.cc",
"proximity_auth/proximity_monitor_impl.h",
"proximity_auth/proximity_monitor_observer.h",
"proximity_auth/remote_device.cc",
"proximity_auth/remote_device.h",
"proximity_auth/remote_status_update.cc",
"proximity_auth/remote_status_update.h",
"proximity_auth/screenlock_bridge.cc",
"proximity_auth/screenlock_bridge.h",
"proximity_auth/screenlock_state.h",
"proximity_auth/secure_context.h",
"proximity_auth/switches.cc",
"proximity_auth/switches.h",
"proximity_auth/throttled_bluetooth_connection_finder.cc",
"proximity_auth/throttled_bluetooth_connection_finder.h",
"proximity_auth/unlock_manager.cc",
"proximity_auth/unlock_manager.h",
"proximity_auth/wire_message.cc",
"proximity_auth/wire_message.h",
],
'export_dependent_settings': [
'cryptauth_proto',
],
},
{
'target_name': 'proximity_auth_test_support',
'type': 'static_library',
'include_dirs': [
'..',
],
'dependencies': [
':cryptauth_test_support',
'../base/base.gyp:base',
],
'sources': [
"proximity_auth/device_to_device_responder_operations.cc",
"proximity_auth/device_to_device_responder_operations.h",
],
},
{
# GN version: //components/proximity_auth/logging
'target_name': 'proximity_auth_logging',
'type': 'static_library',
'include_dirs': [
'..',
],
'dependencies': [
'../base/base.gyp:base',
],
'sources': [
"proximity_auth/logging/log_buffer.cc",
"proximity_auth/logging/log_buffer.h",
"proximity_auth/logging/logging.h",
"proximity_auth/logging/logging.cc",
]
},
{
# GN version: //components/proximity_auth/cryptauth/proto
'target_name': 'cryptauth_proto',
'type': 'static_library',
'sources': [
'proximity_auth/cryptauth/proto/cryptauth_api.proto',
'proximity_auth/cryptauth/proto/securemessage.proto',
],
'variables': {
'proto_in_dir': 'proximity_auth/cryptauth/proto',
'proto_out_dir': 'components/proximity_auth/cryptauth/proto',
},
'includes': [ '../build/protoc.gypi' ]
},
{
'target_name': 'cryptauth',
'type': 'static_library',
'include_dirs': [
'..',
],
'dependencies': [
'cryptauth_proto',
'../base/base.gyp:base',
'../crypto/crypto.gyp:crypto',
'../components/components.gyp:gcm_driver',
'../google_apis/google_apis.gyp:google_apis',
'../net/net.gyp:net',
],
'sources': [
"proximity_auth/cryptauth/base64url.cc",
"proximity_auth/cryptauth/base64url.h",
"proximity_auth/cryptauth/cryptauth_access_token_fetcher.h",
"proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.cc",
"proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h",
"proximity_auth/cryptauth/cryptauth_api_call_flow.cc",
"proximity_auth/cryptauth/cryptauth_api_call_flow.h",
"proximity_auth/cryptauth/cryptauth_client.h",
"proximity_auth/cryptauth/cryptauth_client_impl.cc",
"proximity_auth/cryptauth/cryptauth_client_impl.h",
"proximity_auth/cryptauth/cryptauth_device_manager.cc",
"proximity_auth/cryptauth/cryptauth_device_manager.h",
"proximity_auth/cryptauth/cryptauth_enroller.h",
"proximity_auth/cryptauth/cryptauth_enroller_impl.cc",
"proximity_auth/cryptauth/cryptauth_enroller_impl.h",
"proximity_auth/cryptauth/cryptauth_enrollment_manager.cc",
"proximity_auth/cryptauth/cryptauth_enrollment_manager.h",
"proximity_auth/cryptauth/cryptauth_enrollment_utils.cc",
"proximity_auth/cryptauth/cryptauth_gcm_manager.cc",
"proximity_auth/cryptauth/cryptauth_gcm_manager.h",
"proximity_auth/cryptauth/cryptauth_gcm_manager_impl.cc",
"proximity_auth/cryptauth/cryptauth_gcm_manager_impl.h",
"proximity_auth/cryptauth/pref_names.cc",
"proximity_auth/cryptauth/pref_names.h",
"proximity_auth/cryptauth/secure_message_delegate.cc",
"proximity_auth/cryptauth/secure_message_delegate.h",
"proximity_auth/cryptauth/sync_scheduler.cc",
"proximity_auth/cryptauth/sync_scheduler.h",
"proximity_auth/cryptauth/sync_scheduler_impl.cc",
"proximity_auth/cryptauth/sync_scheduler_impl.h",
],
'export_dependent_settings': [
'cryptauth_proto',
],
},
{
'target_name': 'cryptauth_test_support',
'type': 'static_library',
'include_dirs': [
'..',
],
'dependencies': [
'cryptauth_proto',
'../base/base.gyp:base',
'../testing/gmock.gyp:gmock',
],
'sources': [
"proximity_auth/cryptauth/fake_cryptauth_gcm_manager.cc",
"proximity_auth/cryptauth/fake_cryptauth_gcm_manager.h",
"proximity_auth/cryptauth/fake_secure_message_delegate.cc",
"proximity_auth/cryptauth/fake_secure_message_delegate.h",
"proximity_auth/cryptauth/mock_cryptauth_client.cc",
"proximity_auth/cryptauth/mock_cryptauth_client.h",
"proximity_auth/cryptauth/mock_sync_scheduler.cc",
"proximity_auth/cryptauth/mock_sync_scheduler.h",
],
'export_dependent_settings': [
'cryptauth_proto',
],
},
{
# GN version: //components/proximity_auth/webui
'target_name': 'proximity_auth_webui',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../content/content.gyp:content_browser',
'../ui/resources/ui_resources.gyp:ui_resources',
'components_resources.gyp:components_resources',
'cryptauth',
'cryptauth_proto',
'proximity_auth',
],
'include_dirs': [
'..',
],
'sources': [
'proximity_auth/webui/cryptauth_enroller_factory_impl.cc',
'proximity_auth/webui/cryptauth_enroller_factory_impl.h',
'proximity_auth/webui/proximity_auth_ui.cc',
'proximity_auth/webui/proximity_auth_ui.h',
'proximity_auth/webui/proximity_auth_ui_delegate.h',
'proximity_auth/webui/proximity_auth_webui_handler.cc',
'proximity_auth/webui/proximity_auth_webui_handler.h',
'proximity_auth/webui/reachable_phone_flow.cc',
'proximity_auth/webui/reachable_phone_flow.h',
'proximity_auth/webui/url_constants.cc',
'proximity_auth/webui/url_constants.h',
],
},
],
}
|