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