blob: 0d4775c6a8632709dbcdb1bd6574e5e744bc6625 [file] [log] [blame]
Bob Badourb224b362021-02-12 20:13:01 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "hardware_interfaces_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
Kevin Rocardad17f582019-06-18 16:38:16 -070010cc_binary {
11 name: "android.hardware.audio.service",
12
13 init_rc: ["android.hardware.audio.service.rc"],
14 relative_install_path: "hw",
15 vendor: true,
Alistair Delvacc8dabb2020-06-09 11:34:28 -070016 // Prefer 32 bit as the binary must always be installed at the same
Kevin Rocardad17f582019-06-18 16:38:16 -070017 // location for init to start it and the build system does not support
18 // having two binaries installable to the same location even if they are
19 // not installed in the same build.
Alistair Delvacc8dabb2020-06-09 11:34:28 -070020 compile_multilib: "prefer32",
Kevin Rocardad17f582019-06-18 16:38:16 -070021 srcs: ["service.cpp"],
22
23 cflags: [
24 "-Wall",
25 "-Wextra",
26 "-Werror",
27 ],
28
29 shared_libs: [
30 "libcutils",
31 "libbinder",
32 "libhidlbase",
33 "liblog",
34 "libutils",
35 "libhardware",
Kevin Rocardad17f582019-06-18 16:38:16 -070036 ],
37}
38
39// Legacy service name, use android.hardware.audio.service instead
40phony {
41 name: "android.hardware.audio@2.0-service",
42 required: ["android.hardware.audio.service"],
43}