blob: 3e8b715706d386f166231bf4fdd3e12a59207499 [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,
7 // Only support 32 bit as the binary must always be installed at the same
8 // 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.
11 compile_multilib: "32",
12 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}