Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 1 | # |
| 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 | |
| 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", |
Pavlin Radoslavov | 08406e9 | 2016-09-23 16:36:47 -0700 | [diff] [blame] | 20 | "src/btif_a2dp.cc", |
| 21 | "src/btif_a2dp_control.cc", |
| 22 | "src/btif_a2dp_sink.cc", |
| 23 | "src/btif_a2dp_source.cc", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 24 | "src/btif_av.cc", |
Jakub Pawlowski | d7a05a0 | 2016-02-22 18:04:24 -0800 | [diff] [blame] | 25 | |
| 26 | #TODO(jpawlowski): heavily depends on Android, |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 27 | # "src/btif_avrcp_audio_track.cc", |
Jakub Pawlowski | e47b769 | 2016-09-28 07:36:54 -0700 | [diff] [blame] | 28 | "src/btif_ble_advertiser.cc", |
Jakub Pawlowski | c3f6a51 | 2016-10-27 11:49:40 -0700 | [diff] [blame] | 29 | "src/btif_ble_scanner.cc", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 30 | "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 Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 39 | "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 Gupta | 8843cc8 | 2014-04-18 12:34:55 +0530 | [diff] [blame] | 45 | "src/btif_hd.cc", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 46 | "src/btif_hl.cc", |
| 47 | "src/btif_mce.cc", |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 48 | "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 Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 65 | ] |
| 66 | |
| 67 | # BTIF callouts |
| 68 | sources += [ |
Jakub Pawlowski | 713993d | 2016-04-21 13:16:45 -0700 | [diff] [blame] | 69 | "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 Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 76 | ] |
| 77 | |
| 78 | include_dirs = [ |
| 79 | "include", |
| 80 | "//", |
Jakub Pawlowski | 17f449d | 2017-04-10 02:19:29 -0700 | [diff] [blame] | 81 | "//audio_a2dp_hw/include", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 82 | "//bta/include", |
| 83 | "//bta/sys", |
| 84 | "//btcore/include", |
Mudumba Ananth | 57f6508 | 2017-02-09 09:05:48 -0800 | [diff] [blame^] | 85 | "//device/include", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 86 | "//embdrv/sbc/encoder/include", |
Jakub Pawlowski | cc8d3ab | 2016-10-13 15:43:15 -0700 | [diff] [blame] | 87 | "//embdrv/sbc/decoder/include", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 88 | "//hci/include", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 89 | "//stack/a2dp", |
| 90 | "//stack/btm", |
| 91 | "//stack/include", |
Alain Vongsouvanh | 9a58e68 | 2016-03-29 17:33:55 -0700 | [diff] [blame] | 92 | "//third_party/tinyxml2", |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 93 | "//include", |
| 94 | "//udrv/include", |
| 95 | "//utils/include", |
| 96 | "//vnd/include", |
| 97 | ] |
Jakub Pawlowski | 140645f | 2016-04-30 14:37:40 -0700 | [diff] [blame] | 98 | |
| 99 | deps = [ |
| 100 | "//third_party/libchrome:base" |
| 101 | ] |
Arman Uguray | d30195c | 2015-05-29 15:27:58 -0700 | [diff] [blame] | 102 | } |