| 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/bluetooth_controller_pairing_controller.cc", | 9 "bluetooth_controller_pairing_controller.cc", |
| 10 "pairing/bluetooth_controller_pairing_controller.h", | 10 "bluetooth_controller_pairing_controller.h", |
| 11 "pairing/bluetooth_host_pairing_controller.cc", | 11 "bluetooth_host_pairing_controller.cc", |
| 12 "pairing/bluetooth_host_pairing_controller.h", | 12 "bluetooth_host_pairing_controller.h", |
| 13 "pairing/bluetooth_pairing_constants.cc", | 13 "bluetooth_pairing_constants.cc", |
| 14 "pairing/bluetooth_pairing_constants.h", | 14 "bluetooth_pairing_constants.h", |
| 15 "pairing/controller_pairing_controller.cc", | 15 "controller_pairing_controller.cc", |
| 16 "pairing/controller_pairing_controller.h", | 16 "controller_pairing_controller.h", |
| 17 "pairing/fake_controller_pairing_controller.cc", | 17 "fake_controller_pairing_controller.cc", |
| 18 "pairing/fake_controller_pairing_controller.h", | 18 "fake_controller_pairing_controller.h", |
| 19 "pairing/fake_host_pairing_controller.cc", | 19 "fake_host_pairing_controller.cc", |
| 20 "pairing/fake_host_pairing_controller.h", | 20 "fake_host_pairing_controller.h", |
| 21 "pairing/host_pairing_controller.cc", | 21 "host_pairing_controller.cc", |
| 22 "pairing/host_pairing_controller.h", | 22 "host_pairing_controller.h", |
| 23 "pairing/message_buffer.cc", | 23 "message_buffer.cc", |
| 24 "pairing/message_buffer.h", | 24 "message_buffer.h", |
| 25 "pairing/proto_decoder.cc", | 25 "proto_decoder.cc", |
| 26 "pairing/proto_decoder.h", | 26 "proto_decoder.h", |
| 27 "shark_connection_listener.cc", |
| 28 "shark_connection_listener.h", |
| 27 ] | 29 ] |
| 28 | 30 |
| 29 deps = [ | 31 deps = [ |
| 30 "//base", | 32 "//base", |
| 31 "//device/bluetooth", | 33 "//device/bluetooth", |
| 32 "//net", | 34 "//net", |
| 35 ":proto", |
| 33 ] | 36 ] |
| 34 } | 37 } |
| 35 | 38 |
| 36 source_set("unit_tests") { | 39 source_set("unit_tests") { |
| 37 testonly = true | 40 testonly = true |
| 38 sources = [ | 41 sources = [ |
| 39 "message_buffer_unittest.cc", | 42 "message_buffer_unittest.cc", |
| 40 ] | 43 ] |
| 41 | 44 |
| 42 deps = [ | 45 deps = [ |
| 43 ":pairing", | 46 ":pairing", |
| 44 "//testing/gtest", | 47 "//testing/gtest", |
| 45 ] | 48 ] |
| 46 } | 49 } |
| 47 | 50 |
| 48 proto_library("proto") { | 51 proto_library("proto") { |
| 49 sources = [ | 52 sources = [ |
| 50 "pairing_api.proto", | 53 "pairing_api.proto", |
| 51 ] | 54 ] |
| 52 } | 55 } |
| OLD | NEW |