1 2 3cc_library_shared { 4 name: "libaudioflinger", 5 6 srcs: [ 7 "AudioFlinger.cpp", 8 "AudioHwDevice.cpp", 9 "AudioStreamOut.cpp", 10 "AudioWatchdog.cpp", 11 "BufLog.cpp", 12 "DeviceEffectManager.cpp", 13 "Effects.cpp", 14 "FastCapture.cpp", 15 "FastCaptureDumpState.cpp", 16 "FastCaptureState.cpp", 17 "FastMixer.cpp", 18 "FastMixerDumpState.cpp", 19 "FastMixerState.cpp", 20 "FastThread.cpp", 21 "FastThreadDumpState.cpp", 22 "FastThreadState.cpp", 23 "NBAIO_Tee.cpp", 24 "PatchPanel.cpp", 25 "SpdifStreamOut.cpp", 26 "StateQueue.cpp", 27 "Threads.cpp", 28 "Tracks.cpp", 29 "TypedLogger.cpp", 30 ], 31 32 include_dirs: [ 33 "frameworks/av/services/audiopolicy", 34 "frameworks/av/services/medialog", 35 ], 36 37 shared_libs: [ 38 "libaudiofoundation", 39 "libaudiohal", 40 "libaudioprocessing", 41 "libaudiospdif", 42 "libaudioutils", 43 "libcutils", 44 "libutils", 45 "liblog", 46 "libbinder", 47 "libaudioclient", 48 "libmedialogservice", 49 "libmediametrics", 50 "libmediautils", 51 "libnbaio", 52 "libnblog", 53 "libpowermanager", 54 "libmediautils", 55 "libmemunreachable", 56 "libmedia_helper", 57 "libvibrator", 58 ], 59 60 static_libs: [ 61 "libcpustats", 62 "libsndfile", 63 ], 64 65 header_libs: [ 66 "libaudiohal_headers", 67 "libmedia_headers", 68 ], 69 70 cflags: [ 71 "-DSTATE_QUEUE_INSTANTIATIONS=\"StateQueueInstantiations.cpp\"", 72 "-fvisibility=hidden", 73 "-Werror", 74 "-Wall", 75 ], 76 sanitize: { 77 integer_overflow: true, 78 }, 79 80} 81