• 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
17static_library("btif") {
18  sources = [
19    "src/btif_av.c",
20
21    #TODO(jpawlowski): heavily depends on Android,
22    #   "src/btif_avrcp_audio_track.cpp",
23    "src/btif_config.c",
24    "src/btif_core.c",
25    "src/btif_debug.c",
26    "src/btif_debug_btsnoop.c",
27    "src/btif_debug_conn.c",
28    "src/btif_dm.c",
29    "src/btif_gatt.c",
30    "src/btif_gatt_client.c",
31    "src/btif_gatt_multi_adv_util.c",
32    "src/btif_gatt_server.c",
33    "src/btif_gatt_test.c",
34    "src/btif_gatt_util.c",
35    "src/btif_hf.c",
36    "src/btif_hf_client.c",
37    "src/btif_hh.c",
38    "src/btif_hl.c",
39    "src/btif_mce.c",
40    "src/btif_media_task.c",
41    "src/btif_pan.c",
42    "src/btif_profile_queue.c",
43    "src/btif_rc.c",
44    "src/btif_sdp.c",
45    "src/btif_sdp_server.c",
46    "src/btif_sm.c",
47    "src/btif_sock.c",
48    "src/btif_sock_l2cap.c",
49    "src/btif_sock_rfc.c",
50    "src/btif_sock_sco.c",
51    "src/btif_sock_sdp.c",
52    "src/btif_sock_thread.c",
53    "src/btif_sock_util.c",
54    "src/btif_storage.c",
55    "src/btif_uid.c",
56    "src/btif_util.c",
57    "src/stack_manager.c",
58  ]
59
60  # BTIF callouts
61  sources += [
62    "co/bta_ag_co.c",
63    "co/bta_dm_co.c",
64    "co/bta_av_co.c",
65    "co/bta_hh_co.c",
66    "co/bta_hl_co.c",
67    "co/bta_pan_co.c",
68    "co/bta_gatts_co.c",
69  ]
70
71  include_dirs = [
72    "include",
73    "//",
74    "//audio_a2dp_hw",
75    "//bta/include",
76    "//bta/sys",
77    "//btcore/include",
78    "//embdrv/sbc/encoder/include",
79    "//hci/include",
80    "//stack/a2dp",
81    "//stack/btm",
82    "//stack/include",
83    "//third_party/tinyxml2",
84    "//include",
85    "//udrv/include",
86    "//utils/include",
87    "//vnd/include",
88  ]
89}
90