2021-02-12 20:13:01 -08:00
|
|
|
package {
|
|
|
|
|
// See: http://go/android-license-faq
|
|
|
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
|
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
|
|
|
// to get the below license kinds:
|
|
|
|
|
// SPDX-license-identifier-Apache-2.0
|
|
|
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-02 15:11:39 +01:00
|
|
|
cc_library_shared {
|
|
|
|
|
name: "libbluetooth_audio_session",
|
|
|
|
|
defaults: ["hidl_defaults"],
|
|
|
|
|
vendor: true,
|
|
|
|
|
srcs: [
|
|
|
|
|
"session/BluetoothAudioSession.cpp",
|
2021-02-03 20:43:20 +01:00
|
|
|
"session/BluetoothAudioSession_2_1.cpp",
|
2021-10-28 12:53:38 +08:00
|
|
|
"session/BluetoothAudioSession_2_2.cpp",
|
2021-02-02 15:11:39 +01:00
|
|
|
"session/BluetoothAudioSupportedCodecsDB.cpp",
|
2021-02-03 20:43:20 +01:00
|
|
|
"session/BluetoothAudioSupportedCodecsDB_2_1.cpp",
|
2021-10-28 12:53:38 +08:00
|
|
|
"session/BluetoothAudioSupportedCodecsDB_2_2.cpp",
|
2021-02-02 15:11:39 +01:00
|
|
|
],
|
|
|
|
|
export_include_dirs: ["session/"],
|
|
|
|
|
header_libs: ["libhardware_headers"],
|
|
|
|
|
shared_libs: [
|
2021-12-06 15:22:03 +01:00
|
|
|
"android.hardware.audio.common@5.0",
|
2021-02-02 15:11:39 +01:00
|
|
|
"android.hardware.bluetooth.audio@2.0",
|
2021-02-03 20:43:20 +01:00
|
|
|
"android.hardware.bluetooth.audio@2.1",
|
2021-10-28 12:53:38 +08:00
|
|
|
"android.hardware.bluetooth.audio@2.2",
|
2021-02-02 15:11:39 +01:00
|
|
|
"libbase",
|
|
|
|
|
"libcutils",
|
|
|
|
|
"libfmq",
|
|
|
|
|
"libhidlbase",
|
|
|
|
|
"liblog",
|
|
|
|
|
"libutils",
|
2021-12-29 23:52:39 -08:00
|
|
|
"libbluetooth_audio_session_aidl",
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
|
name: "libbluetooth_audio_session_aidl",
|
|
|
|
|
vendor: true,
|
|
|
|
|
srcs: [
|
|
|
|
|
"aidl_session/BluetoothAudioCodecs.cpp",
|
|
|
|
|
"aidl_session/BluetoothAudioSession.cpp",
|
|
|
|
|
"aidl_session/HidlToAidlMiddleware.cpp",
|
|
|
|
|
],
|
|
|
|
|
export_include_dirs: ["aidl_session/"],
|
|
|
|
|
header_libs: ["libhardware_headers"],
|
|
|
|
|
shared_libs: [
|
|
|
|
|
"android.hardware.bluetooth.audio@2.0",
|
|
|
|
|
"android.hardware.bluetooth.audio@2.1",
|
|
|
|
|
"android.hardware.bluetooth.audio@2.2",
|
|
|
|
|
"libbase",
|
|
|
|
|
"libcutils",
|
|
|
|
|
"libbinder_ndk",
|
|
|
|
|
"libfmq",
|
|
|
|
|
"liblog",
|
|
|
|
|
"android.hardware.bluetooth.audio-V1-ndk",
|
|
|
|
|
"libhidlbase",
|
2021-02-02 15:11:39 +01:00
|
|
|
],
|
|
|
|
|
}
|