| 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 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
| 6 | 6 |
| 7 source_set("pairing") { | 7 source_set("pairing") { |
| 8 sources = [ | 8 sources = [ |
| 9 "pairing/fake_controller_pairing_controller.cc", | 9 "pairing/fake_controller_pairing_controller.cc", |
| 10 "pairing/fake_controller_pairing_controller.h", | 10 "pairing/fake_controller_pairing_controller.h", |
| 11 "pairing/fake_host_pairing_controller.cc", | 11 "pairing/fake_host_pairing_controller.cc", |
| 12 "pairing/fake_host_pairing_controller.h", | 12 "pairing/fake_host_pairing_controller.h", |
| 13 "pairing/controller_pairing_controller.cc", | 13 "pairing/controller_pairing_controller.cc", |
| 14 "pairing/controller_pairing_controller.h", | 14 "pairing/controller_pairing_controller.h", |
| 15 "pairing/host_pairing_controller.cc", | 15 "pairing/host_pairing_controller.cc", |
| 16 "pairing/host_pairing_controller.h", | 16 "pairing/host_pairing_controller.h", |
| 17 "pairing/message_buffer.cc", | 17 "pairing/message_buffer.cc", |
| 18 "pairing/message_buffer.h", | 18 "pairing/message_buffer.h", |
| 19 "pairing/proto_decoder.cc", |
| 20 "pairing/proto_decoder.h", |
| 19 ] | 21 ] |
| 20 | 22 |
| 21 deps = [ | 23 deps = [ |
| 22 "//base", | 24 "//base", |
| 23 "//device/bluetooth", | 25 "//device/bluetooth", |
| 24 "//net", | 26 "//net", |
| 25 ] | 27 ] |
| 26 } | 28 } |
| 27 | 29 |
| 28 source_set("unit_tests") { | 30 source_set("unit_tests") { |
| 29 sources = [ | 31 sources = [ |
| 30 "message_buffer_unittest.cc", | 32 "message_buffer_unittest.cc", |
| 31 ] | 33 ] |
| 32 | 34 |
| 33 deps = [ | 35 deps = [ |
| 34 ":pairing", | 36 ":pairing", |
| 35 "//testing/gtest", | 37 "//testing/gtest", |
| 36 ] | 38 ] |
| 37 } | 39 } |
| 38 | 40 |
| 39 proto_library("proto") { | 41 proto_library("proto") { |
| 40 sources = [ | 42 sources = [ |
| 41 "pairing_api.proto", | 43 "pairing_api.proto", |
| 42 ] | 44 ] |
| 43 'proto_in_dir' = 'pairing' | 45 'proto_in_dir' = 'pairing' |
| 44 'proto_out_dir' = 'components/pairing' | 46 'proto_out_dir' = 'components/pairing' |
| 45 } | 47 } |
| OLD | NEW |