• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
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
17shared_library("bluetooth.default") {
18  # HAL layer
19  sources = [
20    "//btif/src/bluetooth.c",
21  ]
22
23  # platform specific
24  sources += [
25    "bte_main.c",
26    "bte_init.c",
27    "bte_logmsg.c",
28    "bte_conf.c",
29    "stack_config.c",
30  ]
31
32  include_dirs = [
33    "//",
34    "//bta/include",
35    "//bta/sys",
36    "//bta/dm",
37    "//btcore/include",
38    "//include",
39    "//stack/include",
40    "//stack/l2cap",
41    "//stack/a2dp",
42    "//stack/btm",
43    "//stack/avdt",
44    "//hci",
45    "//hci/include",
46    "//udrv/include",
47    "//btif/include",
48    "//btif/co",
49    "//hci/includ",
50    "//vnd/include",
51    "//brcm/include",
52    "//embdrv/sbc/encoder/include",
53    "//embdrv/sbc/decoder/include",
54    "//audio_a2dp_hw",
55    "//utils/include",
56    "//test/suite",
57  ]
58
59  deps = [
60    "//audio_a2dp_hw:audio.a2dp.default",
61    "//bta",
62    "//btcore",
63    "//btif",
64    "//device",
65    "//embdrv/sbc",
66    "//hci",
67    "//osi",
68    "//stack",
69    "//third_party/tinyxml2",
70    "//udrv",
71    "//utils",
72  ]
73
74  cflags_c = [
75    "-Lobj/osi",
76    "-losi",
77  ]
78  libs = [
79    "-ldl",
80    "-lpthread",
81    "-lresolv",
82    "-lrt",
83    "-lz",
84  ]
85}
86