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: [ |
jiabin | 4381040 | 2019-10-24 14:58:31 -0700 | [diff] [blame] | 37 | "libaudiofoundation", |
Anton Hansson | 0016740 | 2019-03-27 14:15:54 +0000 | [diff] [blame] | 38 | "libaudiohal", |
| 39 | "libaudioprocessing", |
| 40 | "libaudiospdif", |
| 41 | "libaudioutils", |
| 42 | "libcutils", |
| 43 | "libutils", |
| 44 | "liblog", |
| 45 | "libbinder", |
| 46 | "libaudioclient", |
| 47 | "libmedialogservice", |
| 48 | "libmediametrics", |
| 49 | "libmediautils", |
| 50 | "libnbaio", |
| 51 | "libnblog", |
| 52 | "libpowermanager", |
| 53 | "libmediautils", |
| 54 | "libmemunreachable", |
| 55 | "libmedia_helper", |
| 56 | "libvibrator", |
| 57 | ], |
| 58 | |
| 59 | static_libs: [ |
| 60 | "libcpustats", |
| 61 | "libsndfile", |
| 62 | ], |
| 63 | |
Jiabin Huang | bbb3823 | 2019-10-23 21:02:41 +0000 | [diff] [blame] | 64 | header_libs: [ |
| 65 | "libmedia_headers", |
| 66 | ], |
| 67 | |
Anton Hansson | 0016740 | 2019-03-27 14:15:54 +0000 | [diff] [blame] | 68 | cflags: [ |
| 69 | "-DSTATE_QUEUE_INSTANTIATIONS=\"StateQueueInstantiations.cpp\"", |
| 70 | "-fvisibility=hidden", |
| 71 | "-Werror", |
| 72 | "-Wall", |
| 73 | ], |
| 74 | sanitize: { |
| 75 | integer_overflow: true, |
| 76 | }, |
| 77 | |
| 78 | } |