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