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