1package { 2 default_team: "trendy_team_media_framework_audio", 3 // See: http://go/android-license-faq 4 // A large-scale-change added 'default_applicable_licenses' to import 5 // all of the 'license_kinds' from "frameworks_av_license" 6 // to get the below license kinds: 7 // SPDX-license-identifier-Apache-2.0 8 default_applicable_licenses: ["frameworks_av_license"], 9} 10 11cc_binary { 12 name: "audioserver", 13 14 srcs: [ 15 "main_audioserver.cpp", 16 ], 17 18 cflags: [ 19 "-Wall", 20 "-Werror", 21 ], 22 23 header_libs: [ 24 "audiopolicyservicelocal_headers", 25 "libaudiohal_headers", 26 "libmedia_headers", 27 "libmediametrics_headers", 28 ], 29 30 defaults: [ 31 "latest_android_hardware_audio_core_sounddose_ndk_shared", 32 "latest_android_media_audio_common_types_cpp_shared", 33 "libaaudioservice_dependencies", 34 "libaudioflinger_dependencies", 35 "libaudiopolicyservice_dependencies", 36 ], 37 38 static_libs: [ 39 "libaaudioservice", 40 "libaudioflinger", 41 "libaudiopolicyservice", 42 "libmedialogservice", 43 "libnbaio", 44 ], 45 46 shared_libs: [ 47 "libaudioclient", 48 "libaudioprocessing", 49 "libbinder", 50 "libcutils", 51 "libhidlbase", 52 "liblog", 53 "libmedia", 54 "libmediautils", 55 "libnblog", 56 "libpowermanager", 57 "libutils", 58 "libvibrator", 59 ], 60 61 // TODO check if we still need all of these include directories 62 include_dirs: [ 63 "external/sonic", 64 "frameworks/av/media/libaaudio/include", 65 "frameworks/av/media/libaaudio/src", 66 "frameworks/av/media/libaaudio/src/binding", 67 "frameworks/av/services/audioflinger", 68 "frameworks/av/services/audiopolicy", 69 "frameworks/av/services/audiopolicy/common/include", 70 "frameworks/av/services/audiopolicy/common/managerdefinitions/include", 71 "frameworks/av/services/audiopolicy/engine/interface", 72 "frameworks/av/services/audiopolicy/service", 73 "frameworks/av/services/medialog", 74 "frameworks/av/services/oboeservice", // TODO oboeservice is the old folder name for aaudioservice. It will be changed. 75 76 ], 77 78 init_rc: ["audioserver.rc"], 79} 80