Update V8 to version 4.6.35.
[chromium-blink-merge.git] / components / proximity_auth.gypi
blob0cb415036a4d5fb08317481285199bdee4f6f208
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.
6   'targets': [
7     {
8       # GN version: //components/proximity_auth and
9       # //components/proximity_auth/ble.
10       'target_name': 'proximity_auth',
11       'type': 'static_library',
12       'include_dirs': [
13         '..',
14       ],
15       'dependencies': [
16         ':cryptauth',
17         ':proximity_auth_logging',
18         '../base/base.gyp:base',
19         '../base/base.gyp:base_prefs',
20         '../device/bluetooth/bluetooth.gyp:device_bluetooth',
21         '../net/net.gyp:net',
22       ],
23       'sources': [
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",
87       ],
88     },
89     {
90       'target_name': 'proximity_auth_test_support',
91       'type': 'static_library',
92       'include_dirs': [
93         '..',
94       ],
95       'dependencies': [
96         ':cryptauth_test_support',
97         '../base/base.gyp:base',
98       ],
99       'sources': [
100         "proximity_auth/device_to_device_responder_operations.cc",
101         "proximity_auth/device_to_device_responder_operations.h",
102       ],
103     },
104     {
105       # GN version: //components/proximity_auth/logging
106       'target_name': 'proximity_auth_logging',
107       'type': 'static_library',
108       'include_dirs': [
109         '..',
110       ],
111       'dependencies': [
112         '../base/base.gyp:base',
113       ],
114       'sources': [
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",
119       ]
120     },
121     {
122       # GN version: //components/proximity_auth/cryptauth/proto
123       'target_name': 'cryptauth_proto',
124       'type': 'static_library',
125       'sources': [
126         'proximity_auth/cryptauth/proto/cryptauth_api.proto',
127         'proximity_auth/cryptauth/proto/securemessage.proto',
128       ],
129       'variables': {
130         'proto_in_dir': 'proximity_auth/cryptauth/proto',
131         'proto_out_dir': 'components/proximity_auth/cryptauth/proto',
132       },
133       'includes': [ '../build/protoc.gypi' ]
134     },
135     {
136       'target_name': 'cryptauth',
137       'type': 'static_library',
138       'include_dirs': [
139         '..',
140       ],
141       'dependencies': [
142         'cryptauth_proto',
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',
148       ],
149       'sources': [
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",
180       ],
181       'export_dependent_settings': [
182         'cryptauth_proto',
183       ],
184     },
185     {
186       'target_name': 'cryptauth_test_support',
187       'type': 'static_library',
188       'include_dirs': [
189         '..',
190       ],
191       'dependencies': [
192         'cryptauth_proto',
193         '../base/base.gyp:base',
194         '../testing/gmock.gyp:gmock',
195       ],
196       'sources': [
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",
205       ],
206       'export_dependent_settings': [
207         'cryptauth_proto',
208       ],
209     },
210     {
211       # GN version: //components/proximity_auth/webui
212       'target_name': 'proximity_auth_webui',
213       'type': 'static_library',
214       'dependencies': [
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',
219         'cryptauth',
220         'proximity_auth',
221       ],
222       'include_dirs': [
223         '..',
224       ],
225       'sources': [
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',
235       ],
236     },
237   ],