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',
16 ':proximity_auth_logging',
17 '../base/base.gyp:base',
18 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
22 "proximity_auth/ble/bluetooth_low_energy_connection_finder.cc",
23 "proximity_auth/ble/bluetooth_low_energy_connection_finder.h",
24 "proximity_auth/ble/proximity_auth_ble_system.cc",
25 "proximity_auth/ble/proximity_auth_ble_system.h",
26 "proximity_auth/bluetooth_connection.cc",
27 "proximity_auth/bluetooth_connection.h",
28 "proximity_auth/bluetooth_connection_finder.cc",
29 "proximity_auth/bluetooth_connection_finder.h",
30 "proximity_auth/bluetooth_throttler.h",
31 "proximity_auth/bluetooth_throttler_impl.cc",
32 "proximity_auth/bluetooth_throttler_impl.h",
33 "proximity_auth/bluetooth_util.cc",
34 "proximity_auth/bluetooth_util.h",
35 "proximity_auth/bluetooth_util_chromeos.cc",
36 "proximity_auth/client.cc",
37 "proximity_auth/client.h",
38 "proximity_auth/client_observer.h",
39 "proximity_auth/connection.cc",
40 "proximity_auth/connection.h",
41 "proximity_auth/connection_finder.h",
42 "proximity_auth/connection_observer.h",
43 "proximity_auth/proximity_auth_client.h",
44 "proximity_auth/proximity_auth_system.cc",
45 "proximity_auth/proximity_auth_system.h",
46 "proximity_auth/remote_device.h",
47 "proximity_auth/remote_status_update.cc",
48 "proximity_auth/remote_status_update.h",
49 "proximity_auth/screenlock_bridge.cc",
50 "proximity_auth/screenlock_bridge.h",
51 "proximity_auth/secure_context.h",
52 "proximity_auth/switches.cc",
53 "proximity_auth/switches.h",
54 "proximity_auth/throttled_bluetooth_connection_finder.cc",
55 "proximity_auth/throttled_bluetooth_connection_finder.h",
56 "proximity_auth/wire_message.cc",
57 "proximity_auth/wire_message.h",
61 # GN version: //components/proximity_auth/logging
62 'target_name': 'proximity_auth_logging',
63 'type': 'static_library',
68 '../base/base.gyp:base',
71 "proximity_auth/logging/log_buffer.cc",
72 "proximity_auth/logging/log_buffer.h",
73 "proximity_auth/logging/logging.h",
74 "proximity_auth/logging/logging.cc",
78 # GN version: //components/proximity_auth/cryptauth/proto
79 'target_name': 'cryptauth_proto',
80 'type': 'static_library',
82 'proximity_auth/cryptauth/proto/cryptauth_api.proto',
83 'proximity_auth/cryptauth/proto/securemessage.proto',
86 'proto_in_dir': 'proximity_auth/cryptauth/proto',
87 'proto_out_dir': 'components/proximity_auth/cryptauth/proto',
89 'includes': [ '../build/protoc.gypi' ]
92 'target_name': 'cryptauth',
93 'type': 'static_library',
99 '../base/base.gyp:base',
100 '../google_apis/google_apis.gyp:google_apis',
101 '../net/net.gyp:net',
104 "proximity_auth/cryptauth/base64url.cc",
105 "proximity_auth/cryptauth/base64url.h",
106 "proximity_auth/cryptauth/cryptauth_access_token_fetcher.h",
107 "proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.cc",
108 "proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h",
109 "proximity_auth/cryptauth/cryptauth_api_call_flow.cc",
110 "proximity_auth/cryptauth/cryptauth_api_call_flow.h",
111 "proximity_auth/cryptauth/cryptauth_client.h",
112 "proximity_auth/cryptauth/cryptauth_client_impl.cc",
113 "proximity_auth/cryptauth/cryptauth_client_impl.h",
114 "proximity_auth/cryptauth/cryptauth_enroller.h",
115 "proximity_auth/cryptauth/cryptauth_enroller_impl.cc",
116 "proximity_auth/cryptauth/cryptauth_enroller_impl.h",
117 "proximity_auth/cryptauth/cryptauth_enrollment_utils.cc",
118 "proximity_auth/cryptauth/cryptauth_enrollment_utils.h",
119 "proximity_auth/cryptauth/secure_message_delegate.cc",
120 "proximity_auth/cryptauth/secure_message_delegate.h",
122 'export_dependent_settings': [
127 'target_name': 'cryptauth_test_support',
128 'type': 'static_library',
134 '../base/base.gyp:base',
135 '../testing/gmock.gyp:gmock',
138 "proximity_auth/cryptauth/fake_secure_message_delegate.cc",
139 "proximity_auth/cryptauth/fake_secure_message_delegate.h",
140 "proximity_auth/cryptauth/mock_cryptauth_client.cc",
141 "proximity_auth/cryptauth/mock_cryptauth_client.h",
143 'export_dependent_settings': [
148 # GN version: //components/proximity_auth/webui
149 'target_name': 'proximity_auth_webui',
150 'type': 'static_library',
152 '../base/base.gyp:base',
153 '../content/content.gyp:content_browser',
154 '../ui/resources/ui_resources.gyp:ui_resources',
155 'components_resources.gyp:components_resources',
162 'proximity_auth/webui/proximity_auth_ui.cc',
163 'proximity_auth/webui/proximity_auth_ui.h',
164 'proximity_auth/webui/proximity_auth_webui_handler.cc',
165 'proximity_auth/webui/proximity_auth_webui_handler.h',
166 'proximity_auth/webui/url_constants.cc',
167 'proximity_auth/webui/url_constants.h',