Files
hardware_interfaces/audio/common/all-versions/default/service/Android.bp
Alistair Delva cc8dabbf51 Build 64-bit audio service on 64-bit-only
Bug: 158659988
Change-Id: I30f692537971bfafb6bcd931488cf6869477f62e
2020-06-25 09:45:35 -07:00

35 lines
893 B
Plaintext

cc_binary {
name: "android.hardware.audio.service",
init_rc: ["android.hardware.audio.service.rc"],
relative_install_path: "hw",
vendor: true,
// Prefer 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: "prefer32",
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"],
}