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