Apply _RELATIVE relocations ahead of others.
[chromium-blink-merge.git] / components / proximity_auth.gypi
blob41ca37ec230dc73486684ec893918a6556c824a5
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/secure_context.h",
41         "proximity_auth/wire_message.cc",
42         "proximity_auth/wire_message.h",
43       ],
44     },
45     {
46       # GN version: //components/cryptauth/proto
47       'target_name': 'cryptauth_proto',
48       'type': 'static_library',
49       'sources': [
50         'proximity_auth/cryptauth/proto/cryptauth_api.proto',
51       ],
52       'variables': {
53         'proto_in_dir': 'proximity_auth/cryptauth/proto',
54         'proto_out_dir': 'components/proximity_auth/cryptauth/proto',
55       },
56       'includes': [ '../build/protoc.gypi' ]
57     },
58     {
59       'target_name': 'cryptauth',
60       'type': 'static_library',
61       'include_dirs': [
62         '..',
63       ],
64       'dependencies': [
65         '../base/base.gyp:base',
66         '../google_apis/google_apis.gyp:google_apis',
67         '../net/net.gyp:net',
68       ],
69       'sources': [
70         "proximity_auth/cryptauth/cryptauth_api_call_flow.cc",
71         "proximity_auth/cryptauth/cryptauth_api_call_flow.h",
72       ],
73     },
74   ],