1 2 3package { 4 default_applicable_licenses: [ 5 "frameworks_av_services_audioflinger_license", 6 ], 7} 8 9// Added automatically by a large-scale-change 10// See: http://go/android-license-faq 11license { 12 name: "frameworks_av_services_audioflinger_license", 13 visibility: [":__subpackages__"], 14 license_kinds: [ 15 "SPDX-license-identifier-Apache-2.0", 16 ], 17 license_text: [ 18 "NOTICE", 19 ], 20} 21 22cc_library_shared { 23 name: "libaudioflinger", 24 25 srcs: [ 26 "AudioFlinger.cpp", 27 "AudioHwDevice.cpp", 28 "AudioStreamOut.cpp", 29 "AudioWatchdog.cpp", 30 "BufLog.cpp", 31 "DeviceEffectManager.cpp", 32 "Effects.cpp", 33 "FastCapture.cpp", 34 "FastCaptureDumpState.cpp", 35 "FastCaptureState.cpp", 36 "FastMixer.cpp", 37 "FastMixerDumpState.cpp", 38 "FastMixerState.cpp", 39 "FastThread.cpp", 40 "FastThreadDumpState.cpp", 41 "FastThreadState.cpp", 42 "NBAIO_Tee.cpp", 43 "PatchPanel.cpp", 44 "PropertyUtils.cpp", 45 "SpdifStreamOut.cpp", 46 "StateQueue.cpp", 47 "Threads.cpp", 48 "Tracks.cpp", 49 "TypedLogger.cpp", 50 ], 51 52 include_dirs: [ 53 "frameworks/av/services/audiopolicy", 54 "frameworks/av/services/medialog", 55 ], 56 57 shared_libs: [ 58 "android.media.audio.common.types-V1-cpp", 59 "audioflinger-aidl-cpp", 60 "audioclient-types-aidl-cpp", 61 "av-types-aidl-cpp", 62 "effect-aidl-cpp", 63 "libaudioclient_aidl_conversion", 64 "libaudiofoundation", 65 "libaudiohal", 66 "libaudioprocessing", 67 "libaudiospdif", 68 "libaudioutils", 69 "libcutils", 70 "libutils", 71 "liblog", 72 "libbinder", 73 "libaudioclient", 74 "libmedialogservice", 75 "libmediametrics", 76 "libmediautils", 77 "libnbaio", 78 "libnblog", 79 "libpermission", 80 "libpowermanager", 81 "libmediautils", 82 "libmemunreachable", 83 "libmedia_helper", 84 "libshmemcompat", 85 "libvibrator", 86 "packagemanager_aidl-cpp", 87 ], 88 89 static_libs: [ 90 "libcpustats", 91 "libsndfile", 92 "libpermission", 93 ], 94 95 header_libs: [ 96 "libaaudio_headers", 97 "libaudioclient_headers", 98 "libaudiohal_headers", 99 "libmedia_headers", 100 ], 101 102 export_shared_lib_headers: [ 103 "libpermission", 104 ], 105 106 cflags: [ 107 "-DSTATE_QUEUE_INSTANTIATIONS=\"StateQueueInstantiations.cpp\"", 108 "-fvisibility=hidden", 109 "-Werror", 110 "-Wall", 111 ], 112 sanitize: { 113 integer_overflow: true, 114 }, 115 116} 117