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