• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2
3# AAudio Service
4include $(CLEAR_VARS)
5
6LOCAL_MODULE := libaaudioservice
7LOCAL_MODULE_TAGS := optional
8
9LIBAAUDIO_DIR := ../../media/libaaudio
10LIBAAUDIO_SRC_DIR := $(LIBAAUDIO_DIR)/src
11
12LOCAL_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
24LOCAL_SRC_FILES += \
25    SharedMemoryProxy.cpp \
26    SharedRingBuffer.cpp \
27    AAudioClientTracker.cpp \
28    AAudioEndpointManager.cpp \
29    AAudioMixer.cpp \
30    AAudioService.cpp \
31    AAudioServiceEndpoint.cpp \
32    AAudioServiceEndpointCapture.cpp \
33    AAudioServiceEndpointMMAP.cpp \
34    AAudioServiceEndpointPlay.cpp \
35    AAudioServiceEndpointShared.cpp \
36    AAudioServiceStreamBase.cpp \
37    AAudioServiceStreamMMAP.cpp \
38    AAudioServiceStreamShared.cpp \
39    AAudioStreamTracker.cpp \
40    TimestampScheduler.cpp \
41    AAudioThread.cpp
42
43LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
44
45# LOCAL_CFLAGS += -fvisibility=hidden
46LOCAL_CFLAGS += -Wno-unused-parameter
47LOCAL_CFLAGS += -Wall -Werror
48
49LOCAL_SHARED_LIBRARIES :=  \
50    libaaudio \
51    libaudioflinger \
52    libaudioclient \
53    libbinder \
54    libcutils \
55    libmediautils \
56    libutils \
57    liblog
58
59include $(BUILD_SHARED_LIBRARY)
60
61
62