| 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 | |||||
| 5 | LOCAL_SRC_FILES:= \ | ||||
| 6 | AudioFlinger.cpp \ | ||||
| Eric Laurent | 81784c3 | 2012-11-19 14:55:58 -0800 | [diff] [blame] | 7 | Threads.cpp \ |
| 8 | Tracks.cpp \ | ||||
| Phil Burk | 062e67a | 2015-02-11 13:40:50 -0800 | [diff] [blame] | 9 | AudioHwDevice.cpp \ |
| 10 | AudioStreamOut.cpp \ | ||||
| 11 | SpdifStreamOut.cpp \ | ||||
| Eric Laurent | 81784c3 | 2012-11-19 14:55:58 -0800 | [diff] [blame] | 12 | Effects.cpp \ |
| Andy Hung | 857d5a2 | 2015-03-26 18:46:00 -0700 | [diff] [blame] | 13 | PatchPanel.cpp \ |
| rago | 3bd1c87 | 2016-09-26 12:58:14 -0700 | [diff] [blame] | 14 | StateQueue.cpp \ |
| Nicolas Roulet | fe1e144 | 2017-01-30 12:02:03 -0800 | [diff] [blame] | 15 | BufLog.cpp \ |
| Andy Hung | 8946a28 | 2018-04-19 20:04:56 -0700 | [diff] [blame] | 16 | TypedLogger.cpp \ |
| 17 | NBAIO_Tee.cpp \ | ||||
| Glenn Kasten | dc998c8 | 2012-03-23 18:53:59 -0700 | [diff] [blame] | 18 | |
| Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame] | 19 | LOCAL_C_INCLUDES := \ |
| YOUNG HO CHA | 2ee7aab | 2017-05-25 23:16:51 +0900 | [diff] [blame] | 20 | frameworks/av/services/audiopolicy \ |
| 21 | frameworks/av/services/medialog \ | ||||
| Glenn Kasten | 33b3839 | 2012-03-13 15:59:35 -0700 | [diff] [blame] | 22 | $(call include-path-for, audio-utils) |
| Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame] | 23 | |
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 24 | LOCAL_SHARED_LIBRARIES := \ |
| Mikhail Naganov | a0c9133 | 2016-09-19 10:01:12 -0700 | [diff] [blame] | 25 | libaudiohal \ |
| Andy Hung | 068561c | 2017-01-03 17:09:32 -0800 | [diff] [blame] | 26 | libaudioprocessing \ |
| Phil Burk | 062e67a | 2015-02-11 13:40:50 -0800 | [diff] [blame] | 27 | libaudiospdif \ |
| Glenn Kasten | 3b21c50 | 2011-12-15 09:52:39 -0800 | [diff] [blame] | 28 | libaudioutils \ |
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 29 | libcutils \ |
| 30 | libutils \ | ||||
| Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 31 | liblog \ |
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 32 | libbinder \ |
| Marco Nelissen | 538ec5e | 2016-11-02 13:21:22 -0700 | [diff] [blame] | 33 | libaudioclient \ |
| Marco Nelissen | 8ad9476 | 2016-11-02 09:59:52 -0700 | [diff] [blame] | 34 | libmedialogservice \ |
| Wei Jia | 3f273d1 | 2015-11-24 09:06:49 -0800 | [diff] [blame] | 35 | libmediautils \ |
| Glenn Kasten | 2dd4bdd | 2012-08-29 11:10:32 -0700 | [diff] [blame] | 36 | libnbaio \ |
| Glenn Kasten | 8589ce7 | 2017-09-08 17:03:42 -0700 | [diff] [blame] | 37 | libnblog \ |
| Chong Zhang | 5db7897 | 2015-01-07 10:42:33 -0800 | [diff] [blame] | 38 | libpowermanager \ |
| Andy Hung | 35fec5f | 2016-04-13 14:21:48 -0700 | [diff] [blame] | 39 | libmediautils \ |
| Jaekyun Seok | 08dab5a | 2016-12-07 15:08:17 +0900 | [diff] [blame] | 40 | libmemunreachable \ |
| 41 | libmedia_helper | ||||
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 42 | |
| Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 43 | LOCAL_STATIC_LIBRARIES := \ |
| Glenn Kasten | 4d8d0c3 | 2011-07-08 15:26:12 -0700 | [diff] [blame] | 44 | libcpustats \ |
| Andy Hung | 8946a28 | 2018-04-19 20:04:56 -0700 | [diff] [blame] | 45 | libsndfile \ |
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 46 | |
| Andy Hung | 8fa2697 | 2016-03-03 13:19:27 -0800 | [diff] [blame] | 47 | LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) |
| 48 | |||||
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 49 | LOCAL_MODULE:= libaudioflinger |
| 50 | |||||
| Glenn Kasten | 045ee7e | 2015-02-17 16:22:04 -0800 | [diff] [blame] | 51 | LOCAL_SRC_FILES += \ |
| 52 | AudioWatchdog.cpp \ | ||||
| 53 | FastCapture.cpp \ | ||||
| Glenn Kasten | 04333cd | 2015-02-17 16:23:03 -0800 | [diff] [blame] | 54 | FastCaptureDumpState.cpp \ |
| Glenn Kasten | 045ee7e | 2015-02-17 16:22:04 -0800 | [diff] [blame] | 55 | FastCaptureState.cpp \ |
| 56 | FastMixer.cpp \ | ||||
| Glenn Kasten | 04333cd | 2015-02-17 16:23:03 -0800 | [diff] [blame] | 57 | FastMixerDumpState.cpp \ |
| Glenn Kasten | 045ee7e | 2015-02-17 16:22:04 -0800 | [diff] [blame] | 58 | FastMixerState.cpp \ |
| 59 | FastThread.cpp \ | ||||
| 60 | FastThreadDumpState.cpp \ | ||||
| 61 | FastThreadState.cpp | ||||
| Glenn Kasten | 0a14c4c | 2012-06-13 14:58:49 -0700 | [diff] [blame] | 62 | |
| Glenn Kasten | 97b5d0d | 2012-03-23 18:54:19 -0700 | [diff] [blame] | 63 | LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"' |
| 64 | |||||
| Mathias Agopian | e762be9 | 2013-05-09 16:26:45 -0700 | [diff] [blame] | 65 | LOCAL_CFLAGS += -fvisibility=hidden |
| 66 | |||||
| Glenn Kasten | e875c80 | 2016-03-18 14:52:27 -0700 | [diff] [blame] | 67 | LOCAL_CFLAGS += -Werror -Wall |
| Ivan Lozano | 8d17968 | 2018-01-24 12:27:17 -0800 | [diff] [blame] | 68 | LOCAL_SANITIZE := integer_overflow |
| Glenn Kasten | e875c80 | 2016-03-18 14:52:27 -0700 | [diff] [blame] | 69 | |
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 70 | include $(BUILD_SHARED_LIBRARY) |
| ty.lee | c882399 | 2012-10-01 13:54:14 +0900 | [diff] [blame] | 71 | |
| 72 | include $(call all-makefiles-under,$(LOCAL_PATH)) | ||||