1 LOCAL_PATH:= $(call my-dir) 2 3 # AAudio Service 4 include $(CLEAR_VARS) 5 6 LOCAL_MODULE := libaaudioservice 7 LOCAL_MODULE_TAGS := optional 8 9 LIBAAUDIO_DIR := ../../media/libaaudio 10 LIBAAUDIO_SRC_DIR := $(LIBAAUDIO_DIR)/src 11 12 LOCAL_C_INCLUDES := \ 13 $(TOPDIR)frameworks/av/services/audioflinger \ 14 $(call include-path-for, audio-utils) \ 15 frameworks/native/include \ 16 system/core/base/include \ 17 $(TOP)/frameworks/native/media/libaaudio/include/include \ 18 $(TOP)/frameworks/av/media/libaaudio/include \ 19 $(TOP)/frameworks/av/media/utils/include \ 20 frameworks/native/include \ 21 $(TOP)/external/tinyalsa/include \ 22 $(TOP)/frameworks/av/media/libaaudio/src 23 24 LOCAL_SRC_FILES += \ 25 $(LIBAAUDIO_SRC_DIR)/utility/HandleTracker.cpp \ 26 SharedMemoryProxy.cpp \ 27 SharedRingBuffer.cpp \ 28 AAudioEndpointManager.cpp \ 29 AAudioMixer.cpp \ 30 AAudioService.cpp \ 31 AAudioServiceEndpoint.cpp \ 32 AAudioServiceEndpointCapture.cpp \ 33 AAudioServiceEndpointPlay.cpp \ 34 AAudioServiceStreamBase.cpp \ 35 AAudioServiceStreamMMAP.cpp \ 36 AAudioServiceStreamShared.cpp \ 37 TimestampScheduler.cpp \ 38 AAudioThread.cpp 39 40 LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) 41 42 # LOCAL_CFLAGS += -fvisibility=hidden 43 LOCAL_CFLAGS += -Wno-unused-parameter 44 LOCAL_CFLAGS += -Wall -Werror 45 46 LOCAL_SHARED_LIBRARIES := \ 47 libaaudio \ 48 libaudioflinger \ 49 libbinder \ 50 libcutils \ 51 libmediautils \ 52 libutils \ 53 liblog 54 55 include $(BUILD_SHARED_LIBRARY) 56 57 58