Implements RLZTrackerDelegate on iOS.
[chromium-blink-merge.git] / components / proximity_auth.gypi
blobeaa9353b15f61f790eb5aacbbb7f91521c818e16
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/ble/bluetooth_low_energy_characteristics_finder.cc",
25         "proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h",
26         "proximity_auth/ble/bluetooth_low_energy_connection.cc",
27         "proximity_auth/ble/bluetooth_low_energy_connection.h",
28         "proximity_auth/ble/bluetooth_low_energy_connection_finder.cc",
29         "proximity_auth/ble/bluetooth_low_energy_connection_finder.h",
30         "proximity_auth/ble/bluetooth_low_energy_device_whitelist.cc",
31         "proximity_auth/ble/bluetooth_low_energy_device_whitelist.h",
32         "proximity_auth/ble/remote_attribute.h",
33         "proximity_auth/ble/fake_wire_message.cc",
34         "proximity_auth/ble/fake_wire_message.h",
35         "proximity_auth/ble/pref_names.cc",
36         "proximity_auth/ble/pref_names.h",
37         "proximity_auth/ble/proximity_auth_ble_system.cc",
38         "proximity_auth/ble/proximity_auth_ble_system.h",
39         "proximity_auth/bluetooth_connection.cc",
40         "proximity_auth/bluetooth_connection.h",
41         "proximity_auth/bluetooth_connection_finder.cc",
42         "proximity_auth/bluetooth_connection_finder.h",
43         "proximity_auth/bluetooth_throttler.h",
44         "proximity_auth/bluetooth_throttler_impl.cc",
45         "proximity_auth/bluetooth_throttler_impl.h",
46         "proximity_auth/bluetooth_util.cc",
47         "proximity_auth/bluetooth_util.h",
48         "proximity_auth/bluetooth_util_chromeos.cc",
49         "proximity_auth/client.h",
50         "proximity_auth/client_impl.cc",
51         "proximity_auth/client_impl.h",
52         "proximity_auth/client_observer.h",
53         "proximity_auth/connection.cc",
54         "proximity_auth/connection.h",
55         "proximity_auth/connection_finder.h",
56         "proximity_auth/connection_observer.h",
57         "proximity_auth/metrics.cc",
58         "proximity_auth/metrics.h",
59         "proximity_auth/proximity_auth_client.h",
60         "proximity_auth/proximity_auth_system.cc",
61         "proximity_auth/proximity_auth_system.h",
62         "proximity_auth/proximity_monitor.h",
63         "proximity_auth/proximity_monitor_impl.cc",
64         "proximity_auth/proximity_monitor_impl.h",
65         "proximity_auth/proximity_monitor_observer.h",
66         "proximity_auth/remote_device.h",
67         "proximity_auth/remote_status_update.cc",
68         "proximity_auth/remote_status_update.h",
69         "proximity_auth/screenlock_bridge.cc",
70         "proximity_auth/screenlock_bridge.h",
71         "proximity_auth/screenlock_state.h",
72         "proximity_auth/secure_context.h",
73         "proximity_auth/switches.cc",
74         "proximity_auth/switches.h",
75         "proximity_auth/throttled_bluetooth_connection_finder.cc",
76         "proximity_auth/throttled_bluetooth_connection_finder.h",
77         "proximity_auth/wire_message.cc",
78         "proximity_auth/wire_message.h",
79       ],
80     },
81     {
82       # GN version: //components/proximity_auth/logging
83       'target_name': 'proximity_auth_logging',
84       'type': 'static_library',
85       'include_dirs': [
86         '..',
87       ],
88       'dependencies': [
89         '../base/base.gyp:base',
90       ],
91       'sources': [
92         "proximity_auth/logging/log_buffer.cc",
93         "proximity_auth/logging/log_buffer.h",
94         "proximity_auth/logging/logging.h",
95         "proximity_auth/logging/logging.cc",
96       ]
97     },
98     {
99       # GN version: //components/proximity_auth/cryptauth/proto
100       'target_name': 'cryptauth_proto',
101       'type': 'static_library',
102       'sources': [
103         'proximity_auth/cryptauth/proto/cryptauth_api.proto',
104         'proximity_auth/cryptauth/proto/securemessage.proto',
105       ],
106       'variables': {
107         'proto_in_dir': 'proximity_auth/cryptauth/proto',
108         'proto_out_dir': 'components/proximity_auth/cryptauth/proto',
109       },
110       'includes': [ '../build/protoc.gypi' ]
111     },
112     {
113       'target_name': 'cryptauth',
114       'type': 'static_library',
115       'include_dirs': [
116         '..',
117       ],
118       'dependencies': [
119         'cryptauth_proto',
120         '../base/base.gyp:base',
121         '../crypto/crypto.gyp:crypto',
122         '../components/components.gyp:gcm_driver',
123         '../google_apis/google_apis.gyp:google_apis',
124         '../net/net.gyp:net',
125       ],
126       'sources': [
127         "proximity_auth/cryptauth/base64url.cc",
128         "proximity_auth/cryptauth/base64url.h",
129         "proximity_auth/cryptauth/cryptauth_access_token_fetcher.h",
130         "proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.cc",
131         "proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h",
132         "proximity_auth/cryptauth/cryptauth_api_call_flow.cc",
133         "proximity_auth/cryptauth/cryptauth_api_call_flow.h",
134         "proximity_auth/cryptauth/cryptauth_client.h",
135         "proximity_auth/cryptauth/cryptauth_client_impl.cc",
136         "proximity_auth/cryptauth/cryptauth_client_impl.h",
137         "proximity_auth/cryptauth/cryptauth_device_manager.cc",
138         "proximity_auth/cryptauth/cryptauth_device_manager.h",
139         "proximity_auth/cryptauth/cryptauth_enroller.h",
140         "proximity_auth/cryptauth/cryptauth_enroller_impl.cc",
141         "proximity_auth/cryptauth/cryptauth_enroller_impl.h",
142         "proximity_auth/cryptauth/cryptauth_enrollment_manager.cc",
143         "proximity_auth/cryptauth/cryptauth_enrollment_manager.h",
144         "proximity_auth/cryptauth/cryptauth_enrollment_utils.cc",
145         "proximity_auth/cryptauth/cryptauth_gcm_manager.cc",
146         "proximity_auth/cryptauth/cryptauth_gcm_manager.h",
147         "proximity_auth/cryptauth/cryptauth_gcm_manager_impl.cc",
148         "proximity_auth/cryptauth/cryptauth_gcm_manager_impl.h",
149         "proximity_auth/cryptauth/pref_names.cc",
150         "proximity_auth/cryptauth/pref_names.h",
151         "proximity_auth/cryptauth/secure_message_delegate.cc",
152         "proximity_auth/cryptauth/secure_message_delegate.h",
153         "proximity_auth/cryptauth/sync_scheduler.cc",
154         "proximity_auth/cryptauth/sync_scheduler.h",
155         "proximity_auth/cryptauth/sync_scheduler_impl.cc",
156         "proximity_auth/cryptauth/sync_scheduler_impl.h",
157       ],
158       'export_dependent_settings': [
159         'cryptauth_proto',
160       ],
161     },
162     {
163       'target_name': 'cryptauth_test_support',
164       'type': 'static_library',
165       'include_dirs': [
166         '..',
167       ],
168       'dependencies': [
169         'cryptauth_proto',
170         '../base/base.gyp:base',
171         '../testing/gmock.gyp:gmock',
172       ],
173       'sources': [
174         "proximity_auth/cryptauth/fake_secure_message_delegate.cc",
175         "proximity_auth/cryptauth/fake_secure_message_delegate.h",
176         "proximity_auth/cryptauth/mock_cryptauth_client.cc",
177         "proximity_auth/cryptauth/mock_cryptauth_client.h",
178         "proximity_auth/cryptauth/mock_sync_scheduler.cc",
179         "proximity_auth/cryptauth/mock_sync_scheduler.h",
180       ],
181       'export_dependent_settings': [
182         'cryptauth_proto',
183       ],
184     },
185     {
186       # GN version: //components/proximity_auth/webui
187       'target_name': 'proximity_auth_webui',
188       'type': 'static_library',
189       'dependencies': [
190         '../base/base.gyp:base',
191         '../content/content.gyp:content_browser',
192         '../ui/resources/ui_resources.gyp:ui_resources',
193         'components_resources.gyp:components_resources',
194         'cryptauth',
195         'proximity_auth',
196       ],
197       'include_dirs': [
198         '..',
199       ],
200       'sources': [
201         'proximity_auth/webui/cryptauth_enroller_factory_impl.cc',
202         'proximity_auth/webui/cryptauth_enroller_factory_impl.h',
203         'proximity_auth/webui/proximity_auth_ui.cc',
204         'proximity_auth/webui/proximity_auth_ui.h',
205         'proximity_auth/webui/proximity_auth_ui_delegate.h',
206         'proximity_auth/webui/proximity_auth_webui_handler.cc',
207         'proximity_auth/webui/proximity_auth_webui_handler.h',
208         'proximity_auth/webui/url_constants.cc',
209         'proximity_auth/webui/url_constants.h',
210       ],
211     },
212   ],