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