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", |
Eric Laurent | b82e6b7 | 2019-11-22 17:25:04 -0800 | [diff] [blame] | 12 | "DeviceEffectManager.cpp", |
Anton Hansson | 0016740 | 2019-03-27 14:15:54 +0000 | [diff] [blame] | 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: [ |
Ytai Ben-Tsvi | 10dc0a6 | 2020-09-18 11:31:55 -0700 | [diff] [blame] | 38 | "audioflinger-aidl-unstable-cpp", |
| 39 | "audioclient-types-aidl-unstable-cpp", |
| 40 | "libaudioclient_aidl_conversion", |
jiabin | 4381040 | 2019-10-24 14:58:31 -0700 | [diff] [blame] | 41 | "libaudiofoundation", |
Anton Hansson | 0016740 | 2019-03-27 14:15:54 +0000 | [diff] [blame] | 42 | "libaudiohal", |
| 43 | "libaudioprocessing", |
| 44 | "libaudiospdif", |
| 45 | "libaudioutils", |
| 46 | "libcutils", |
| 47 | "libutils", |
| 48 | "liblog", |
| 49 | "libbinder", |
| 50 | "libaudioclient", |
| 51 | "libmedialogservice", |
| 52 | "libmediametrics", |
| 53 | "libmediautils", |
| 54 | "libnbaio", |
| 55 | "libnblog", |
| 56 | "libpowermanager", |
| 57 | "libmediautils", |
| 58 | "libmemunreachable", |
| 59 | "libmedia_helper", |
Ytai Ben-Tsvi | 9cd8981 | 2020-07-01 17:12:06 -0700 | [diff] [blame] | 60 | "libshmemcompat", |
Anton Hansson | 0016740 | 2019-03-27 14:15:54 +0000 | [diff] [blame] | 61 | "libvibrator", |
| 62 | ], |
| 63 | |
| 64 | static_libs: [ |
| 65 | "libcpustats", |
| 66 | "libsndfile", |
| 67 | ], |
| 68 | |
Jiabin Huang | bbb3823 | 2019-10-23 21:02:41 +0000 | [diff] [blame] | 69 | header_libs: [ |
Marco Nelissen | a51151a | 2020-01-07 13:37:47 -0800 | [diff] [blame] | 70 | "libaudiohal_headers", |
Jiabin Huang | bbb3823 | 2019-10-23 21:02:41 +0000 | [diff] [blame] | 71 | "libmedia_headers", |
| 72 | ], |
| 73 | |
Anton Hansson | 0016740 | 2019-03-27 14:15:54 +0000 | [diff] [blame] | 74 | cflags: [ |
| 75 | "-DSTATE_QUEUE_INSTANTIATIONS=\"StateQueueInstantiations.cpp\"", |
| 76 | "-fvisibility=hidden", |
| 77 | "-Werror", |
| 78 | "-Wall", |
| 79 | ], |
| 80 | sanitize: { |
| 81 | integer_overflow: true, |
| 82 | }, |
| 83 | |
| 84 | } |