blob: 45657305d509aace719932b559ac1336cb4bea4a [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",
27 "android.hardware.audio@2.0",
28 "android.hardware.audio@4.0",
29 "android.hardware.audio@5.0",
Kevin Rocard2a515e12019-09-30 19:53:00 +010030 "android.hardware.audio@6.0",
Kevin Rocardad17f582019-06-18 16:38:16 -070031 "android.hardware.audio.common@2.0",
32 "android.hardware.audio.common@4.0",
33 "android.hardware.audio.common@5.0",
Kevin Rocard2a515e12019-09-30 19:53:00 +010034 "android.hardware.audio.common@6.0",
Kevin Rocardad17f582019-06-18 16:38:16 -070035 "android.hardware.audio.effect@2.0",
36 "android.hardware.audio.effect@4.0",
37 "android.hardware.audio.effect@5.0",
Kevin Rocard2a515e12019-09-30 19:53:00 +010038 "android.hardware.audio.effect@6.0",
Kevin Rocardad17f582019-06-18 16:38:16 -070039 "android.hardware.bluetooth.a2dp@1.0",
40 "android.hardware.bluetooth.audio@2.0",
41 "android.hardware.soundtrigger@2.0",
42 "android.hardware.soundtrigger@2.1",
43 "android.hardware.soundtrigger@2.2",
44 ],
45}
46
47// Legacy service name, use android.hardware.audio.service instead
48phony {
49 name: "android.hardware.audio@2.0-service",
50 required: ["android.hardware.audio.service"],
51}