blob: 16c1673f49c00d48bc8412b8e714ec49ddafab0b [file] [log] [blame]
Mathias Agopian65ab4712010-07-14 17:59:35 -07001LOCAL_PATH:= $(call my-dir)
2
Mathias Agopian65ab4712010-07-14 17:59:35 -07003include $(CLEAR_VARS)
4
Glenn Kasten01066232012-02-27 11:50:44 -08005LOCAL_SRC_FILES := \
Andy Hungdeb03352016-08-29 14:40:14 -07006 ServiceUtilities.cpp
Eric Laurentc7e50402014-03-06 14:35:55 -08007
8# FIXME Move this library to frameworks/native
9LOCAL_MODULE := libserviceutility
10
Chong Zhang5db78972015-01-07 10:42:33 -080011LOCAL_SHARED_LIBRARIES := \
12 libcutils \
13 libutils \
14 liblog \
15 libbinder
16
Glenn Kastenfcddb0b2016-07-08 17:19:25 -070017LOCAL_CFLAGS := -Wall -Werror
Ivan Lozano8d179682018-01-24 12:27:17 -080018LOCAL_SANITIZE := integer_overflow
Glenn Kastenfcddb0b2016-07-08 17:19:25 -070019
Chong Zhang5db78972015-01-07 10:42:33 -080020include $(BUILD_SHARED_LIBRARY)
Eric Laurentc7e50402014-03-06 14:35:55 -080021
22include $(CLEAR_VARS)
23
Mathias Agopian65ab4712010-07-14 17:59:35 -070024LOCAL_SRC_FILES:= \
25 AudioFlinger.cpp \
Eric Laurent81784c32012-11-19 14:55:58 -080026 Threads.cpp \
27 Tracks.cpp \
Phil Burk062e67a2015-02-11 13:40:50 -080028 AudioHwDevice.cpp \
29 AudioStreamOut.cpp \
30 SpdifStreamOut.cpp \
Eric Laurent81784c32012-11-19 14:55:58 -080031 Effects.cpp \
Andy Hung857d5a22015-03-26 18:46:00 -070032 PatchPanel.cpp \
rago3bd1c872016-09-26 12:58:14 -070033 StateQueue.cpp \
Nicolas Rouletfe1e1442017-01-30 12:02:03 -080034 BufLog.cpp \
35 TypedLogger.cpp
Glenn Kastendc998c82012-03-23 18:53:59 -070036
Eric Laurent6d8b6942011-06-24 07:01:31 -070037LOCAL_C_INCLUDES := \
YOUNG HO CHA2ee7aab2017-05-25 23:16:51 +090038 frameworks/av/services/audiopolicy \
39 frameworks/av/services/medialog \
Glenn Kasten33b38392012-03-13 15:59:35 -070040 $(call include-path-for, audio-utils)
Eric Laurent6d8b6942011-06-24 07:01:31 -070041
Mathias Agopian65ab4712010-07-14 17:59:35 -070042LOCAL_SHARED_LIBRARIES := \
Mikhail Naganova0c91332016-09-19 10:01:12 -070043 libaudiohal \
Andy Hung068561c2017-01-03 17:09:32 -080044 libaudioprocessing \
Phil Burk062e67a2015-02-11 13:40:50 -080045 libaudiospdif \
Glenn Kasten3b21c502011-12-15 09:52:39 -080046 libaudioutils \
Mathias Agopian65ab4712010-07-14 17:59:35 -070047 libcutils \
48 libutils \
Ying Wangda0dc0a2013-04-09 21:53:49 -070049 liblog \
Mathias Agopian65ab4712010-07-14 17:59:35 -070050 libbinder \
Marco Nelissen538ec5e2016-11-02 13:21:22 -070051 libaudioclient \
Marco Nelissen8ad94762016-11-02 09:59:52 -070052 libmedialogservice \
Wei Jia3f273d12015-11-24 09:06:49 -080053 libmediautils \
Glenn Kasten2dd4bdd2012-08-29 11:10:32 -070054 libnbaio \
Glenn Kasten8589ce72017-09-08 17:03:42 -070055 libnblog \
Chong Zhang5db78972015-01-07 10:42:33 -080056 libpowermanager \
Ricardo Garciaf097cae2015-04-13 12:17:21 -070057 libserviceutility \
Andy Hung35fec5f2016-04-13 14:21:48 -070058 libmediautils \
Jaekyun Seok08dab5a2016-12-07 15:08:17 +090059 libmemunreachable \
60 libmedia_helper
Mathias Agopian65ab4712010-07-14 17:59:35 -070061
Dima Zavinfce7a472011-04-19 22:30:36 -070062LOCAL_STATIC_LIBRARIES := \
Glenn Kasten4d8d0c32011-07-08 15:26:12 -070063 libcpustats \
Mathias Agopian65ab4712010-07-14 17:59:35 -070064
Andy Hung8fa26972016-03-03 13:19:27 -080065LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
66
Mathias Agopian65ab4712010-07-14 17:59:35 -070067LOCAL_MODULE:= libaudioflinger
68
Glenn Kasten045ee7e2015-02-17 16:22:04 -080069LOCAL_SRC_FILES += \
70 AudioWatchdog.cpp \
71 FastCapture.cpp \
Glenn Kasten04333cd2015-02-17 16:23:03 -080072 FastCaptureDumpState.cpp \
Glenn Kasten045ee7e2015-02-17 16:22:04 -080073 FastCaptureState.cpp \
74 FastMixer.cpp \
Glenn Kasten04333cd2015-02-17 16:23:03 -080075 FastMixerDumpState.cpp \
Glenn Kasten045ee7e2015-02-17 16:22:04 -080076 FastMixerState.cpp \
77 FastThread.cpp \
78 FastThreadDumpState.cpp \
79 FastThreadState.cpp
Glenn Kasten0a14c4c2012-06-13 14:58:49 -070080
Glenn Kasten97b5d0d2012-03-23 18:54:19 -070081LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"'
82
Mathias Agopiane762be92013-05-09 16:26:45 -070083LOCAL_CFLAGS += -fvisibility=hidden
84
Glenn Kastene875c802016-03-18 14:52:27 -070085LOCAL_CFLAGS += -Werror -Wall
Ivan Lozano8d179682018-01-24 12:27:17 -080086LOCAL_SANITIZE := integer_overflow
Glenn Kastene875c802016-03-18 14:52:27 -070087
Mathias Agopian65ab4712010-07-14 17:59:35 -070088include $(BUILD_SHARED_LIBRARY)
ty.leec8823992012-10-01 13:54:14 +090089
90include $(call all-makefiles-under,$(LOCAL_PATH))