You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
7 months ago
|
package {
|
||
|
// See: http://go/android-license-faq
|
||
|
// A large-scale-change added 'default_applicable_licenses' to import
|
||
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
||
|
// to get the below license kinds:
|
||
|
// SPDX-license-identifier-Apache-2.0
|
||
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
||
|
}
|
||
|
|
||
|
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"],
|
||
|
}
|