Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
2 | |||||
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 3 | include $(CLEAR_VARS) |
4 | |||||
Glenn Kasten | 0106623 | 2012-02-27 11:50:44 -0800 | [diff] [blame] | 5 | LOCAL_SRC_FILES := \ |
Eric Laurent | 17a58b2 | 2016-08-17 13:53:12 +0200 | [diff] [blame^] | 6 | ServiceUtilities.cpp \ |
7 | LockWatch.cpp | ||||
Eric Laurent | c7e5040 | 2014-03-06 14:35:55 -0800 | [diff] [blame] | 8 | |
9 | # FIXME Move this library to frameworks/native | ||||
10 | LOCAL_MODULE := libserviceutility | ||||
11 | |||||
Chong Zhang | 5db7897 | 2015-01-07 10:42:33 -0800 | [diff] [blame] | 12 | LOCAL_SHARED_LIBRARIES := \ |
13 | libcutils \ | ||||
14 | libutils \ | ||||
15 | liblog \ | ||||
16 | libbinder | ||||
17 | |||||
Glenn Kasten | fcddb0b | 2016-07-08 17:19:25 -0700 | [diff] [blame] | 18 | LOCAL_CFLAGS := -Wall -Werror |
19 | |||||
Chong Zhang | 5db7897 | 2015-01-07 10:42:33 -0800 | [diff] [blame] | 20 | include $(BUILD_SHARED_LIBRARY) |
Eric Laurent | c7e5040 | 2014-03-06 14:35:55 -0800 | [diff] [blame] | 21 | |
22 | include $(CLEAR_VARS) | ||||
23 | |||||
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 24 | LOCAL_SRC_FILES:= \ |
25 | AudioFlinger.cpp \ | ||||
Eric Laurent | 81784c3 | 2012-11-19 14:55:58 -0800 | [diff] [blame] | 26 | Threads.cpp \ |
27 | Tracks.cpp \ | ||||
Phil Burk | 062e67a | 2015-02-11 13:40:50 -0800 | [diff] [blame] | 28 | AudioHwDevice.cpp \ |
29 | AudioStreamOut.cpp \ | ||||
30 | SpdifStreamOut.cpp \ | ||||
Eric Laurent | 81784c3 | 2012-11-19 14:55:58 -0800 | [diff] [blame] | 31 | Effects.cpp \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 32 | AudioMixer.cpp.arm \ |
Andy Hung | 857d5a2 | 2015-03-26 18:46:00 -0700 | [diff] [blame] | 33 | BufferProviders.cpp \ |
34 | PatchPanel.cpp \ | ||||
35 | StateQueue.cpp | ||||
Glenn Kasten | dc998c8 | 2012-03-23 18:53:59 -0700 | [diff] [blame] | 36 | |
Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame] | 37 | LOCAL_C_INCLUDES := \ |
Eric Laurent | c7e5040 | 2014-03-06 14:35:55 -0800 | [diff] [blame] | 38 | $(TOPDIR)frameworks/av/services/audiopolicy \ |
Ricardo Garcia | f097cae | 2015-04-13 12:17:21 -0700 | [diff] [blame] | 39 | $(TOPDIR)external/sonic \ |
Andy Hung | 35fec5f | 2016-04-13 14:21:48 -0700 | [diff] [blame] | 40 | libcore/include \ |
Glenn Kasten | 33b3839 | 2012-03-13 15:59:35 -0700 | [diff] [blame] | 41 | $(call include-path-for, audio-effects) \ |
42 | $(call include-path-for, audio-utils) | ||||
Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame] | 43 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 44 | LOCAL_SHARED_LIBRARIES := \ |
Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 45 | libaudioresampler \ |
Phil Burk | 062e67a | 2015-02-11 13:40:50 -0800 | [diff] [blame] | 46 | libaudiospdif \ |
Glenn Kasten | 3b21c50 | 2011-12-15 09:52:39 -0800 | [diff] [blame] | 47 | libaudioutils \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 48 | libcutils \ |
49 | libutils \ | ||||
Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 50 | liblog \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 51 | libbinder \ |
Glenn Kasten | d12c68a | 2012-03-23 14:04:27 -0700 | [diff] [blame] | 52 | libmedia \ |
Wei Jia | 3f273d1 | 2015-11-24 09:06:49 -0800 | [diff] [blame] | 53 | libmediautils \ |
Glenn Kasten | 2dd4bdd | 2012-08-29 11:10:32 -0700 | [diff] [blame] | 54 | libnbaio \ |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 55 | libhardware \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 56 | libhardware_legacy \ |
Jeff Brown | 5e0067b | 2011-07-11 22:12:16 -0700 | [diff] [blame] | 57 | libeffects \ |
Chong Zhang | 5db7897 | 2015-01-07 10:42:33 -0800 | [diff] [blame] | 58 | libpowermanager \ |
Ricardo Garcia | f097cae | 2015-04-13 12:17:21 -0700 | [diff] [blame] | 59 | libserviceutility \ |
Eino-Ville Talvala | f99498e | 2015-09-25 16:52:55 -0700 | [diff] [blame] | 60 | libsonic \ |
Andy Hung | 35fec5f | 2016-04-13 14:21:48 -0700 | [diff] [blame] | 61 | libmediautils \ |
62 | libmemunreachable | ||||
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 63 | |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 64 | LOCAL_STATIC_LIBRARIES := \ |
Glenn Kasten | 4d8d0c3 | 2011-07-08 15:26:12 -0700 | [diff] [blame] | 65 | libcpustats \ |
Chong Zhang | 5db7897 | 2015-01-07 10:42:33 -0800 | [diff] [blame] | 66 | libmedia_helper |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 67 | |
Andy Hung | 8fa2697 | 2016-03-03 13:19:27 -0800 | [diff] [blame] | 68 | LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) |
69 | |||||
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 70 | LOCAL_MODULE:= libaudioflinger |
71 | |||||
Glenn Kasten | 045ee7e | 2015-02-17 16:22:04 -0800 | [diff] [blame] | 72 | LOCAL_SRC_FILES += \ |
73 | AudioWatchdog.cpp \ | ||||
74 | FastCapture.cpp \ | ||||
Glenn Kasten | 04333cd | 2015-02-17 16:23:03 -0800 | [diff] [blame] | 75 | FastCaptureDumpState.cpp \ |
Glenn Kasten | 045ee7e | 2015-02-17 16:22:04 -0800 | [diff] [blame] | 76 | FastCaptureState.cpp \ |
77 | FastMixer.cpp \ | ||||
Glenn Kasten | 04333cd | 2015-02-17 16:23:03 -0800 | [diff] [blame] | 78 | FastMixerDumpState.cpp \ |
Glenn Kasten | 045ee7e | 2015-02-17 16:22:04 -0800 | [diff] [blame] | 79 | FastMixerState.cpp \ |
80 | FastThread.cpp \ | ||||
81 | FastThreadDumpState.cpp \ | ||||
82 | FastThreadState.cpp | ||||
Glenn Kasten | 0a14c4c | 2012-06-13 14:58:49 -0700 | [diff] [blame] | 83 | |
Glenn Kasten | 97b5d0d | 2012-03-23 18:54:19 -0700 | [diff] [blame] | 84 | LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"' |
85 | |||||
Mathias Agopian | e762be9 | 2013-05-09 16:26:45 -0700 | [diff] [blame] | 86 | LOCAL_CFLAGS += -fvisibility=hidden |
87 | |||||
Glenn Kasten | e875c80 | 2016-03-18 14:52:27 -0700 | [diff] [blame] | 88 | LOCAL_CFLAGS += -Werror -Wall |
89 | |||||
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 90 | include $(BUILD_SHARED_LIBRARY) |
ty.lee | c882399 | 2012-10-01 13:54:14 +0900 | [diff] [blame] | 91 | |
Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 92 | # |
93 | # build audio resampler test tool | ||||
94 | # | ||||
95 | include $(CLEAR_VARS) | ||||
96 | |||||
97 | LOCAL_SRC_FILES:= \ | ||||
Andy Hung | 86eae0e | 2013-12-09 12:12:46 -0800 | [diff] [blame] | 98 | test-resample.cpp \ |
Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 99 | |
Glenn Kasten | f529364 | 2013-12-17 14:49:17 -0800 | [diff] [blame] | 100 | LOCAL_C_INCLUDES := \ |
101 | $(call include-path-for, audio-utils) | ||||
102 | |||||
103 | LOCAL_STATIC_LIBRARIES := \ | ||||
104 | libsndfile | ||||
105 | |||||
Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 106 | LOCAL_SHARED_LIBRARIES := \ |
Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 107 | libaudioresampler \ |
Glenn Kasten | f529364 | 2013-12-17 14:49:17 -0800 | [diff] [blame] | 108 | libaudioutils \ |
Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 109 | libdl \ |
Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 110 | libcutils \ |
Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 111 | libutils \ |
112 | liblog | ||||
Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 113 | |
114 | LOCAL_MODULE:= test-resample | ||||
115 | |||||
116 | LOCAL_MODULE_TAGS := optional | ||||
117 | |||||
Glenn Kasten | e875c80 | 2016-03-18 14:52:27 -0700 | [diff] [blame] | 118 | LOCAL_CFLAGS := -Werror -Wall |
119 | |||||
Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 120 | include $(BUILD_EXECUTABLE) |
121 | |||||
Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 122 | include $(CLEAR_VARS) |
123 | |||||
124 | LOCAL_SRC_FILES:= \ | ||||
125 | AudioResampler.cpp.arm \ | ||||
126 | AudioResamplerCubic.cpp.arm \ | ||||
Glenn Kasten | 46d1b4a | 2014-03-19 13:21:51 -0700 | [diff] [blame] | 127 | AudioResamplerSinc.cpp.arm \ |
128 | AudioResamplerDyn.cpp.arm | ||||
Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 129 | |
Andy Hung | 5e58b0a | 2014-06-23 19:07:29 -0700 | [diff] [blame] | 130 | LOCAL_C_INCLUDES := \ |
131 | $(call include-path-for, audio-utils) | ||||
132 | |||||
Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 133 | LOCAL_SHARED_LIBRARIES := \ |
134 | libcutils \ | ||||
135 | libdl \ | ||||
136 | liblog | ||||
137 | |||||
138 | LOCAL_MODULE := libaudioresampler | ||||
139 | |||||
Glenn Kasten | e875c80 | 2016-03-18 14:52:27 -0700 | [diff] [blame] | 140 | LOCAL_CFLAGS := -Werror -Wall |
141 | |||||
Glenn Kasten | 4699a6a | 2016-02-16 10:49:09 -0800 | [diff] [blame] | 142 | # uncomment to disable NEON on architectures that actually do support NEON, for benchmarking |
143 | #LOCAL_CFLAGS += -DUSE_NEON=false | ||||
144 | |||||
Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 145 | include $(BUILD_SHARED_LIBRARY) |
146 | |||||
ty.lee | c882399 | 2012-10-01 13:54:14 +0900 | [diff] [blame] | 147 | include $(call all-makefiles-under,$(LOCAL_PATH)) |