Include the proper animated gif for thread_times.key_idle_power_cases
[chromium-blink-merge.git] / components / proximity_auth.gypi
blobfb039e77409a92153df08494477a2c9441038461
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_manager.cc",
126         "proximity_auth/cryptauth/cryptauth_enrollment_manager.h",
127         "proximity_auth/cryptauth/cryptauth_enrollment_utils.cc",
128         "proximity_auth/cryptauth/pref_names.cc",
129         "proximity_auth/cryptauth/pref_names.h",
130         "proximity_auth/cryptauth/secure_message_delegate.cc",
131         "proximity_auth/cryptauth/secure_message_delegate.h",
132         "proximity_auth/cryptauth/sync_scheduler.cc",
133         "proximity_auth/cryptauth/sync_scheduler.h",
134         "proximity_auth/cryptauth/sync_scheduler_impl.cc",
135         "proximity_auth/cryptauth/sync_scheduler_impl.h",
136       ],
137       'export_dependent_settings': [
138         'cryptauth_proto',
139       ],
140     },
141     {
142       'target_name': 'cryptauth_test_support',
143       'type': 'static_library',
144       'include_dirs': [
145         '..',
146       ],
147       'dependencies': [
148         'cryptauth_proto',
149         '../base/base.gyp:base',
150         '../testing/gmock.gyp:gmock',
151       ],
152       'sources': [
153         "proximity_auth/cryptauth/fake_secure_message_delegate.cc",
154         "proximity_auth/cryptauth/fake_secure_message_delegate.h",
155         "proximity_auth/cryptauth/mock_cryptauth_client.cc",
156         "proximity_auth/cryptauth/mock_cryptauth_client.h",
157         "proximity_auth/cryptauth/mock_sync_scheduler.cc",
158         "proximity_auth/cryptauth/mock_sync_scheduler.h",
159       ],
160       'export_dependent_settings': [
161         'cryptauth_proto',
162       ],
163     },
164     {
165       # GN version: //components/proximity_auth/webui
166       'target_name': 'proximity_auth_webui',
167       'type': 'static_library',
168       'dependencies': [
169         '../base/base.gyp:base',
170         '../content/content.gyp:content_browser',
171         '../ui/resources/ui_resources.gyp:ui_resources',
172         'components_resources.gyp:components_resources',
173         'cryptauth',
174         'proximity_auth',
175       ],
176       'include_dirs': [
177         '..',
178       ],
179       'sources': [
180         'proximity_auth/webui/proximity_auth_ui.cc',
181         'proximity_auth/webui/proximity_auth_ui.h',
182         'proximity_auth/webui/proximity_auth_ui_delegate.h',
183         'proximity_auth/webui/proximity_auth_webui_handler.cc',
184         'proximity_auth/webui/proximity_auth_webui_handler.h',
185         'proximity_auth/webui/url_constants.cc',
186         'proximity_auth/webui/url_constants.h',
187       ],
188     },
189   ],