Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / components / pairing.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': 'pairing',
9       'type': 'static_library',
10       'include_dirs': [
11         '..',
12       ],
13       'dependencies': [
14         'pairing_api_proto',
15         '../base/base.gyp:base',
16         '../device/bluetooth/bluetooth.gyp:device_bluetooth',
17         '../net/net.gyp:net',
18       ],
19       'sources': [
20         'pairing/controller_pairing_controller.cc',
21         'pairing/controller_pairing_controller.h',
22         'pairing/fake_controller_pairing_controller.cc',
23         'pairing/fake_controller_pairing_controller.h',
24         'pairing/fake_host_pairing_controller.cc',
25         'pairing/fake_host_pairing_controller.h',
26         'pairing/host_pairing_controller.cc',
27         'pairing/host_pairing_controller.h',
28         'pairing/message_buffer.cc',
29         'pairing/message_buffer.h',
30         'pairing/proto_decoder.cc',
31         'pairing/proto_decoder.h',
32       ],
33     },
34     {
35       # Protobuf compiler / generator for the pairing api protocol buffer.
36       'target_name': 'pairing_api_proto',
37       'type': 'static_library',
38       'sources': [ 'pairing/pairing_api.proto' ],
39       'variables': {
40         'proto_in_dir': 'pairing',
41         'proto_out_dir': 'components/pairing',
42       },
43       'includes': [ '../build/protoc.gypi' ]
44     },
45   ],
46 }