package { default_team: "trendy_team_android_media_audio_framework", // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "frameworks_av_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["frameworks_av_license"], } cc_library_shared { name: "libaudiopolicymanagerdefault", defaults: [ "latest_android_media_audio_common_types_cpp_shared", ], srcs: [ "AudioPolicyManager.cpp", "EngineLibrary.cpp", ], export_include_dirs: ["."], shared_libs: [ "com.android.media.audio-aconfig-cc", "libaudiofoundation", "libaudiopolicy", "libaudiopolicycomponents", "libbinder", "libcutils", "libdl", "libhidlbase", "liblog", "libmedia_helper", "libmediametrics", "libutils", "libxml2", // The default audio policy engine is always present in the system image. // libaudiopolicyengineconfigurable can be built in addition by specifying // a dependency on it in the device makefile. There will be no build time // conflict with libaudiopolicyenginedefault. "audioclient-types-aidl-cpp", // Flag support "android.media.audiopolicy-aconfig-cc", "com.android.media.audioserver-aconfig-cc", "framework-permission-aidl-cpp", "libaudioclient_aidl_conversion", "libaudiopolicyenginedefault", ], header_libs: [ "libaudiopolicycommon", "libaudiopolicyengine_interface_headers", "libaudiopolicymanager_interface_headers", ], cflags: [ "-Wall", "-Werror", ], }