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 # TODO(abps) - Do we need this? 20 "//bt/audio_a2dp_hw/src/audio_a2dp_hw_utils.cc", 21 "//bt/audio_hearing_aid_hw/src/audio_hearing_aid_hw_utils.cc", 22 23 # AVRCP Target Service 24 "avrcp/avrcp_service.cc", 25 "co/bta_av_co.cc", 26 27 # Callouts 28 "co/bta_dm_co.cc", 29 "co/bta_gatts_co.cc", 30 "co/bta_hh_co.cc", 31 "co/bta_pan_co.cc", 32 33 # HAL layer 34 "src/bluetooth.cc", 35 36 # BTIF implementation 37 "src/btif_a2dp.cc", 38 39 # "TODO(abps) - Move this abstraction elsewhere 40 # "src/btif_a2dp_audio_interface.cc", 41 "src/btif_a2dp_audio_interface_linux.cc", 42 "src/btif_a2dp_control.cc", 43 "src/btif_a2dp_sink.cc", 44 "src/btif_a2dp_source.cc", 45 "src/btif_activity_attribution.cc", 46 "src/btif_av.cc", 47 48 # TODO(abps) - Move this abstraction elsewhere 49 # "src/btif_avrcp_audio_track.cc", 50 "src/btif_avrcp_audio_track_linux.cc", 51 "src/btif_ble_advertiser.cc", 52 "src/btif_ble_scanner.cc", 53 "src/btif_bqr.cc", 54 "src/btif_config.cc", 55 "src/btif_config_cache.cc", 56 "src/btif_config_transcode.cc", 57 "src/btif_core.cc", 58 "src/btif_debug.cc", 59 "src/btif_debug_btsnoop.cc", 60 "src/btif_debug_conn.cc", 61 "src/btif_dm.cc", 62 "src/btif_gatt.cc", 63 "src/btif_gatt_client.cc", 64 "src/btif_gatt_server.cc", 65 "src/btif_gatt_test.cc", 66 "src/btif_gatt_util.cc", 67 "src/btif_hd.cc", 68 "src/btif_vc.cc", 69 "src/btif_hearing_aid.cc", 70 "src/btif_hf.cc", 71 "src/btif_hf_client.cc", 72 "src/btif_hh.cc", 73 "src/btif_keystore.cc", 74 "src/btif_le_audio.cc", 75 "src/btif_metrics_logging.cc", 76 "src/btif_pan.cc", 77 "src/btif_profile_queue.cc", 78 "src/btif_rc.cc", 79 "src/btif_sdp.cc", 80 "src/btif_sdp_server.cc", 81 "src/btif_sock.cc", 82 "src/btif_sock_l2cap.cc", 83 "src/btif_sock_rfc.cc", 84 "src/btif_sock_sco.cc", 85 "src/btif_sock_sdp.cc", 86 "src/btif_sock_thread.cc", 87 "src/btif_sock_util.cc", 88 "src/btif_storage.cc", 89 "src/btif_uid.cc", 90 "src/btif_util.cc", 91 "src/stack_manager.cc", 92 ] 93 94 include_dirs = [ 95 "include", 96 "//bt/", 97 "//bt/bta/dm", 98 "//bt/linux_include", 99 "//bt/audio_a2dp_hw/include", 100 "//bt/audio_hearing_aid_hw/include", 101 "//bt/bta/include", 102 "//bt/bta/sys", 103 "//bt/btcore/include", 104 "//bt/device/include", 105 "//bt/embdrv/sbc/encoder/include", 106 "//bt/embdrv/sbc/decoder/include", 107 "//bt/hci/include", 108 "//bt/stack/a2dp", 109 "//bt/stack/btm", 110 "//bt/stack/l2cap", 111 "//bt/stack/include", 112 "//bt/internal_include", 113 "//bt/udrv/include", 114 "//bt/utils/include", 115 "//bt/vnd/include", 116 "//bt/profile/avrcp", 117 ] 118 119 deps = [ 120 "//bt:libbt-platform-protos-lite", 121 "//bt/common", 122 "//bt/gd/rust/shim:init_flags_bridge_header", 123 "//bt/profile/avrcp:profile_avrcp", 124 ] 125 126 configs += [ 127 "//bt:target_defaults", 128 "//bt:external_tinyxml2", 129 ] 130} 131