blob: f163a2facc24148d7662bacda5937c4007d77ec2 [file] [log] [blame]
Kevin Rocardad17f582019-06-18 16:38:16 -07001cc_binary {
2 name: "android.hardware.audio.service",
3
4 init_rc: ["android.hardware.audio.service.rc"],
5 relative_install_path: "hw",
6 vendor: true,
Alistair Delvacc8dabb2020-06-09 11:34:28 -07007 // Prefer 32 bit as the binary must always be installed at the same
Kevin Rocardad17f582019-06-18 16:38:16 -07008 // location for init to start it and the build system does not support
9 // having two binaries installable to the same location even if they are
10 // not installed in the same build.
Alistair Delvacc8dabb2020-06-09 11:34:28 -070011 compile_multilib: "prefer32",
Kevin Rocardad17f582019-06-18 16:38:16 -070012 srcs: ["service.cpp"],
13
14 cflags: [
15 "-Wall",
16 "-Wextra",
17 "-Werror",
18 ],
19
20 shared_libs: [
21 "libcutils",
22 "libbinder",
23 "libhidlbase",
24 "liblog",
25 "libutils",
26 "libhardware",
Kevin Rocardad17f582019-06-18 16:38:16 -070027 ],
28}
29
30// Legacy service name, use android.hardware.audio.service instead
31phony {
32 name: "android.hardware.audio@2.0-service",
33 required: ["android.hardware.audio.service"],
34}