1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_SRC_FILES := \ 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 16 LOCAL_SRC_FILES := \ 17 ServiceUtilities.cpp 18 19 # FIXME Move this library to frameworks/native 20 LOCAL_MODULE := libserviceutility 21 22 LOCAL_SHARED_LIBRARIES := \ 23 libcutils \ 24 libutils \ 25 liblog \ 26 libbinder 27 28 include $(BUILD_SHARED_LIBRARY) 29 30 include $(CLEAR_VARS) 31 32 LOCAL_SRC_FILES:= \ 33 AudioFlinger.cpp \ 34 Threads.cpp \ 35 Tracks.cpp \ 36 AudioHwDevice.cpp \ 37 AudioStreamOut.cpp \ 38 SpdifStreamOut.cpp \ 39 Effects.cpp \ 40 AudioMixer.cpp.arm \ 41 BufferProviders.cpp \ 42 PatchPanel.cpp \ 43 StateQueue.cpp 44 45 LOCAL_C_INCLUDES := \ 46 $(TOPDIR)frameworks/av/services/audiopolicy \ 47 $(TOPDIR)external/sonic \ 48 $(call include-path-for, audio-effects) \ 49 $(call include-path-for, audio-utils) 50 51 LOCAL_SHARED_LIBRARIES := \ 52 libaudioresampler \ 53 libaudiospdif \ 54 libaudioutils \ 55 libcommon_time_client \ 56 libcutils \ 57 libutils \ 58 liblog \ 59 libbinder \ 60 libmedia \ 61 libnbaio \ 62 libhardware \ 63 libhardware_legacy \ 64 libeffects \ 65 libpowermanager \ 66 libserviceutility \ 67 libsonic 68 69 LOCAL_STATIC_LIBRARIES := \ 70 libscheduling_policy \ 71 libcpustats \ 72 libmedia_helper 73 74 LOCAL_MODULE:= libaudioflinger 75 LOCAL_32_BIT_ONLY := true 76 77 LOCAL_SRC_FILES += \ 78 AudioWatchdog.cpp \ 79 FastCapture.cpp \ 80 FastCaptureDumpState.cpp \ 81 FastCaptureState.cpp \ 82 FastMixer.cpp \ 83 FastMixerDumpState.cpp \ 84 FastMixerState.cpp \ 85 FastThread.cpp \ 86 FastThreadDumpState.cpp \ 87 FastThreadState.cpp 88 89 LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"' 90 91 LOCAL_CFLAGS += -fvisibility=hidden 92 93 include $(BUILD_SHARED_LIBRARY) 94 95 # 96 # build audio resampler test tool 97 # 98 include $(CLEAR_VARS) 99 100 LOCAL_SRC_FILES:= \ 101 test-resample.cpp \ 102 103 LOCAL_C_INCLUDES := \ 104 $(call include-path-for, audio-utils) 105 106 LOCAL_STATIC_LIBRARIES := \ 107 libsndfile 108 109 LOCAL_SHARED_LIBRARIES := \ 110 libaudioresampler \ 111 libaudioutils \ 112 libdl \ 113 libcutils \ 114 libutils \ 115 liblog 116 117 LOCAL_MODULE:= test-resample 118 119 LOCAL_MODULE_TAGS := optional 120 121 include $(BUILD_EXECUTABLE) 122 123 include $(CLEAR_VARS) 124 125 LOCAL_SRC_FILES:= \ 126 AudioResampler.cpp.arm \ 127 AudioResamplerCubic.cpp.arm \ 128 AudioResamplerSinc.cpp.arm \ 129 AudioResamplerDyn.cpp.arm 130 131 LOCAL_C_INCLUDES := \ 132 $(call include-path-for, audio-utils) 133 134 LOCAL_SHARED_LIBRARIES := \ 135 libcutils \ 136 libdl \ 137 liblog 138 139 LOCAL_MODULE := libaudioresampler 140 141 include $(BUILD_SHARED_LIBRARY) 142 143 include $(call all-makefiles-under,$(LOCAL_PATH)) 144