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.
8 # GN version: //components/proximity_auth and
9 # //components/proximity_auth/ble.
10 'target_name': 'proximity_auth',
11 'type': 'static_library',
17 ':proximity_auth_logging',
18 '../base/base.gyp:base',
19 '../base/base.gyp:base_prefs',
20 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
24 "proximity_auth/authenticator.h",
25 "proximity_auth/ble/bluetooth_low_energy_characteristics_finder.cc",
26 "proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h",
27 "proximity_auth/ble/bluetooth_low_energy_connection.cc",
28 "proximity_auth/ble/bluetooth_low_energy_connection.h",
29 "proximity_auth/ble/bluetooth_low_energy_connection_finder.cc",
30 "proximity_auth/ble/bluetooth_low_energy_connection_finder.h",
31 "proximity_auth/ble/bluetooth_low_energy_device_whitelist.cc",
32 "proximity_auth/ble/bluetooth_low_energy_device_whitelist.h",
33 "proximity_auth/ble/remote_attribute.h",
34 "proximity_auth/ble/fake_wire_message.cc",
35 "proximity_auth/ble/fake_wire_message.h",
36 "proximity_auth/ble/pref_names.cc",
37 "proximity_auth/ble/pref_names.h",
38 "proximity_auth/ble/proximity_auth_ble_system.cc",
39 "proximity_auth/ble/proximity_auth_ble_system.h",
40 "proximity_auth/bluetooth_connection.cc",
41 "proximity_auth/bluetooth_connection.h",
42 "proximity_auth/bluetooth_connection_finder.cc",
43 "proximity_auth/bluetooth_connection_finder.h",
44 "proximity_auth/bluetooth_throttler.h",
45 "proximity_auth/bluetooth_throttler_impl.cc",
46 "proximity_auth/bluetooth_throttler_impl.h",
47 "proximity_auth/bluetooth_util.cc",
48 "proximity_auth/bluetooth_util.h",
49 "proximity_auth/bluetooth_util_chromeos.cc",
50 "proximity_auth/client.h",
51 "proximity_auth/client_impl.cc",
52 "proximity_auth/client_impl.h",
53 "proximity_auth/client_observer.h",
54 "proximity_auth/connection.cc",
55 "proximity_auth/connection.h",
56 "proximity_auth/connection_finder.h",
57 "proximity_auth/connection_observer.h",
58 "proximity_auth/device_to_device_authenticator.cc",
59 "proximity_auth/device_to_device_authenticator.h",
60 "proximity_auth/device_to_device_initiator_operations.cc",
61 "proximity_auth/device_to_device_initiator_operations.h",
62 "proximity_auth/device_to_device_secure_context.cc",
63 "proximity_auth/device_to_device_secure_context.h",
64 "proximity_auth/metrics.cc",
65 "proximity_auth/metrics.h",
66 "proximity_auth/proximity_auth_client.h",
67 "proximity_auth/proximity_auth_system.cc",
68 "proximity_auth/proximity_auth_system.h",
69 "proximity_auth/proximity_monitor.h",
70 "proximity_auth/proximity_monitor_impl.cc",
71 "proximity_auth/proximity_monitor_impl.h",
72 "proximity_auth/proximity_monitor_observer.h",
73 "proximity_auth/remote_device.cc",
74 "proximity_auth/remote_device.h",
75 "proximity_auth/remote_status_update.cc",
76 "proximity_auth/remote_status_update.h",
77 "proximity_auth/screenlock_bridge.cc",
78 "proximity_auth/screenlock_bridge.h",
79 "proximity_auth/screenlock_state.h",
80 "proximity_auth/secure_context.h",
81 "proximity_auth/switches.cc",
82 "proximity_auth/switches.h",
83 "proximity_auth/throttled_bluetooth_connection_finder.cc",
84 "proximity_auth/throttled_bluetooth_connection_finder.h",
85 "proximity_auth/wire_message.cc",
86 "proximity_auth/wire_message.h",
90 'target_name': 'proximity_auth_test_support',
91 'type': 'static_library',
96 ':cryptauth_test_support',
97 '../base/base.gyp:base',
100 "proximity_auth/device_to_device_responder_operations.cc",
101 "proximity_auth/device_to_device_responder_operations.h",
105 # GN version: //components/proximity_auth/logging
106 'target_name': 'proximity_auth_logging',
107 'type': 'static_library',
112 '../base/base.gyp:base',
115 "proximity_auth/logging/log_buffer.cc",
116 "proximity_auth/logging/log_buffer.h",
117 "proximity_auth/logging/logging.h",
118 "proximity_auth/logging/logging.cc",
122 # GN version: //components/proximity_auth/cryptauth/proto
123 'target_name': 'cryptauth_proto',
124 'type': 'static_library',
126 'proximity_auth/cryptauth/proto/cryptauth_api.proto',
127 'proximity_auth/cryptauth/proto/securemessage.proto',
130 'proto_in_dir': 'proximity_auth/cryptauth/proto',
131 'proto_out_dir': 'components/proximity_auth/cryptauth/proto',
133 'includes': [ '../build/protoc.gypi' ]
136 'target_name': 'cryptauth',
137 'type': 'static_library',
143 '../base/base.gyp:base',
144 '../crypto/crypto.gyp:crypto',
145 '../components/components.gyp:gcm_driver',
146 '../google_apis/google_apis.gyp:google_apis',
147 '../net/net.gyp:net',
150 "proximity_auth/cryptauth/base64url.cc",
151 "proximity_auth/cryptauth/base64url.h",
152 "proximity_auth/cryptauth/cryptauth_access_token_fetcher.h",
153 "proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.cc",
154 "proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h",
155 "proximity_auth/cryptauth/cryptauth_api_call_flow.cc",
156 "proximity_auth/cryptauth/cryptauth_api_call_flow.h",
157 "proximity_auth/cryptauth/cryptauth_client.h",
158 "proximity_auth/cryptauth/cryptauth_client_impl.cc",
159 "proximity_auth/cryptauth/cryptauth_client_impl.h",
160 "proximity_auth/cryptauth/cryptauth_device_manager.cc",
161 "proximity_auth/cryptauth/cryptauth_device_manager.h",
162 "proximity_auth/cryptauth/cryptauth_enroller.h",
163 "proximity_auth/cryptauth/cryptauth_enroller_impl.cc",
164 "proximity_auth/cryptauth/cryptauth_enroller_impl.h",
165 "proximity_auth/cryptauth/cryptauth_enrollment_manager.cc",
166 "proximity_auth/cryptauth/cryptauth_enrollment_manager.h",
167 "proximity_auth/cryptauth/cryptauth_enrollment_utils.cc",
168 "proximity_auth/cryptauth/cryptauth_gcm_manager.cc",
169 "proximity_auth/cryptauth/cryptauth_gcm_manager.h",
170 "proximity_auth/cryptauth/cryptauth_gcm_manager_impl.cc",
171 "proximity_auth/cryptauth/cryptauth_gcm_manager_impl.h",
172 "proximity_auth/cryptauth/pref_names.cc",
173 "proximity_auth/cryptauth/pref_names.h",
174 "proximity_auth/cryptauth/secure_message_delegate.cc",
175 "proximity_auth/cryptauth/secure_message_delegate.h",
176 "proximity_auth/cryptauth/sync_scheduler.cc",
177 "proximity_auth/cryptauth/sync_scheduler.h",
178 "proximity_auth/cryptauth/sync_scheduler_impl.cc",
179 "proximity_auth/cryptauth/sync_scheduler_impl.h",
181 'export_dependent_settings': [
186 'target_name': 'cryptauth_test_support',
187 'type': 'static_library',
193 '../base/base.gyp:base',
194 '../testing/gmock.gyp:gmock',
197 "proximity_auth/cryptauth/fake_cryptauth_gcm_manager.cc",
198 "proximity_auth/cryptauth/fake_cryptauth_gcm_manager.h",
199 "proximity_auth/cryptauth/fake_secure_message_delegate.cc",
200 "proximity_auth/cryptauth/fake_secure_message_delegate.h",
201 "proximity_auth/cryptauth/mock_cryptauth_client.cc",
202 "proximity_auth/cryptauth/mock_cryptauth_client.h",
203 "proximity_auth/cryptauth/mock_sync_scheduler.cc",
204 "proximity_auth/cryptauth/mock_sync_scheduler.h",
206 'export_dependent_settings': [
211 # GN version: //components/proximity_auth/webui
212 'target_name': 'proximity_auth_webui',
213 'type': 'static_library',
215 '../base/base.gyp:base',
216 '../content/content.gyp:content_browser',
217 '../ui/resources/ui_resources.gyp:ui_resources',
218 'components_resources.gyp:components_resources',
226 'proximity_auth/webui/cryptauth_enroller_factory_impl.cc',
227 'proximity_auth/webui/cryptauth_enroller_factory_impl.h',
228 'proximity_auth/webui/proximity_auth_ui.cc',
229 'proximity_auth/webui/proximity_auth_ui.h',
230 'proximity_auth/webui/proximity_auth_ui_delegate.h',
231 'proximity_auth/webui/proximity_auth_webui_handler.cc',
232 'proximity_auth/webui/proximity_auth_webui_handler.h',
233 'proximity_auth/webui/url_constants.cc',
234 'proximity_auth/webui/url_constants.h',