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 "frameworks_av_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_av_license"], 8} 9 10cc_binary { 11 name: "audioserver", 12 13 srcs: [ 14 "main_audioserver.cpp", 15 ], 16 17 cflags: [ 18 "-Wall", 19 "-Werror", 20 ], 21 22 header_libs: [ 23 "libaudiohal_headers", 24 "libmedia_headers", 25 "libmediametrics_headers", 26 ], 27 28 shared_libs: [ 29 "packagemanager_aidl-cpp", 30 "libaaudioservice", 31 "libaudioclient", 32 "libaudioflinger", 33 "libaudiopolicyservice", 34 "libaudioprocessing", 35 "libbinder", 36 "libcutils", 37 "libhidlbase", 38 "liblog", 39 "libmedia", 40 "libmedialogservice", 41 "libmediautils", 42 "libnbaio", 43 "libnblog", 44 "libpowermanager", 45 "libutils", 46 "libvibrator", 47 ], 48 49 // TODO check if we still need all of these include directories 50 include_dirs: [ 51 "external/sonic", 52 "frameworks/av/media/libaaudio/include", 53 "frameworks/av/media/libaaudio/src", 54 "frameworks/av/media/libaaudio/src/binding", 55 "frameworks/av/services/audioflinger", 56 "frameworks/av/services/audiopolicy", 57 "frameworks/av/services/audiopolicy/common/include", 58 "frameworks/av/services/audiopolicy/common/managerdefinitions/include", 59 "frameworks/av/services/audiopolicy/engine/interface", 60 "frameworks/av/services/audiopolicy/service", 61 "frameworks/av/services/medialog", 62 63 // TODO oboeservice is the old folder name for aaudioservice. It will be changed. 64 "frameworks/av/services/oboeservice", 65 ], 66 67 init_rc: ["audioserver.rc"], 68} 69