blob: 8a459c84198e2e3e8c5298e471998662914dd4ab [file] [log] [blame]
Arman Ugurayd30195c2015-05-29 15:27:58 -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
17static_library("btif") {
18 sources = [
19 "src/btif_av.c",
Jakub Pawlowskid7a05a02016-02-22 18:04:24 -080020
21 #TODO(jpawlowski): heavily depends on Android,
22 # "src/btif_avrcp_audio_track.cpp",
Arman Ugurayd30195c2015-05-29 15:27:58 -070023 "src/btif_config.c",
Bluetooth Build Testb4a42e72016-04-07 14:10:40 +020024 "src/btif_config_transcode.cpp",
Arman Ugurayd30195c2015-05-29 15:27:58 -070025 "src/btif_core.c",
Arman Uguray625ec342015-06-10 16:21:12 -070026 "src/btif_debug.c",
27 "src/btif_debug_btsnoop.c",
28 "src/btif_debug_conn.c",
Arman Ugurayd30195c2015-05-29 15:27:58 -070029 "src/btif_dm.c",
30 "src/btif_gatt.c",
31 "src/btif_gatt_client.c",
32 "src/btif_gatt_multi_adv_util.c",
33 "src/btif_gatt_server.c",
34 "src/btif_gatt_test.c",
35 "src/btif_gatt_util.c",
36 "src/btif_hf.c",
37 "src/btif_hf_client.c",
38 "src/btif_hh.c",
39 "src/btif_hl.c",
40 "src/btif_mce.c",
41 "src/btif_media_task.c",
42 "src/btif_pan.c",
43 "src/btif_profile_queue.c",
44 "src/btif_rc.c",
45 "src/btif_sdp.c",
46 "src/btif_sdp_server.c",
47 "src/btif_sm.c",
48 "src/btif_sock.c",
49 "src/btif_sock_l2cap.c",
50 "src/btif_sock_rfc.c",
51 "src/btif_sock_sco.c",
52 "src/btif_sock_sdp.c",
53 "src/btif_sock_thread.c",
54 "src/btif_sock_util.c",
55 "src/btif_storage.c",
Adam Lesinski0620f972015-12-02 22:15:08 -080056 "src/btif_uid.c",
Arman Ugurayd30195c2015-05-29 15:27:58 -070057 "src/btif_util.c",
58 "src/stack_manager.c",
59 ]
60
61 # BTIF callouts
62 sources += [
63 "co/bta_ag_co.c",
64 "co/bta_dm_co.c",
65 "co/bta_av_co.c",
66 "co/bta_hh_co.c",
67 "co/bta_hl_co.c",
68 "co/bta_pan_co.c",
Arman Ugurayd30195c2015-05-29 15:27:58 -070069 "co/bta_gatts_co.c",
70 ]
71
72 include_dirs = [
73 "include",
74 "//",
75 "//audio_a2dp_hw",
76 "//bta/include",
77 "//bta/sys",
78 "//btcore/include",
79 "//embdrv/sbc/encoder/include",
Arman Ugurayd30195c2015-05-29 15:27:58 -070080 "//hci/include",
Arman Ugurayd30195c2015-05-29 15:27:58 -070081 "//stack/a2dp",
82 "//stack/btm",
83 "//stack/include",
Alain Vongsouvanh9a58e682016-03-29 17:33:55 -070084 "//third_party/tinyxml2",
Arman Ugurayd30195c2015-05-29 15:27:58 -070085 "//include",
86 "//udrv/include",
87 "//utils/include",
88 "//vnd/include",
89 ]
Arman Ugurayd30195c2015-05-29 15:27:58 -070090}