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