Torne (Richard Coles) | 5f1c943 | 2014-08-12 13:47:38 +0100 | [diff] [blame] | 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', |
Torne (Richard Coles) | 6e8cce6 | 2014-08-19 13:00:08 +0100 | [diff] [blame] | 17 | '../net/net.gyp:net', |
Torne (Richard Coles) | 5f1c943 | 2014-08-12 13:47:38 +0100 | [diff] [blame] | 18 | ], |
| 19 | 'sources': [ |
Primiano Tucci | 1320f92 | 2014-09-30 14:45:55 +0100 | [diff] [blame] | 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', |
Torne (Richard Coles) | 6e8cce6 | 2014-08-19 13:00:08 +0100 | [diff] [blame] | 26 | 'pairing/controller_pairing_controller.cc', |
| 27 | 'pairing/controller_pairing_controller.h', |
Torne (Richard Coles) | 5f1c943 | 2014-08-12 13:47:38 +0100 | [diff] [blame] | 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', |
Torne (Richard Coles) | 5f1c943 | 2014-08-12 13:47:38 +0100 | [diff] [blame] | 32 | 'pairing/host_pairing_controller.cc', |
| 33 | 'pairing/host_pairing_controller.h', |
Torne (Richard Coles) | 6e8cce6 | 2014-08-19 13:00:08 +0100 | [diff] [blame] | 34 | 'pairing/message_buffer.cc', |
| 35 | 'pairing/message_buffer.h', |
| 36 | 'pairing/proto_decoder.cc', |
| 37 | 'pairing/proto_decoder.h', |
Primiano Tucci | 1320f92 | 2014-09-30 14:45:55 +0100 | [diff] [blame] | 38 | 'pairing/shark_connection_listener.cc', |
| 39 | 'pairing/shark_connection_listener.h', |
Torne (Richard Coles) | 5f1c943 | 2014-08-12 13:47:38 +0100 | [diff] [blame] | 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 | } |