mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 20:24:19 +00:00
This is intended to reduce memory footprint of the default HAL service. The inteface libraries were only used to retrieve interface descriptors and use generated code to register as service. This code was replaced with static code from HIDL transport library. Bug: 148115870 Test: check audio on devices Change-Id: Ie8713d513cfbde64120546ba0db1cf80fd366138
35 lines
894 B
Plaintext
35 lines
894 B
Plaintext
cc_binary {
|
|
name: "android.hardware.audio.service",
|
|
|
|
init_rc: ["android.hardware.audio.service.rc"],
|
|
relative_install_path: "hw",
|
|
vendor: true,
|
|
// Only support 32 bit as the binary must always be installed at the same
|
|
// location for init to start it and the build system does not support
|
|
// having two binaries installable to the same location even if they are
|
|
// not installed in the same build.
|
|
compile_multilib: "32",
|
|
srcs: ["service.cpp"],
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Werror",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libcutils",
|
|
"libbinder",
|
|
"libhidlbase",
|
|
"liblog",
|
|
"libutils",
|
|
"libhardware",
|
|
],
|
|
}
|
|
|
|
// Legacy service name, use android.hardware.audio.service instead
|
|
phony {
|
|
name: "android.hardware.audio@2.0-service",
|
|
required: ["android.hardware.audio.service"],
|
|
}
|