Phil Burk | 2355edb | 2016-12-26 13:54:02 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | # Oboe Service |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_MODULE := oboeservice |
| 7 | LOCAL_MODULE_TAGS := optional |
| 8 | |
| 9 | LIBOBOE_DIR := ../../media/liboboe |
| 10 | LIBOBOE_SRC_DIR := $(LIBOBOE_DIR)/src |
| 11 | |
| 12 | LOCAL_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 |
| 28 | LOCAL_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 | |
| 47 | LOCAL_CFLAGS += -Wno-unused-parameter |
| 48 | LOCAL_CFLAGS += -Wall -Werror |
| 49 | |
| 50 | LOCAL_SHARED_LIBRARIES := libbinder libcutils libutils liblog libtinyalsa |
| 51 | |
| 52 | include $(BUILD_EXECUTABLE) |