| |
| |
| cc_library_shared { |
| name: "libaudioflinger", |
| |
| tidy: false, // b/146435095, segmentation fault with Effects.cpp |
| |
| srcs: [ |
| "AudioFlinger.cpp", |
| "AudioHwDevice.cpp", |
| "AudioStreamOut.cpp", |
| "AudioWatchdog.cpp", |
| "BufLog.cpp", |
| "DeviceEffectManager.cpp", |
| "Effects.cpp", |
| "FastCapture.cpp", |
| "FastCaptureDumpState.cpp", |
| "FastCaptureState.cpp", |
| "FastMixer.cpp", |
| "FastMixerDumpState.cpp", |
| "FastMixerState.cpp", |
| "FastThread.cpp", |
| "FastThreadDumpState.cpp", |
| "FastThreadState.cpp", |
| "NBAIO_Tee.cpp", |
| "PatchPanel.cpp", |
| "SpdifStreamOut.cpp", |
| "StateQueue.cpp", |
| "Threads.cpp", |
| "Tracks.cpp", |
| "TypedLogger.cpp", |
| ], |
| |
| include_dirs: [ |
| "frameworks/av/services/audiopolicy", |
| "frameworks/av/services/medialog", |
| ], |
| |
| shared_libs: [ |
| "libaudiofoundation", |
| "libaudiohal", |
| "libaudioprocessing", |
| "libaudiospdif", |
| "libaudioutils", |
| "libcutils", |
| "libutils", |
| "liblog", |
| "libbinder", |
| "libaudioclient", |
| "libmedialogservice", |
| "libmediametrics", |
| "libmediautils", |
| "libnbaio", |
| "libnblog", |
| "libpowermanager", |
| "libmediautils", |
| "libmemunreachable", |
| "libmedia_helper", |
| "libvibrator", |
| ], |
| |
| static_libs: [ |
| "libcpustats", |
| "libsndfile", |
| ], |
| |
| header_libs: [ |
| "libaudiohal_headers", |
| "libmedia_headers", |
| ], |
| |
| cflags: [ |
| "-DSTATE_QUEUE_INSTANTIATIONS=\"StateQueueInstantiations.cpp\"", |
| "-fvisibility=hidden", |
| "-Werror", |
| "-Wall", |
| ], |
| sanitize: { |
| integer_overflow: true, |
| }, |
| |
| } |