1LOCAL_PATH := $(call my-dir) 2################################################################################ 3# libxtensa_proxy library building 4################################################################################ 5 6include $(CLEAR_VARS) 7LOCAL_VENDOR_MODULE := true 8common_C_INCLUDES := \ 9 $(LOCAL_PATH)/include \ 10 $(LOCAL_PATH)/include/audio \ 11 $(LOCAL_PATH)/include/os/android \ 12 $(LOCAL_PATH)/include/sys/fio \ 13 $(LOCAL_PATH)/playback \ 14 $(LOCAL_PATH)/playback/tinyalsa \ 15 $(LOCAL_PATH)/utest/include 16 17LOCAL_SRC_FILES := \ 18 proxy/xf-proxy.c \ 19 proxy/xaf-api.c \ 20 proxy/xf-trace.c \ 21 proxy/xf-fio.c \ 22 playback/xa_playback.c \ 23 playback/tinyalsa/pcm.c \ 24 utest/xaf-utils-test.c \ 25 utest/xaf-mem-test.c 26 27C_FLAGS := -DXF_TRACE=0 -Wall -Werror -Wno-everything 28 29LOCAL_SHARED_LIBRARIES := liblog 30LOCAL_C_INCLUDES := $(common_C_INCLUDES) 31LOCAL_C_INCLUDES += external/expat/lib 32LOCAL_CFLAGS := $(C_FLAGS) 33LOCAL_MODULE := libxtensa_proxy 34LOCAL_MODULE_TAGS := optional 35 36include $(BUILD_STATIC_LIBRARY) 37 38################################################################################ 39# xaf-dec-test: fileinput->ogg/pcm decoder->speaker output 40################################################################################ 41include $(CLEAR_VARS) 42LOCAL_VENDOR_MODULE := true 43LOCAL_MODULE := xaf-dec-test 44 45LOCAL_SRC_FILES := \ 46 utest/xaf-dec-test.c 47 48LOCAL_C_INCLUDES := $(common_C_INCLUDES) 49LOCAL_CFLAGS := $(C_FLAGS) 50LOCAL_STATIC_LIBRARIES := libxtensa_proxy 51LOCAL_SHARED_LIBRARIES := liblog libcutils 52LOCAL_MODULE_TAGS := optional 53include $(BUILD_EXECUTABLE) 54 55################################################################################ 56# xaf-dec-mix-test: fileinput->ogg orpcm decoder->Mixer->speaker output 57################################################################################ 58include $(CLEAR_VARS) 59LOCAL_VENDOR_MODULE := true 60LOCAL_MODULE := xaf-dec-mix-test 61 62LOCAL_SRC_FILES := \ 63 utest/xaf-dec-mix-test.c 64 65LOCAL_C_INCLUDES := $(common_C_INCLUDES) 66LOCAL_CFLAGS := $(C_FLAGS) 67LOCAL_STATIC_LIBRARIES := libxtensa_proxy 68LOCAL_SHARED_LIBRARIES := liblog libcutils 69LOCAL_MODULE_TAGS := optional 70include $(BUILD_EXECUTABLE) 71 72