Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 1 | # |
Jakub Pawlowski | 5b790fe | 2017-09-18 09:00:20 -0700 | [diff] [blame] | 2 | # Copyright 2015 Google, Inc. |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 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 | |
| 17 | static_library("btif") { |
| 18 | sources = [ |
Pavlin Radoslavov | 304ceeb | 2017-04-05 16:18:26 -0700 | [diff] [blame] | 19 | "//audio_a2dp_hw/src/audio_a2dp_hw_utils.cc", |
Jakub Pawlowski | de3c343 | 2018-05-25 21:07:38 -0700 | [diff] [blame] | 20 | "//audio_hearing_aid_hw/src/audio_hearing_aid_hw_utils.cc", |
Pavlin Radoslavov | 08406e9 | 2016-09-23 16:36:47 -0700 | [diff] [blame] | 21 | "src/btif_a2dp.cc", |
Jakub Pawlowski | de3c343 | 2018-05-25 21:07:38 -0700 | [diff] [blame] | 22 | "src/btif_a2dp_audio_interface_linux.cc", |
Pavlin Radoslavov | 08406e9 | 2016-09-23 16:36:47 -0700 | [diff] [blame] | 23 | "src/btif_a2dp_control.cc", |
| 24 | "src/btif_a2dp_sink.cc", |
| 25 | "src/btif_a2dp_source.cc", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 26 | "src/btif_av.cc", |
Jakub Pawlowski | 9e81461 | 2018-05-25 09:31:26 -0700 | [diff] [blame] | 27 | "avrcp/avrcp_service.cc", |
Jakub Pawlowski | d7a05a0 | 2016-02-22 18:04:24 -0800 | [diff] [blame] | 28 | |
| 29 | #TODO(jpawlowski): heavily depends on Android, |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 30 | # "src/btif_avrcp_audio_track.cc", |
Jakub Pawlowski | c8dcd25 | 2018-10-25 15:12:43 +0200 | [diff] [blame] | 31 | "src/btif_avrcp_audio_track_linux.cc", |
Jakub Pawlowski | e47b769 | 2016-09-28 07:36:54 -0700 | [diff] [blame] | 32 | "src/btif_ble_advertiser.cc", |
Jakub Pawlowski | c3f6a51 | 2016-10-27 11:49:40 -0700 | [diff] [blame] | 33 | "src/btif_ble_scanner.cc", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 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", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 43 | "src/btif_gatt_server.cc", |
| 44 | "src/btif_gatt_test.cc", |
| 45 | "src/btif_gatt_util.cc", |
Jakub Pawlowski | 2c2c789 | 2017-11-24 15:20:37 -0800 | [diff] [blame] | 46 | "src/btif_hearing_aid.cc", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 47 | "src/btif_hf.cc", |
| 48 | "src/btif_hf_client.cc", |
| 49 | "src/btif_hh.cc", |
Hemant Gupta | 8843cc8 | 2014-04-18 12:34:55 +0530 | [diff] [blame] | 50 | "src/btif_hd.cc", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 51 | "src/btif_mce.cc", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 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", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 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", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 68 | ] |
| 69 | |
| 70 | # BTIF callouts |
| 71 | sources += [ |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 72 | "co/bta_dm_co.cc", |
| 73 | "co/bta_av_co.cc", |
| 74 | "co/bta_hh_co.cc", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 75 | "co/bta_pan_co.cc", |
| 76 | "co/bta_gatts_co.cc", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 77 | ] |
| 78 | |
| 79 | include_dirs = [ |
| 80 | "include", |
| 81 | "//", |
Jakub Pawlowski | 55faa9e | 2018-06-21 09:03:45 +0200 | [diff] [blame] | 82 | "//linux_include", |
Jakub Pawlowski | 17f449d | 2017-04-10 02:19:29 -0700 | [diff] [blame] | 83 | "//audio_a2dp_hw/include", |
Jakub Pawlowski | de3c343 | 2018-05-25 21:07:38 -0700 | [diff] [blame] | 84 | "//audio_hearing_aid_hw/include", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 85 | "//bta/include", |
| 86 | "//bta/sys", |
| 87 | "//btcore/include", |
Mudumba Ananth | 57f6508 | 2017-02-09 09:05:48 -0800 | [diff] [blame] | 88 | "//device/include", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 89 | "//embdrv/sbc/encoder/include", |
Jakub Pawlowski | cc8d3ab | 2016-10-13 15:43:15 -0700 | [diff] [blame] | 90 | "//embdrv/sbc/decoder/include", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 91 | "//hci/include", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 92 | "//stack/a2dp", |
| 93 | "//stack/btm", |
Jakub Pawlowski | 9e81461 | 2018-05-25 09:31:26 -0700 | [diff] [blame] | 94 | "//stack/l2cap", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 95 | "//stack/include", |
Alain Vongsouvanh | 9a58e68 | 2016-03-29 17:33:55 -0700 | [diff] [blame] | 96 | "//third_party/tinyxml2", |
Jakub Pawlowski | c451068 | 2017-10-18 04:03:41 -0700 | [diff] [blame] | 97 | "//internal_include", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 98 | "//udrv/include", |
| 99 | "//utils/include", |
| 100 | "//vnd/include", |
Jakub Pawlowski | 9e81461 | 2018-05-25 09:31:26 -0700 | [diff] [blame] | 101 | "//profile/avrcp", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 102 | ] |
Jakub Pawlowski | 140645f | 2016-04-30 14:37:40 -0700 | [diff] [blame] | 103 | |
| 104 | deps = [ |
Jakub Pawlowski | c8dcd25 | 2018-10-25 15:12:43 +0200 | [diff] [blame] | 105 | "//common", |
Jakub Pawlowski | 9e81461 | 2018-05-25 09:31:26 -0700 | [diff] [blame] | 106 | "//third_party/libchrome:base", |
| 107 | "//profile/avrcp:profile_avrcp" |
Jakub Pawlowski | 140645f | 2016-04-30 14:37:40 -0700 | [diff] [blame] | 108 | ] |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 109 | } |