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