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 17LOCAL_CFLAGS := -Wall -Werror 18 19include $(BUILD_SHARED_LIBRARY) 20 21include $(CLEAR_VARS) 22 23LOCAL_SRC_FILES:= \ 24 AudioFlinger.cpp \ 25 Threads.cpp \ 26 Tracks.cpp \ 27 AudioHwDevice.cpp \ 28 AudioStreamOut.cpp \ 29 SpdifStreamOut.cpp \ 30 Effects.cpp \ 31 PatchPanel.cpp \ 32 StateQueue.cpp \ 33 BufLog.cpp \ 34 TypedLogger.cpp 35 36LOCAL_C_INCLUDES := \ 37 frameworks/av/services/audiopolicy \ 38 frameworks/av/services/medialog \ 39 $(call include-path-for, audio-utils) 40 41LOCAL_SHARED_LIBRARIES := \ 42 libaudiohal \ 43 libaudioprocessing \ 44 libaudiospdif \ 45 libaudioutils \ 46 libcutils \ 47 libutils \ 48 liblog \ 49 libbinder \ 50 libaudioclient \ 51 libmedialogservice \ 52 libmediautils \ 53 libnbaio \ 54 libnblog \ 55 libpowermanager \ 56 libserviceutility \ 57 libmediautils \ 58 libmemunreachable \ 59 libmedia_helper 60 61LOCAL_STATIC_LIBRARIES := \ 62 libcpustats \ 63 64LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) 65 66LOCAL_MODULE:= libaudioflinger 67 68LOCAL_SRC_FILES += \ 69 AudioWatchdog.cpp \ 70 FastCapture.cpp \ 71 FastCaptureDumpState.cpp \ 72 FastCaptureState.cpp \ 73 FastMixer.cpp \ 74 FastMixerDumpState.cpp \ 75 FastMixerState.cpp \ 76 FastThread.cpp \ 77 FastThreadDumpState.cpp \ 78 FastThreadState.cpp 79 80LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"' 81 82LOCAL_CFLAGS += -fvisibility=hidden 83 84LOCAL_CFLAGS += -Werror -Wall 85 86include $(BUILD_SHARED_LIBRARY) 87 88include $(call all-makefiles-under,$(LOCAL_PATH)) 89