blob: 6fea47c4b194799e6b1964bc07695b9c9b2626a8 [file] [log] [blame]
Torne (Richard Coles)5f1c9432014-08-12 13:47:38 +01001# 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',
Torne (Richard Coles)6e8cce62014-08-19 13:00:08 +010017 '../net/net.gyp:net',
Torne (Richard Coles)5f1c9432014-08-12 13:47:38 +010018 ],
19 'sources': [
Primiano Tucci1320f922014-09-30 14:45:55 +010020 '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',
Torne (Richard Coles)6e8cce62014-08-19 13:00:08 +010026 'pairing/controller_pairing_controller.cc',
27 'pairing/controller_pairing_controller.h',
Torne (Richard Coles)5f1c9432014-08-12 13:47:38 +010028 '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',
Torne (Richard Coles)5f1c9432014-08-12 13:47:38 +010032 'pairing/host_pairing_controller.cc',
33 'pairing/host_pairing_controller.h',
Torne (Richard Coles)6e8cce62014-08-19 13:00:08 +010034 'pairing/message_buffer.cc',
35 'pairing/message_buffer.h',
36 'pairing/proto_decoder.cc',
37 'pairing/proto_decoder.h',
Primiano Tucci1320f922014-09-30 14:45:55 +010038 'pairing/shark_connection_listener.cc',
39 'pairing/shark_connection_listener.h',
Torne (Richard Coles)5f1c9432014-08-12 13:47:38 +010040 ],
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}