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