summaryrefslogtreecommitdiffstats
path: root/components/pairing.gypi
blob: 6fea47c4b194799e6b1964bc07695b9c9b2626a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'pairing',
      'type': 'static_library',
      'include_dirs': [
        '..',
      ],
      'dependencies': [
        'pairing_api_proto',
        '../base/base.gyp:base',
        '../device/bluetooth/bluetooth.gyp:device_bluetooth',
        '../net/net.gyp:net',
      ],
      'sources': [
        'pairing/bluetooth_controller_pairing_controller.cc',
        'pairing/bluetooth_controller_pairing_controller.h',
        'pairing/bluetooth_host_pairing_controller.cc',
        'pairing/bluetooth_host_pairing_controller.h',
        'pairing/bluetooth_pairing_constants.cc',
        'pairing/bluetooth_pairing_constants.h',
        'pairing/controller_pairing_controller.cc',
        'pairing/controller_pairing_controller.h',
        'pairing/fake_controller_pairing_controller.cc',
        'pairing/fake_controller_pairing_controller.h',
        'pairing/fake_host_pairing_controller.cc',
        'pairing/fake_host_pairing_controller.h',
        'pairing/host_pairing_controller.cc',
        'pairing/host_pairing_controller.h',
        'pairing/message_buffer.cc',
        'pairing/message_buffer.h',
        'pairing/proto_decoder.cc',
        'pairing/proto_decoder.h',
        'pairing/shark_connection_listener.cc',
        'pairing/shark_connection_listener.h',
      ],
    },
    {
      # Protobuf compiler / generator for the pairing api protocol buffer.
      'target_name': 'pairing_api_proto',
      'type': 'static_library',
      'sources': [ 'pairing/pairing_api.proto' ],
      'variables': {
        'proto_in_dir': 'pairing',
        'proto_out_dir': 'components/pairing',
      },
      'includes': [ '../build/protoc.gypi' ]
    },
  ],
}