1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_SRC_FILES := \ 6 ServiceUtilities.cpp 7 8 # FIXME Move this library to frameworks/native 9 LOCAL_MODULE := libserviceutility 10 11 LOCAL_SHARED_LIBRARIES := \ 12 libcutils \ 13 libutils \ 14 liblog \ 15 libbinder 16 17 LOCAL_CFLAGS := -Wall -Werror 18 19 include $(BUILD_SHARED_LIBRARY) 20 21 include $(CLEAR_VARS) 22 23 LOCAL_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 36 LOCAL_C_INCLUDES := \ 37 $(TOPDIR)frameworks/av/services/audiopolicy \ 38 $(TOPDIR)frameworks/av/services/medialog \ 39 $(call include-path-for, audio-utils) 40 41 LOCAL_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 libpowermanager \ 55 libserviceutility \ 56 libmediautils \ 57 libmemunreachable \ 58 libmedia_helper 59 60 LOCAL_STATIC_LIBRARIES := \ 61 libcpustats \ 62 63 LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) 64 65 LOCAL_MODULE:= libaudioflinger 66 67 LOCAL_SRC_FILES += \ 68 AudioWatchdog.cpp \ 69 FastCapture.cpp \ 70 FastCaptureDumpState.cpp \ 71 FastCaptureState.cpp \ 72 FastMixer.cpp \ 73 FastMixerDumpState.cpp \ 74 FastMixerState.cpp \ 75 FastThread.cpp \ 76 FastThreadDumpState.cpp \ 77 FastThreadState.cpp 78 79 LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"' 80 81 LOCAL_CFLAGS += -fvisibility=hidden 82 83 LOCAL_CFLAGS += -Werror -Wall 84 85 include $(BUILD_SHARED_LIBRARY) 86 87 include $(call all-makefiles-under,$(LOCAL_PATH)) 88