blob: 08c5cb24ba872b680250682372d7cb5ad4cf593f [file] [log] [blame]
Arman Uguray9ca3fb82015-05-26 14:50:36 -07001#
2# Copyright (C) 2015 Google, Inc.
3#
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
Scott James Remnant4c292312015-05-12 13:58:49 -070017source_set("btcore") {
18 sources = [
19 "src/bdaddr.c",
20 "src/counter.c",
21 "src/device_class.c",
22 "src/module.c",
23 "src/property.c",
24 "src/uuid.c",
25 ]
26
27 include_dirs = [
28 "include",
29 "//osi/include",
30 "//",
31 ]
32}
33
34executable("net_test_btcore") {
35 sources = [
36 "test/bdaddr_test.cpp",
37 "test/counter_test.cpp",
38 "test/device_class_test.cpp",
39 "test/property_test.cpp",
40 "test/uuid_test.cpp",
41 "//osi/test/AllocationTestHarness.cpp",
42 ]
43
44 include_dirs = [
45 "include",
46 "//",
47 ]
48
49 deps = [
50 "//btcore",
51 "//osi",
52 ]
53
54 libs = [ "-lpthread", "-lrt", "-ldl" ]
55}