ba5d3b0edb8fbaef926133c50b813550e696d49e
[platform/framework/web/crosswalk.git] / src / components / proximity_auth.gypi
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.
4
5 {
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         '../base/base.gyp:base',
68         '../google_apis/google_apis.gyp:google_apis',
69         '../net/net.gyp:net',
70       ],
71       'sources': [
72         "proximity_auth/cryptauth/cryptauth_api_call_flow.cc",
73         "proximity_auth/cryptauth/cryptauth_api_call_flow.h",
74       ],
75     },
76   ],
77 }