Add GCMChannelStatusSyncer to schedule requests and enable/disable GCM
[chromium-blink-merge.git] / components / pairing / BUILD.gn
blobc381883bcdf7871c03b7ae71b9f301918cbb4236
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.
5 import("//third_party/protobuf/proto_library.gni")
7 source_set("pairing") {
8   sources = [
9     "pairing/bluetooth_controller_pairing_controller.cc",
10     "pairing/bluetooth_controller_pairing_controller.h",
11     "pairing/bluetooth_host_pairing_controller.cc",
12     "pairing/bluetooth_host_pairing_controller.h",
13     "pairing/bluetooth_pairing_constants.cc",
14     "pairing/bluetooth_pairing_constants.h",
15     "pairing/controller_pairing_controller.cc",
16     "pairing/controller_pairing_controller.h",
17     "pairing/fake_controller_pairing_controller.cc",
18     "pairing/fake_controller_pairing_controller.h",
19     "pairing/fake_host_pairing_controller.cc",
20     "pairing/fake_host_pairing_controller.h",
21     "pairing/host_pairing_controller.cc",
22     "pairing/host_pairing_controller.h",
23     "pairing/message_buffer.cc",
24     "pairing/message_buffer.h",
25     "pairing/proto_decoder.cc",
26     "pairing/proto_decoder.h",
27   ]
29   deps = [
30     "//base",
31     "//device/bluetooth",
32     "//net",
33   ]
36 source_set("unit_tests") {
37   sources = [
38     "message_buffer_unittest.cc",
39   ]
41   deps = [
42     ":pairing",
43     "//testing/gtest",
44   ]
47 proto_library("proto") {
48   sources = [
49     "pairing_api.proto",
50   ]