Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / components / proximity_auth.gypi
blobeb4c7d6ce7e9f4fd475ca68c3c950c5727789a72
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/proximity_auth_client.h",
51         "proximity_auth/proximity_auth_system.cc",
52         "proximity_auth/proximity_auth_system.h",
53         "proximity_auth/remote_device.h",
54         "proximity_auth/remote_status_update.cc",
55         "proximity_auth/remote_status_update.h",
56         "proximity_auth/screenlock_bridge.cc",
57         "proximity_auth/screenlock_bridge.h",
58         "proximity_auth/screenlock_state.h",
59         "proximity_auth/secure_context.h",
60         "proximity_auth/switches.cc",
61         "proximity_auth/switches.h",
62         "proximity_auth/throttled_bluetooth_connection_finder.cc",
63         "proximity_auth/throttled_bluetooth_connection_finder.h",
64         "proximity_auth/wire_message.cc",
65         "proximity_auth/wire_message.h",
66       ],
67     },
68     {
69       # GN version: //components/proximity_auth/logging
70       'target_name': 'proximity_auth_logging',
71       'type': 'static_library',
72       'include_dirs': [
73         '..',
74       ],
75       'dependencies': [
76         '../base/base.gyp:base',
77       ],
78       'sources': [
79         "proximity_auth/logging/log_buffer.cc",
80         "proximity_auth/logging/log_buffer.h",
81         "proximity_auth/logging/logging.h",
82         "proximity_auth/logging/logging.cc",
83       ]
84     },
85     {
86       # GN version: //components/proximity_auth/cryptauth/proto
87       'target_name': 'cryptauth_proto',
88       'type': 'static_library',
89       'sources': [
90         'proximity_auth/cryptauth/proto/cryptauth_api.proto',
91         'proximity_auth/cryptauth/proto/securemessage.proto',
92       ],
93       'variables': {
94         'proto_in_dir': 'proximity_auth/cryptauth/proto',
95         'proto_out_dir': 'components/proximity_auth/cryptauth/proto',
96       },
97       'includes': [ '../build/protoc.gypi' ]
98     },
99     {
100       'target_name': 'cryptauth',
101       'type': 'static_library',
102       'include_dirs': [
103         '..',
104       ],
105       'dependencies': [
106         'cryptauth_proto',
107         '../base/base.gyp:base',
108         '../google_apis/google_apis.gyp:google_apis',
109         '../net/net.gyp:net',
110       ],
111       'sources': [
112         "proximity_auth/cryptauth/base64url.cc",
113         "proximity_auth/cryptauth/base64url.h",
114         "proximity_auth/cryptauth/cryptauth_access_token_fetcher.h",
115         "proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.cc",
116         "proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h",
117         "proximity_auth/cryptauth/cryptauth_api_call_flow.cc",
118         "proximity_auth/cryptauth/cryptauth_api_call_flow.h",
119         "proximity_auth/cryptauth/cryptauth_client.h",
120         "proximity_auth/cryptauth/cryptauth_client_impl.cc",
121         "proximity_auth/cryptauth/cryptauth_client_impl.h",
122         "proximity_auth/cryptauth/cryptauth_enroller.h",
123         "proximity_auth/cryptauth/cryptauth_enroller_impl.cc",
124         "proximity_auth/cryptauth/cryptauth_enroller_impl.h",
125         "proximity_auth/cryptauth/cryptauth_enrollment_utils.cc",
126         "proximity_auth/cryptauth/cryptauth_enrollment_utils.h",
127         "proximity_auth/cryptauth/secure_message_delegate.cc",
128         "proximity_auth/cryptauth/secure_message_delegate.h",
129         "proximity_auth/cryptauth/sync_scheduler.cc",
130         "proximity_auth/cryptauth/sync_scheduler.h",
131         "proximity_auth/cryptauth/sync_scheduler_impl.cc",
132         "proximity_auth/cryptauth/sync_scheduler_impl.h",
133       ],
134       'export_dependent_settings': [
135         'cryptauth_proto',
136       ],
137     },
138     {
139       'target_name': 'cryptauth_test_support',
140       'type': 'static_library',
141       'include_dirs': [
142         '..',
143       ],
144       'dependencies': [
145         'cryptauth_proto',
146         '../base/base.gyp:base',
147         '../testing/gmock.gyp:gmock',
148       ],
149       'sources': [
150         "proximity_auth/cryptauth/fake_secure_message_delegate.cc",
151         "proximity_auth/cryptauth/fake_secure_message_delegate.h",
152         "proximity_auth/cryptauth/mock_cryptauth_client.cc",
153         "proximity_auth/cryptauth/mock_cryptauth_client.h",
154       ],
155       'export_dependent_settings': [
156         'cryptauth_proto',
157       ],
158     },
159     {
160       # GN version: //components/proximity_auth/webui
161       'target_name': 'proximity_auth_webui',
162       'type': 'static_library',
163       'dependencies': [
164         '../base/base.gyp:base',
165         '../content/content.gyp:content_browser',
166         '../ui/resources/ui_resources.gyp:ui_resources',
167         'components_resources.gyp:components_resources',
168         'cryptauth',
169         'proximity_auth',
170       ],
171       'include_dirs': [
172         '..',
173       ],
174       'sources': [
175         'proximity_auth/webui/proximity_auth_ui.cc',
176         'proximity_auth/webui/proximity_auth_ui.h',
177         'proximity_auth/webui/proximity_auth_ui_delegate.h',
178         'proximity_auth/webui/proximity_auth_webui_handler.cc',
179         'proximity_auth/webui/proximity_auth_webui_handler.h',
180         'proximity_auth/webui/url_constants.cc',
181         'proximity_auth/webui/url_constants.h',
182       ],
183     },
184   ],