1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
soong_config_module_type_import {
from: "device/qcom/qssi/Android.bp",
module_types: [
"bredr_vs_btadva_cc_defaults",
],
}
bredr_vs_btadva_cc_defaults {
name: "btadva_audio_hal_int_cc-default",
soong_config_variables: {
bredr_or_btadva: {
btadva: {
include_dirs: [
"vendor/qcom/proprietary/commonsys/bt/bt_adv_audio/system/bt",
"vendor/qcom/proprietary/commonsys/bt/bt_adv_audio/system/bt/bta/include",
"vendor/qcom/proprietary/commonsys/bt/bt_adv_audio/system/bt/btif/include",
"vendor/qcom/proprietary/commonsys/bt/bt_adv_audio/vhal/include",
],
}
}
}
}
// Bluetooth Audio library for target
// ========================================================
cc_library_static {
name: "libbt-audio-hal-interface-qti",
defaults: ["fluoride_defaults_qti", "btadva_audio_hal_int_cc-default"],
include_dirs: [
"vendor/qcom/opensource/commonsys/system/bt",
"vendor/qcom/opensource/commonsys/system/bt/types",
"vendor/qcom/opensource/commonsys/system/bt/internal_include",
"vendor/qcom/opensource/commonsys/system/bt/bta/include",
"vendor/qcom/opensource/commonsys/system/bt/bta/sys",
"vendor/qcom/opensource/commonsys/bluetooth_ext/vhal/include/",
"vendor/qcom/opensource/commonsys/system/bt/btif/include",
"vendor/qcom/opensource/commonsys/system/bt/stack/include",
"packages/modules/Bluetooth/system",
"packages/modules/Bluetooth/system/audio_hearing_aid_hw/include",
"vendor/qcom/opensource/commonsys/bluetooth_ext/system_bt_ext/btif/include",
"vendor/qcom/opensource/commonsys/system/bt/btcore/include",
"vendor/qcom/opensource/commonsys/system/bt/hci/include",
"vendor/qcom/opensource/commonsys-intf/bluetooth/include",
"vendor/qcom/opensource/commonsys/system/bt/device/include",
],
srcs: [
"a2dp_encoding.cc",
"client_interface.cc",
"hearing_aid_software_encoding.cc",
"aidl/a2dp_encoding.cc",
"aidl/bluetooth_audio_port_impl.cc",
"aidl/client_interface.cc",
"aidl/codec_status.cc",
"aidl/hearing_aid_software_encoding.cc",
"aidl/le_audio_software.cc",
],
shared_libs: [
"vendor.qti.hardware.bluetooth_audio@2.1",
"vendor.qti.hardware.bluetooth_audio@2.0",
"android.hardware.bluetooth.audio@2.0",
"android.hardware.bluetooth.audio@2.1",
"libfmq",
"android.hardware.bluetooth.audio-V2-ndk",
"libbinder_ndk",
"libhidlbase",
],
static_libs: [
"libosi_qti",
],
cflags: [
"-DBUILDCFG",
],
}
|