GN + Android: extract android_standalone_library rule.
[chromium-blink-merge.git] / components / proximity_auth.gypi
bloba889ddd0d93749d9d26f5c11d511e5e64ae5f19b
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_chromeos.cc",
27         "proximity_auth/bluetooth_util.h",
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/switches.cc",
41         "proximity_auth/switches.h",
42         "proximity_auth/secure_context.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       ],
54       'variables': {
55         'proto_in_dir': 'proximity_auth/cryptauth/proto',
56         'proto_out_dir': 'components/proximity_auth/cryptauth/proto',
57       },
58       'includes': [ '../build/protoc.gypi' ]
59     },
60     {
61       'target_name': 'cryptauth',
62       'type': 'static_library',
63       'include_dirs': [
64         '..',
65       ],
66       'dependencies': [
67         'cryptauth_proto',
68         '../base/base.gyp:base',
69         '../google_apis/google_apis.gyp:google_apis',
70         '../net/net.gyp:net',
71       ],
72       'sources': [
73         "proximity_auth/cryptauth/cryptauth_access_token_fetcher.h",
74         "proximity_auth/cryptauth/cryptauth_api_call_flow.cc",
75         "proximity_auth/cryptauth/cryptauth_api_call_flow.h",
76         "proximity_auth/cryptauth/cryptauth_client.cc",
77         "proximity_auth/cryptauth/cryptauth_client.h",
78       ],
79       'export_dependent_settings': [
80         'cryptauth_proto',
81       ],
82     },
83   ],