4f1e4824dc
This will allow us to dynamically load multiple different versions of audio interface implementation into the same sysbta hal process. Note that since we are using a weird suffix here, the default `registerPassthroughServiceImplementation` will not work, and we will have to define our own dynamic symbol for it.
36 lines
1018 B
Plaintext
36 lines
1018 B
Plaintext
cc_binary {
|
|
name: "android.hardware.bluetooth.audio-service-system",
|
|
vintf_fragments: ["bluetooth_audio_system.xml"],
|
|
init_rc: ["android.hardware.bluetooth.audio-service-system.rc"],
|
|
relative_install_path: "hw",
|
|
srcs: [
|
|
"BluetoothAudioProvider.cpp",
|
|
"BluetoothAudioProviderFactory.cpp",
|
|
"A2dpOffloadAudioProvider.cpp",
|
|
"A2dpSoftwareAudioProvider.cpp",
|
|
"HearingAidAudioProvider.cpp",
|
|
"LeAudioOffloadAudioProvider.cpp",
|
|
"LeAudioSoftwareAudioProvider.cpp",
|
|
"service_system.cpp",
|
|
],
|
|
header_libs: [
|
|
"libhardware_headers",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libbinder",
|
|
"libbinder_ndk",
|
|
"libcutils",
|
|
"libfmq",
|
|
"libhidlbase",
|
|
"liblog",
|
|
"libutils",
|
|
"android.hardware.bluetooth.audio-V2-ndk",
|
|
"libbluetooth_audio_session_aidl_system",
|
|
],
|
|
required: [
|
|
// Audio HAL impls
|
|
"android.hardware.audio@6.0-impl-system",
|
|
],
|
|
}
|