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