blob: 07b4d76298739e3cac7f26dfad3e831441df8a15 [file] [log] [blame]
Phil Burk2355edb2016-12-26 13:54:02 -08001LOCAL_PATH:= $(call my-dir)
2
3# Oboe Service
4include $(CLEAR_VARS)
5
6LOCAL_MODULE := oboeservice
7LOCAL_MODULE_TAGS := optional
8
9LIBOBOE_DIR := ../../media/liboboe
10LIBOBOE_SRC_DIR := $(LIBOBOE_DIR)/src
11
12LOCAL_C_INCLUDES := \
13 $(call include-path-for, audio-utils) \
14 frameworks/native/include \
15 system/core/base/include \
16 $(TOP)/frameworks/native/media/liboboe/include/include \
17 $(TOP)/frameworks/av/media/liboboe/include \
18 frameworks/native/include \
19 $(TOP)/external/tinyalsa/include \
20 $(TOP)/frameworks/av/media/liboboe/src \
21 $(TOP)/frameworks/av/media/liboboe/src/binding \
22 $(TOP)/frameworks/av/media/liboboe/src/client \
23 $(TOP)/frameworks/av/media/liboboe/src/core \
24 $(TOP)/frameworks/av/media/liboboe/src/fifo \
25 $(TOP)/frameworks/av/media/liboboe/src/utility
26
27# TODO These could be in a liboboe_common library
28LOCAL_SRC_FILES += \
29 $(LIBOBOE_SRC_DIR)/utility/HandleTracker.cpp \
30 $(LIBOBOE_SRC_DIR)/utility/OboeUtilities.cpp \
31 $(LIBOBOE_SRC_DIR)/fifo/FifoBuffer.cpp \
32 $(LIBOBOE_SRC_DIR)/fifo/FifoControllerBase.cpp \
33 $(LIBOBOE_SRC_DIR)/binding/SharedMemoryParcelable.cpp \
34 $(LIBOBOE_SRC_DIR)/binding/SharedRegionParcelable.cpp \
35 $(LIBOBOE_SRC_DIR)/binding/RingBufferParcelable.cpp \
36 $(LIBOBOE_SRC_DIR)/binding/AudioEndpointParcelable.cpp \
37 $(LIBOBOE_SRC_DIR)/binding/OboeStreamRequest.cpp \
38 $(LIBOBOE_SRC_DIR)/binding/OboeStreamConfiguration.cpp \
39 $(LIBOBOE_SRC_DIR)/binding/IOboeAudioService.cpp \
40 SharedRingBuffer.cpp \
41 FakeAudioHal.cpp \
42 OboeAudioService.cpp \
43 OboeServiceStreamBase.cpp \
44 OboeServiceStreamFakeHal.cpp \
45 OboeServiceMain.cpp
46
47LOCAL_CFLAGS += -Wno-unused-parameter
48LOCAL_CFLAGS += -Wall -Werror
49
50LOCAL_SHARED_LIBRARIES := libbinder libcutils libutils liblog libtinyalsa
51
52include $(BUILD_EXECUTABLE)