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