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/bluetooth_controller_pairing_controller.cc',
21        'pairing/bluetooth_controller_pairing_controller.h',
22        'pairing/bluetooth_host_pairing_controller.cc',
23        'pairing/bluetooth_host_pairing_controller.h',
24        'pairing/bluetooth_pairing_constants.cc',
25        'pairing/bluetooth_pairing_constants.h',
26        'pairing/controller_pairing_controller.cc',
27        'pairing/controller_pairing_controller.h',
28        'pairing/fake_controller_pairing_controller.cc',
29        'pairing/fake_controller_pairing_controller.h',
30        'pairing/fake_host_pairing_controller.cc',
31        'pairing/fake_host_pairing_controller.h',
32        'pairing/host_pairing_controller.cc',
33        'pairing/host_pairing_controller.h',
34        'pairing/message_buffer.cc',
35        'pairing/message_buffer.h',
36        'pairing/proto_decoder.cc',
37        'pairing/proto_decoder.h',
38        'pairing/shark_connection_listener.cc',
39        'pairing/shark_connection_listener.h',
40      ],
41    },
42    {
43      # Protobuf compiler / generator for the pairing api protocol buffer.
44      'target_name': 'pairing_api_proto',
45      'type': 'static_library',
46      'sources': [ 'pairing/pairing_api.proto' ],
47      'variables': {
48        'proto_in_dir': 'pairing',
49        'proto_out_dir': 'components/pairing',
50      },
51      'includes': [ '../build/protoc.gypi' ]
52    },
53  ],
54}
55