[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / components / proximity_auth.gypi
blob1541ddb6fd2bf3c42dac9d669dfe662487744968
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       'target_name': 'proximity_auth',
9       'type': 'static_library',
10       'include_dirs': [
11         '..',
12       ],
13       'dependencies': [
14         '../base/base.gyp:base',
15         '../device/bluetooth/bluetooth.gyp:device_bluetooth',
16         '../net/net.gyp:net',
17       ],
18       'sources': [
19         "proximity_auth/base64url.cc",
20         "proximity_auth/base64url.h",
21         "proximity_auth/bluetooth_connection.cc",
22         "proximity_auth/bluetooth_connection.h",
23         "proximity_auth/bluetooth_connection_finder.cc",
24         "proximity_auth/bluetooth_connection_finder.h",
25         "proximity_auth/bluetooth_util.cc",
26         "proximity_auth/bluetooth_util.h",
27         "proximity_auth/bluetooth_util_chromeos.cc",
28         "proximity_auth/client.cc",
29         "proximity_auth/client.h",
30         "proximity_auth/client_observer.h",
31         "proximity_auth/connection.cc",
32         "proximity_auth/connection.h",
33         "proximity_auth/connection_finder.h",
34         "proximity_auth/connection_observer.h",
35         "proximity_auth/proximity_auth_system.cc",
36         "proximity_auth/proximity_auth_system.h",
37         "proximity_auth/remote_device.h",
38         "proximity_auth/remote_status_update.cc",
39         "proximity_auth/remote_status_update.h",
40         "proximity_auth/secure_context.h",
41         "proximity_auth/switches.cc",
42         "proximity_auth/switches.h",
43         "proximity_auth/wire_message.cc",
44         "proximity_auth/wire_message.h",
45       ],
46     },
47     {
48       # GN version: //components/cryptauth/proto
49       'target_name': 'cryptauth_proto',
50       'type': 'static_library',
51       'sources': [
52         'proximity_auth/cryptauth/proto/cryptauth_api.proto',
53         'proximity_auth/cryptauth/proto/securemessage.proto',
54       ],
55       'variables': {
56         'proto_in_dir': 'proximity_auth/cryptauth/proto',
57         'proto_out_dir': 'components/proximity_auth/cryptauth/proto',
58       },
59       'includes': [ '../build/protoc.gypi' ]
60     },
61     {
62       'target_name': 'cryptauth',
63       'type': 'static_library',
64       'include_dirs': [
65         '..',
66       ],
67       'dependencies': [
68         'cryptauth_proto',
69         '../base/base.gyp:base',
70         '../google_apis/google_apis.gyp:google_apis',
71         '../net/net.gyp:net',
72       ],
73       'sources': [
74         "proximity_auth/cryptauth/cryptauth_access_token_fetcher.h",
75         "proximity_auth/cryptauth/cryptauth_account_token_fetcher.cc",
76         "proximity_auth/cryptauth/cryptauth_account_token_fetcher.h",
77         "proximity_auth/cryptauth/cryptauth_api_call_flow.cc",
78         "proximity_auth/cryptauth/cryptauth_api_call_flow.h",
79         "proximity_auth/cryptauth/cryptauth_client.cc",
80         "proximity_auth/cryptauth/cryptauth_client.h",
81         "proximity_auth/cryptauth/cryptauth_client_factory.cc",
82         "proximity_auth/cryptauth/cryptauth_client_factory.h",
83         "proximity_auth/cryptauth/cryptauth_enrollment_utils.cc",
84         "proximity_auth/cryptauth/cryptauth_enrollment_utils.h",
85         "proximity_auth/cryptauth/secure_message_delegate.cc",
86         "proximity_auth/cryptauth/secure_message_delegate.h",
87       ],
88       'export_dependent_settings': [
89         'cryptauth_proto',
90       ],
91     },
92     {
93       'target_name': 'cryptauth_test_support',
94       'type': 'static_library',
95       'include_dirs': [
96         '..',
97       ],
98       'dependencies': [
99         'cryptauth_proto',
100         '../base/base.gyp:base',
101       ],
102       'sources': [
103         "proximity_auth/cryptauth/fake_secure_message_delegate.cc",
104         "proximity_auth/cryptauth/fake_secure_message_delegate.h",
105       ],
106       'export_dependent_settings': [
107         'cryptauth_proto',
108       ],
109     },
110   ],