You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
1.7 KiB
88 lines
1.7 KiB
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "device_google_atv_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["device_google_atv_license"],
|
|
}
|
|
|
|
cc_library {
|
|
name: "libaudio_proxy.google",
|
|
|
|
system_ext_specific: true,
|
|
|
|
srcs: [
|
|
"AudioProxy.cpp",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libcutils",
|
|
"libfmq",
|
|
"libhidlbase",
|
|
"liblog",
|
|
"libutils",
|
|
|
|
// Audio HAL version 5.0
|
|
"android.hardware.audio@5.0",
|
|
"android.hardware.audio.common@5.0",
|
|
|
|
// HAL version 5.0
|
|
"device.google.atv.audio_proxy@5.0",
|
|
|
|
// HAL version 5.1
|
|
"device.google.atv.audio_proxy@5.1",
|
|
],
|
|
|
|
static_libs: [
|
|
"libaudio_proxy_client@5.1",
|
|
],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "libaudio_proxy_client_default",
|
|
|
|
system_ext_specific: true,
|
|
|
|
srcs: [
|
|
"AudioProxyDevice.cpp",
|
|
"AudioProxyManager.cpp",
|
|
"AudioProxyStreamOut.cpp",
|
|
"BusDeviceImpl.cpp",
|
|
"HidlTypeUtil.cpp",
|
|
"StreamOutImpl.cpp",
|
|
],
|
|
|
|
header_libs: [
|
|
"libaudio_system_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libcutils",
|
|
"libfmq",
|
|
"libhidlbase",
|
|
"liblog",
|
|
"libutils",
|
|
]
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libaudio_proxy_client@5.1",
|
|
|
|
defaults: [ "libaudio_proxy_client_default" ],
|
|
|
|
shared_libs: [
|
|
"android.hardware.audio@5.0",
|
|
"android.hardware.audio.common@5.0",
|
|
"device.google.atv.audio_proxy@5.0",
|
|
"device.google.atv.audio_proxy@5.1",
|
|
],
|
|
|
|
cflags: [
|
|
"-DMAJOR_VERSION=5",
|
|
"-DMINOR_VERSION=0",
|
|
"-DAUDIO_PROXY_MINOR_VERSION=1",
|
|
"-include common/AudioProxyVersionMacro.h",
|
|
],
|
|
}
|