Merge "Provide defaults for android.hardware.audio@6.0-impl" am: 3f5116a1f6

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1366502

Change-Id: I5b92974c36ecb78a1f624d7bbf1e04c5fbf69fab
This commit is contained in:
Treehugger Robot
2020-07-22 16:54:20 +00:00
committed by Automerger Merge Worker

View File

@@ -1,8 +1,5 @@
cc_defaults {
name: "android.hardware.audio-impl_default",
relative_install_path: "hw",
proprietary: true,
vendor: true,
filegroup {
name: "android.hardware.audio-impl_srcs",
srcs: [
"Conversions.cpp",
"Device.cpp",
@@ -13,11 +10,24 @@ cc_defaults {
"StreamIn.cpp",
"StreamOut.cpp",
],
}
cc_library_headers {
name: "android.hardware.audio-impl_headers",
proprietary: true,
vendor: true,
export_include_dirs: ["include"],
}
cc_defaults {
name: "android.hardware.audio-impl_default",
relative_install_path: "hw",
proprietary: true,
vendor: true,
srcs: [":android.hardware.audio-impl_srcs"],
defaults: ["hidl_defaults"],
export_include_dirs: ["include"],
static_libs: [
"libaudiofoundation",
],
@@ -35,12 +45,17 @@ cc_defaults {
],
header_libs: [
"android.hardware.audio-impl_headers",
"android.hardware.audio.common.util@all-versions",
"libaudioclient_headers",
"libaudio_system_headers",
"libhardware_headers",
"libmedia_headers",
],
export_header_lib_headers: [
"android.hardware.audio-impl_headers",
],
}
cc_library_shared {
@@ -89,8 +104,8 @@ cc_library_shared {
],
}
cc_library_shared {
name: "android.hardware.audio@6.0-impl",
cc_defaults {
name: "android.hardware.audio@6.0-impl_default",
defaults: ["android.hardware.audio-impl_default"],
shared_libs: [
"android.hardware.audio@6.0",
@@ -103,3 +118,8 @@ cc_library_shared {
"-include common/all-versions/VersionMacro.h",
],
}
cc_library_shared {
name: "android.hardware.audio@6.0-impl",
defaults: ["android.hardware.audio@6.0-impl_default"],
}