blob: 5de439d306944a8cf4f03f4017995ca8c6c07bb4 [file] [log] [blame]
Arman Uguray9ca3fb82015-05-26 14:50:36 -07001#
Jakub Pawlowski5b790fe2017-09-18 09:00:20 -07002# Copyright 2015 Google, Inc.
Arman Uguray9ca3fb82015-05-26 14:50:36 -07003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at:
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
Arman Uguray2c494e12015-05-29 14:43:20 -070017static_library("device") {
Scott James Remnant4c292312015-05-12 13:58:49 -070018 sources = [
Pavlin Radoslavovb2a292b2016-10-14 19:34:48 -070019 "src/controller.cc",
Mudumba Ananth57f65082017-02-09 09:05:48 -080020 "src/esco_parameters.cc",
Pavlin Radoslavovb2a292b2016-10-14 19:34:48 -070021 "src/interop.cc",
Scott James Remnant4c292312015-05-12 13:58:49 -070022 ]
23
24 include_dirs = [
25 "//",
Scott James Remnant4c292312015-05-12 13:58:49 -070026 "//btcore/include",
Scott James Remnant4c292312015-05-12 13:58:49 -070027 "//hci/include",
Jakub Pawlowskic4510682017-10-18 04:03:41 -070028 "//internal_include",
Scott James Remnant4c292312015-05-12 13:58:49 -070029 "//stack/include",
30 ]
Jakub Pawlowski71f5b3e2016-12-20 12:55:51 -080031
32 deps = [
33 "//third_party/libchrome:base",
34 ]
Scott James Remnant4c292312015-05-12 13:58:49 -070035}
36
37executable("net_test_device") {
Miao Choue35d6cc2015-05-29 21:16:19 -070038 testonly = true
Scott James Remnant4c292312015-05-12 13:58:49 -070039 sources = [
Jakub Pawlowskie6d12022016-05-12 11:16:46 -070040 "//osi/test/AllocationTestHarness.cc",
Scott James Remnant4c292312015-05-12 13:58:49 -070041 ]
42
Jakub Pawlowskid7a05a02016-02-22 18:04:24 -080043 include_dirs = [ "//" ]
Scott James Remnant4c292312015-05-12 13:58:49 -070044
45 deps = [
46 "//device",
47 "//btcore",
48 "//osi",
Jakub Pawlowskid7a05a02016-02-22 18:04:24 -080049 "//third_party/googletest:gtest_main",
Jakub Pawlowski71f5b3e2016-12-20 12:55:51 -080050 "//third_party/libchrome:base",
Scott James Remnant4c292312015-05-12 13:58:49 -070051 ]
52
Jakub Pawlowskid7a05a02016-02-22 18:04:24 -080053 libs = [
54 "-lpthread",
55 "-lrt",
56 "-ldl",
57 ]
Scott James Remnant4c292312015-05-12 13:58:49 -070058}