OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'pairing', | 8 'target_name': 'pairing', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'include_dirs': [ | 10 'include_dirs': [ |
11 '..', | 11 '..', |
12 ], | 12 ], |
13 'dependencies': [ | 13 'dependencies': [ |
14 'pairing_api_proto', | 14 'pairing_api_proto', |
15 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
16 '../device/bluetooth/bluetooth.gyp:device_bluetooth', | 16 '../device/bluetooth/bluetooth.gyp:device_bluetooth', |
17 '../net/net.gyp:net', | 17 '../net/net.gyp:net', |
18 ], | 18 ], |
19 'sources': [ | 19 'sources': [ |
20 'pairing/controller_pairing_controller.cc', | 20 'pairing/controller_pairing_controller.cc', |
21 'pairing/controller_pairing_controller.h', | 21 'pairing/controller_pairing_controller.h', |
22 'pairing/fake_controller_pairing_controller.cc', | 22 'pairing/fake_controller_pairing_controller.cc', |
23 'pairing/fake_controller_pairing_controller.h', | 23 'pairing/fake_controller_pairing_controller.h', |
24 'pairing/fake_host_pairing_controller.cc', | 24 'pairing/fake_host_pairing_controller.cc', |
25 'pairing/fake_host_pairing_controller.h', | 25 'pairing/fake_host_pairing_controller.h', |
26 'pairing/host_pairing_controller.cc', | 26 'pairing/host_pairing_controller.cc', |
27 'pairing/host_pairing_controller.h', | 27 'pairing/host_pairing_controller.h', |
28 'pairing/message_buffer.cc', | 28 'pairing/message_buffer.cc', |
29 'pairing/message_buffer.h', | 29 'pairing/message_buffer.h', |
| 30 'pairing/proto_decoder.cc', |
| 31 'pairing/proto_decoder.h', |
30 ], | 32 ], |
31 }, | 33 }, |
32 { | 34 { |
33 # Protobuf compiler / generator for the pairing api protocol buffer. | 35 # Protobuf compiler / generator for the pairing api protocol buffer. |
34 'target_name': 'pairing_api_proto', | 36 'target_name': 'pairing_api_proto', |
35 'type': 'static_library', | 37 'type': 'static_library', |
36 'sources': [ 'pairing/pairing_api.proto' ], | 38 'sources': [ 'pairing/pairing_api.proto' ], |
37 'variables': { | 39 'variables': { |
38 'proto_in_dir': 'pairing', | 40 'proto_in_dir': 'pairing', |
39 'proto_out_dir': 'components/pairing', | 41 'proto_out_dir': 'components/pairing', |
40 }, | 42 }, |
41 'includes': [ '../build/protoc.gypi' ] | 43 'includes': [ '../build/protoc.gypi' ] |
42 }, | 44 }, |
43 ], | 45 ], |
44 } | 46 } |
OLD | NEW |