1package { 2 default_team: "trendy_team_android_media_audio_framework", 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_library_shared { 12 name: "libaudiopolicymanagerdefault", 13 14 defaults: [ 15 "latest_android_media_audio_common_types_cpp_shared", 16 ], 17 18 srcs: [ 19 "AudioPolicyManager.cpp", 20 "EngineLibrary.cpp", 21 ], 22 23 export_include_dirs: ["."], 24 25 shared_libs: [ 26 "com.android.media.audio-aconfig-cc", 27 "libaudiofoundation", 28 "libaudiopolicy", 29 "libaudiopolicycomponents", 30 "libbinder", 31 "libcutils", 32 "libdl", 33 "libhidlbase", 34 "liblog", 35 "libmedia_helper", 36 "libmediametrics", 37 "libutils", 38 "libxml2", 39 // The default audio policy engine is always present in the system image. 40 // libaudiopolicyengineconfigurable can be built in addition by specifying 41 // a dependency on it in the device makefile. There will be no build time 42 // conflict with libaudiopolicyenginedefault. 43 "audioclient-types-aidl-cpp", 44 // Flag support 45 "android.media.audiopolicy-aconfig-cc", 46 "com.android.media.audioserver-aconfig-cc", 47 "framework-permission-aidl-cpp", 48 "libaudioclient_aidl_conversion", 49 "libaudiopolicyenginedefault", 50 ], 51 52 header_libs: [ 53 "libaudiopolicycommon", 54 "libaudiopolicyengine_interface_headers", 55 "libaudiopolicymanager_interface_headers", 56 ], 57 58 cflags: [ 59 "-Wall", 60 "-Werror", 61 ], 62 63} 64