| 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 := \ | 
| Glenn Kasten | 1dc28b7 | 2012-04-24 10:01:03 -0700 | [diff] [blame] | 6 | ISchedulingPolicyService.cpp \ | 
| 7 | SchedulingPolicyService.cpp | ||||
| 8 | |||||
| 9 | # FIXME Move this library to frameworks/native | ||||
| 10 | LOCAL_MODULE := libscheduling_policy | ||||
| 11 | |||||
| 12 | include $(BUILD_STATIC_LIBRARY) | ||||
| 13 | |||||
| 14 | include $(CLEAR_VARS) | ||||
| 15 | |||||
| Eric Laurent | c7e5040 | 2014-03-06 14:35:55 -0800 | [diff] [blame] | 16 | LOCAL_SRC_FILES := \ | 
| 17 | ServiceUtilities.cpp | ||||
| 18 | |||||
| 19 | # FIXME Move this library to frameworks/native | ||||
| 20 | LOCAL_MODULE := libserviceutility | ||||
| 21 | |||||
| Chong Zhang | 5db7897 | 2015-01-07 10:42:33 -0800 | [diff] [blame^] | 22 | LOCAL_SHARED_LIBRARIES := \ | 
| 23 | libcutils \ | ||||
| 24 | libutils \ | ||||
| 25 | liblog \ | ||||
| 26 | libbinder | ||||
| 27 | |||||
| 28 | include $(BUILD_SHARED_LIBRARY) | ||||
| Eric Laurent | c7e5040 | 2014-03-06 14:35:55 -0800 | [diff] [blame] | 29 | |
| 30 | include $(CLEAR_VARS) | ||||
| 31 | |||||
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 32 | LOCAL_SRC_FILES:= \ | 
| 33 | AudioFlinger.cpp \ | ||||
| Eric Laurent | 81784c3 | 2012-11-19 14:55:58 -0800 | [diff] [blame] | 34 | Threads.cpp \ | 
| 35 | Tracks.cpp \ | ||||
| 36 | Effects.cpp \ | ||||
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 37 | AudioMixer.cpp.arm \ | 
| Eric Laurent | 1c333e2 | 2014-05-20 10:48:17 -0700 | [diff] [blame] | 38 | PatchPanel.cpp | 
| Glenn Kasten | ac60205 | 2012-10-01 14:04:31 -0700 | [diff] [blame] | 39 | |
| Glenn Kasten | dc998c8 | 2012-03-23 18:53:59 -0700 | [diff] [blame] | 40 | LOCAL_SRC_FILES += StateQueue.cpp | 
| 41 | |||||
| Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame] | 42 | LOCAL_C_INCLUDES := \ | 
| Eric Laurent | c7e5040 | 2014-03-06 14:35:55 -0800 | [diff] [blame] | 43 | $(TOPDIR)frameworks/av/services/audiopolicy \ | 
| Glenn Kasten | 33b3839 | 2012-03-13 15:59:35 -0700 | [diff] [blame] | 44 | $(call include-path-for, audio-effects) \ | 
| 45 | $(call include-path-for, audio-utils) | ||||
| Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame] | 46 | |
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 47 | LOCAL_SHARED_LIBRARIES := \ | 
| Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 48 | libaudioresampler \ | 
| Glenn Kasten | 3b21c50 | 2011-12-15 09:52:39 -0800 | [diff] [blame] | 49 | libaudioutils \ | 
| John Grossman | 4ff14ba | 2012-02-08 16:37:41 -0800 | [diff] [blame] | 50 | libcommon_time_client \ | 
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 51 | libcutils \ | 
| 52 | libutils \ | ||||
| Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 53 | liblog \ | 
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 54 | libbinder \ | 
| Glenn Kasten | d12c68a | 2012-03-23 14:04:27 -0700 | [diff] [blame] | 55 | libmedia \ | 
| Glenn Kasten | 2dd4bdd | 2012-08-29 11:10:32 -0700 | [diff] [blame] | 56 | libnbaio \ | 
| Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 57 | libhardware \ | 
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 58 | libhardware_legacy \ | 
| Jeff Brown | 5e0067b | 2011-07-11 22:12:16 -0700 | [diff] [blame] | 59 | libeffects \ | 
| Chong Zhang | 5db7897 | 2015-01-07 10:42:33 -0800 | [diff] [blame^] | 60 | libpowermanager \ | 
| 61 | libserviceutility | ||||
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 62 | |
| Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 63 | LOCAL_STATIC_LIBRARIES := \ | 
| Glenn Kasten | 1dc28b7 | 2012-04-24 10:01:03 -0700 | [diff] [blame] | 64 | libscheduling_policy \ | 
| 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 | |
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 68 | LOCAL_MODULE:= libaudioflinger | 
| Glenn Kasten | af783aa | 2014-03-02 19:48:19 -0800 | [diff] [blame] | 69 | LOCAL_32_BIT_ONLY := true | 
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 70 | |
| Glenn Kasten | 2234002 | 2014-04-07 12:04:41 -0700 | [diff] [blame] | 71 | LOCAL_SRC_FILES += FastMixer.cpp FastMixerState.cpp AudioWatchdog.cpp | 
| 72 | LOCAL_SRC_FILES += FastThread.cpp FastThreadState.cpp | ||||
| Glenn Kasten | f91df1b | 2014-03-13 14:59:31 -0700 | [diff] [blame] | 73 | LOCAL_SRC_FILES += FastCapture.cpp FastCaptureState.cpp | 
| Glenn Kasten | 0a14c4c | 2012-06-13 14:58:49 -0700 | [diff] [blame] | 74 | |
| Glenn Kasten | 97b5d0d | 2012-03-23 18:54:19 -0700 | [diff] [blame] | 75 | LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"' | 
| 76 | |||||
| Alex Ray | b3a8364 | 2012-11-30 19:42:28 -0800 | [diff] [blame] | 77 | # Define ANDROID_SMP appropriately. Used to get inline tracing fast-path. | 
| 78 | ifeq ($(TARGET_CPU_SMP),true) | ||||
| 79 | LOCAL_CFLAGS += -DANDROID_SMP=1 | ||||
| 80 | else | ||||
| 81 | LOCAL_CFLAGS += -DANDROID_SMP=0 | ||||
| 82 | endif | ||||
| 83 | |||||
| Mathias Agopian | e762be9 | 2013-05-09 16:26:45 -0700 | [diff] [blame] | 84 | LOCAL_CFLAGS += -fvisibility=hidden | 
| 85 | |||||
| Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 86 | include $(BUILD_SHARED_LIBRARY) | 
| ty.lee | c882399 | 2012-10-01 13:54:14 +0900 | [diff] [blame] | 87 | |
| Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 88 | # | 
| 89 | # build audio resampler test tool | ||||
| 90 | # | ||||
| 91 | include $(CLEAR_VARS) | ||||
| 92 | |||||
| 93 | LOCAL_SRC_FILES:= \ | ||||
| Andy Hung | 86eae0e | 2013-12-09 12:12:46 -0800 | [diff] [blame] | 94 | test-resample.cpp \ | 
| Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 95 | |
| Glenn Kasten | f529364 | 2013-12-17 14:49:17 -0800 | [diff] [blame] | 96 | LOCAL_C_INCLUDES := \ | 
| 97 | $(call include-path-for, audio-utils) | ||||
| 98 | |||||
| 99 | LOCAL_STATIC_LIBRARIES := \ | ||||
| 100 | libsndfile | ||||
| 101 | |||||
| Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 102 | LOCAL_SHARED_LIBRARIES := \ | 
| Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 103 | libaudioresampler \ | 
| Glenn Kasten | f529364 | 2013-12-17 14:49:17 -0800 | [diff] [blame] | 104 | libaudioutils \ | 
| Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 105 | libdl \ | 
| Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 106 | libcutils \ | 
| Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 107 | libutils \ | 
| 108 | liblog | ||||
| Mathias Agopian | 0fc2cb5 | 2012-10-21 01:01:38 -0700 | [diff] [blame] | 109 | |
| 110 | LOCAL_MODULE:= test-resample | ||||
| 111 | |||||
| 112 | LOCAL_MODULE_TAGS := optional | ||||
| 113 | |||||
| 114 | include $(BUILD_EXECUTABLE) | ||||
| 115 | |||||
| Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 116 | include $(CLEAR_VARS) | 
| 117 | |||||
| 118 | LOCAL_SRC_FILES:= \ | ||||
| 119 | AudioResampler.cpp.arm \ | ||||
| 120 | AudioResamplerCubic.cpp.arm \ | ||||
| Glenn Kasten | 46d1b4a | 2014-03-19 13:21:51 -0700 | [diff] [blame] | 121 | AudioResamplerSinc.cpp.arm \ | 
| 122 | AudioResamplerDyn.cpp.arm | ||||
| Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 123 | |
| Andy Hung | 5e58b0a | 2014-06-23 19:07:29 -0700 | [diff] [blame] | 124 | LOCAL_C_INCLUDES := \ | 
| 125 | $(call include-path-for, audio-utils) | ||||
| 126 | |||||
| Glenn Kasten | ddf887c | 2014-03-19 09:05:08 -0700 | [diff] [blame] | 127 | LOCAL_SHARED_LIBRARIES := \ | 
| 128 | libcutils \ | ||||
| 129 | libdl \ | ||||
| 130 | liblog | ||||
| 131 | |||||
| 132 | LOCAL_MODULE := libaudioresampler | ||||
| 133 | |||||
| 134 | include $(BUILD_SHARED_LIBRARY) | ||||
| 135 | |||||
| ty.lee | c882399 | 2012-10-01 13:54:14 +0900 | [diff] [blame] | 136 | include $(call all-makefiles-under,$(LOCAL_PATH)) |