1package { 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 10cc_binary { 11 name: "android.hardware.audio.service", 12 13 init_rc: ["android.hardware.audio.service.rc"], 14 relative_install_path: "hw", 15 vendor: true, 16 // Prefer 32 bit as the binary must always be installed at the same 17 // 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. 20 compile_multilib: "prefer32", 21 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", 36 ], 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} 44