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