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: "libaudiopolicyservice", 12 13 srcs: [ 14 "AudioPolicyClientImpl.cpp", 15 "AudioPolicyEffects.cpp", 16 "AudioPolicyInterfaceImpl.cpp", 17 "AudioPolicyService.cpp", 18 "CaptureStateNotifier.cpp", 19 ], 20 21 include_dirs: [ 22 "frameworks/av/services/audioflinger" 23 ], 24 25 shared_libs: [ 26 "libactivitymanager_aidl", 27 "libaudioclient", 28 "libaudioclient_aidl_conversion", 29 "libaudiofoundation", 30 "libaudiopolicy", 31 "libaudiopolicymanagerdefault", 32 "libaudioutils", 33 "libbinder", 34 "libcutils", 35 "libeffectsconfig", 36 "libhardware_legacy", 37 "liblog", 38 "libmedia_helper", 39 "libmediametrics", 40 "libmediautils", 41 "libpermission", 42 "libsensorprivacy", 43 "libutils", 44 "audioclient-types-aidl-cpp", 45 "audioflinger-aidl-cpp", 46 "audiopolicy-aidl-cpp", 47 "audiopolicy-types-aidl-cpp", 48 "capture_state_listener-aidl-cpp", 49 "framework-permission-aidl-cpp", 50 ], 51 52 static_libs: [ 53 "libaudiopolicycomponents", 54 "framework-permission-aidl-cpp", 55 ], 56 57 header_libs: [ 58 "libaudiopolicycommon", 59 "libaudiopolicyengine_interface_headers", 60 "libaudiopolicymanager_interface_headers", 61 "libaudioutils_headers", 62 ], 63 64 cflags: [ 65 "-fvisibility=hidden", 66 "-Werror", 67 "-Wall", 68 "-Wthread-safety", 69 ], 70 71 export_shared_lib_headers: [ 72 "libactivitymanager_aidl", 73 "libsensorprivacy", 74 "framework-permission-aidl-cpp", 75 ], 76} 77