blob: 6f29584036b674ef6d16a89ceb04e62d539f56f2 [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 = [
Pavlin Radoslavov304ceeb2017-04-05 16:18:26 -070019 "//audio_a2dp_hw/src/audio_a2dp_hw_utils.cc",
Pavlin Radoslavov08406e92016-09-23 16:36:47 -070020 "src/btif_a2dp.cc",
21 "src/btif_a2dp_control.cc",
22 "src/btif_a2dp_sink.cc",
23 "src/btif_a2dp_source.cc",
Jakub Pawlowski713993d2016-04-21 13:16:45 -070024 "src/btif_av.cc",
Jakub Pawlowskid7a05a02016-02-22 18:04:24 -080025
26 #TODO(jpawlowski): heavily depends on Android,
Jakub Pawlowski713993d2016-04-21 13:16:45 -070027 # "src/btif_avrcp_audio_track.cc",
Jakub Pawlowskie47b7692016-09-28 07:36:54 -070028 "src/btif_ble_advertiser.cc",
Jakub Pawlowskic3f6a512016-10-27 11:49:40 -070029 "src/btif_ble_scanner.cc",
Jakub Pawlowski713993d2016-04-21 13:16:45 -070030 "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",
Jakub Pawlowski713993d2016-04-21 13:16:45 -070039 "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",
Hemant Gupta8843cc82014-04-18 12:34:55 +053045 "src/btif_hd.cc",
Jakub Pawlowski713993d2016-04-21 13:16:45 -070046 "src/btif_hl.cc",
47 "src/btif_mce.cc",
Jakub Pawlowski713993d2016-04-21 13:16:45 -070048 "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",
Arman Ugurayd30195c2015-05-29 15:27:58 -070065 ]
66
67 # BTIF callouts
68 sources += [
Jakub Pawlowski713993d2016-04-21 13:16:45 -070069 "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",
Arman Ugurayd30195c2015-05-29 15:27:58 -070076 ]
77
78 include_dirs = [
79 "include",
80 "//",
Jakub Pawlowski17f449d2017-04-10 02:19:29 -070081 "//audio_a2dp_hw/include",
Arman Ugurayd30195c2015-05-29 15:27:58 -070082 "//bta/include",
83 "//bta/sys",
84 "//btcore/include",
Mudumba Ananth57f65082017-02-09 09:05:48 -080085 "//device/include",
Arman Ugurayd30195c2015-05-29 15:27:58 -070086 "//embdrv/sbc/encoder/include",
Jakub Pawlowskicc8d3ab2016-10-13 15:43:15 -070087 "//embdrv/sbc/decoder/include",
Arman Ugurayd30195c2015-05-29 15:27:58 -070088 "//hci/include",
Arman Ugurayd30195c2015-05-29 15:27:58 -070089 "//stack/a2dp",
90 "//stack/btm",
91 "//stack/include",
Alain Vongsouvanh9a58e682016-03-29 17:33:55 -070092 "//third_party/tinyxml2",
Arman Ugurayd30195c2015-05-29 15:27:58 -070093 "//include",
94 "//udrv/include",
95 "//utils/include",
96 "//vnd/include",
97 ]
Jakub Pawlowski140645f2016-04-30 14:37:40 -070098
99 deps = [
100 "//third_party/libchrome:base"
101 ]
Arman Ugurayd30195c2015-05-29 15:27:58 -0700102}