blob: debcdf9ebde136c0a4e8cc54f58ae0e44cda7373 [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 := \
Glenn Kasten1dc28b72012-04-24 10:01:03 -07006 ISchedulingPolicyService.cpp \
7 SchedulingPolicyService.cpp
8
9# FIXME Move this library to frameworks/native
10LOCAL_MODULE := libscheduling_policy
11
12include $(BUILD_STATIC_LIBRARY)
13
14include $(CLEAR_VARS)
15
Eric Laurentc7e50402014-03-06 14:35:55 -080016LOCAL_SRC_FILES := \
17 ServiceUtilities.cpp
18
19# FIXME Move this library to frameworks/native
20LOCAL_MODULE := libserviceutility
21
Chong Zhang5db78972015-01-07 10:42:33 -080022LOCAL_SHARED_LIBRARIES := \
23 libcutils \
24 libutils \
25 liblog \
26 libbinder
27
28include $(BUILD_SHARED_LIBRARY)
Eric Laurentc7e50402014-03-06 14:35:55 -080029
30include $(CLEAR_VARS)
31
Mathias Agopian65ab4712010-07-14 17:59:35 -070032LOCAL_SRC_FILES:= \
33 AudioFlinger.cpp \
Eric Laurent81784c32012-11-19 14:55:58 -080034 Threads.cpp \
35 Tracks.cpp \
Phil Burk062e67a2015-02-11 13:40:50 -080036 AudioHwDevice.cpp \
37 AudioStreamOut.cpp \
38 SpdifStreamOut.cpp \
Eric Laurent81784c32012-11-19 14:55:58 -080039 Effects.cpp \
Mathias Agopian65ab4712010-07-14 17:59:35 -070040 AudioMixer.cpp.arm \
Andy Hung857d5a22015-03-26 18:46:00 -070041 BufferProviders.cpp \
42 PatchPanel.cpp \
43 StateQueue.cpp
Glenn Kastendc998c82012-03-23 18:53:59 -070044
Eric Laurent6d8b6942011-06-24 07:01:31 -070045LOCAL_C_INCLUDES := \
Eric Laurentc7e50402014-03-06 14:35:55 -080046 $(TOPDIR)frameworks/av/services/audiopolicy \
Ricardo Garciaf097cae2015-04-13 12:17:21 -070047 $(TOPDIR)external/sonic \
Glenn Kasten33b38392012-03-13 15:59:35 -070048 $(call include-path-for, audio-effects) \
49 $(call include-path-for, audio-utils)
Eric Laurent6d8b6942011-06-24 07:01:31 -070050
Mathias Agopian65ab4712010-07-14 17:59:35 -070051LOCAL_SHARED_LIBRARIES := \
Glenn Kastenddf887c2014-03-19 09:05:08 -070052 libaudioresampler \
Phil Burk062e67a2015-02-11 13:40:50 -080053 libaudiospdif \
Glenn Kasten3b21c502011-12-15 09:52:39 -080054 libaudioutils \
John Grossman4ff14ba2012-02-08 16:37:41 -080055 libcommon_time_client \
Mathias Agopian65ab4712010-07-14 17:59:35 -070056 libcutils \
57 libutils \
Ying Wangda0dc0a2013-04-09 21:53:49 -070058 liblog \
Mathias Agopian65ab4712010-07-14 17:59:35 -070059 libbinder \
Glenn Kastend12c68a2012-03-23 14:04:27 -070060 libmedia \
Glenn Kasten2dd4bdd2012-08-29 11:10:32 -070061 libnbaio \
Dima Zavinfce7a472011-04-19 22:30:36 -070062 libhardware \
Mathias Agopian65ab4712010-07-14 17:59:35 -070063 libhardware_legacy \
Jeff Brown5e0067b2011-07-11 22:12:16 -070064 libeffects \
Chong Zhang5db78972015-01-07 10:42:33 -080065 libpowermanager \
Ricardo Garciaf097cae2015-04-13 12:17:21 -070066 libserviceutility \
67 libsonic
Mathias Agopian65ab4712010-07-14 17:59:35 -070068
Dima Zavinfce7a472011-04-19 22:30:36 -070069LOCAL_STATIC_LIBRARIES := \
Glenn Kasten1dc28b72012-04-24 10:01:03 -070070 libscheduling_policy \
Glenn Kasten4d8d0c32011-07-08 15:26:12 -070071 libcpustats \
Chong Zhang5db78972015-01-07 10:42:33 -080072 libmedia_helper
Mathias Agopian65ab4712010-07-14 17:59:35 -070073
Mathias Agopian65ab4712010-07-14 17:59:35 -070074LOCAL_MODULE:= libaudioflinger
Glenn Kastenaf783aa2014-03-02 19:48:19 -080075LOCAL_32_BIT_ONLY := true
Mathias Agopian65ab4712010-07-14 17:59:35 -070076
Glenn Kasten045ee7e2015-02-17 16:22:04 -080077LOCAL_SRC_FILES += \
78 AudioWatchdog.cpp \
79 FastCapture.cpp \
Glenn Kasten04333cd2015-02-17 16:23:03 -080080 FastCaptureDumpState.cpp \
Glenn Kasten045ee7e2015-02-17 16:22:04 -080081 FastCaptureState.cpp \
82 FastMixer.cpp \
Glenn Kasten04333cd2015-02-17 16:23:03 -080083 FastMixerDumpState.cpp \
Glenn Kasten045ee7e2015-02-17 16:22:04 -080084 FastMixerState.cpp \
85 FastThread.cpp \
86 FastThreadDumpState.cpp \
87 FastThreadState.cpp
Glenn Kasten0a14c4c2012-06-13 14:58:49 -070088
Glenn Kasten97b5d0d2012-03-23 18:54:19 -070089LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"'
90
Mathias Agopiane762be92013-05-09 16:26:45 -070091LOCAL_CFLAGS += -fvisibility=hidden
92
Mathias Agopian65ab4712010-07-14 17:59:35 -070093include $(BUILD_SHARED_LIBRARY)
ty.leec8823992012-10-01 13:54:14 +090094
Mathias Agopian0fc2cb52012-10-21 01:01:38 -070095#
96# build audio resampler test tool
97#
98include $(CLEAR_VARS)
99
100LOCAL_SRC_FILES:= \
Andy Hung86eae0e2013-12-09 12:12:46 -0800101 test-resample.cpp \
Mathias Agopian0fc2cb52012-10-21 01:01:38 -0700102
Glenn Kastenf5293642013-12-17 14:49:17 -0800103LOCAL_C_INCLUDES := \
104 $(call include-path-for, audio-utils)
105
106LOCAL_STATIC_LIBRARIES := \
107 libsndfile
108
Mathias Agopian0fc2cb52012-10-21 01:01:38 -0700109LOCAL_SHARED_LIBRARIES := \
Glenn Kastenddf887c2014-03-19 09:05:08 -0700110 libaudioresampler \
Glenn Kastenf5293642013-12-17 14:49:17 -0800111 libaudioutils \
Ying Wangda0dc0a2013-04-09 21:53:49 -0700112 libdl \
Mathias Agopian0fc2cb52012-10-21 01:01:38 -0700113 libcutils \
Ying Wangda0dc0a2013-04-09 21:53:49 -0700114 libutils \
115 liblog
Mathias Agopian0fc2cb52012-10-21 01:01:38 -0700116
117LOCAL_MODULE:= test-resample
118
119LOCAL_MODULE_TAGS := optional
120
121include $(BUILD_EXECUTABLE)
122
Glenn Kastenddf887c2014-03-19 09:05:08 -0700123include $(CLEAR_VARS)
124
125LOCAL_SRC_FILES:= \
126 AudioResampler.cpp.arm \
127 AudioResamplerCubic.cpp.arm \
Glenn Kasten46d1b4a2014-03-19 13:21:51 -0700128 AudioResamplerSinc.cpp.arm \
129 AudioResamplerDyn.cpp.arm
Glenn Kastenddf887c2014-03-19 09:05:08 -0700130
Andy Hung5e58b0a2014-06-23 19:07:29 -0700131LOCAL_C_INCLUDES := \
132 $(call include-path-for, audio-utils)
133
Glenn Kastenddf887c2014-03-19 09:05:08 -0700134LOCAL_SHARED_LIBRARIES := \
135 libcutils \
136 libdl \
137 liblog
138
139LOCAL_MODULE := libaudioresampler
140
141include $(BUILD_SHARED_LIBRARY)
142
ty.leec8823992012-10-01 13:54:14 +0900143include $(call all-makefiles-under,$(LOCAL_PATH))