1# Generate the libwelsdecdemo.so file 2LOCAL_PATH := $(call my-dir) 3 4include $(CLEAR_VARS) 5LOCAL_MODULE := wels 6LOCAL_SRC_FILES := ../../../../../libopenh264.so 7ifneq (,$(wildcard $(LOCAL_PATH)/$(LOCAL_SRC_FILES))) 8include $(PREBUILT_SHARED_LIBRARY) 9endif 10 11 12 13include $(CLEAR_VARS) 14 15# 16# Module Settings 17# 18LOCAL_MODULE := welsdecdemo 19 20# 21# Source Files 22# 23CODEC_PATH := ../../../../ 24CONSOLE_DEC_PATH := ../../../../console/dec 25CONSOLE_COMMON_PATH := ../../../../console/common 26LOCAL_SRC_FILES := \ 27 $(CONSOLE_DEC_PATH)/src/h264dec.cpp \ 28 $(CONSOLE_COMMON_PATH)/src/read_config.cpp \ 29 $(CONSOLE_DEC_PATH)/src/d3d9_utils.cpp \ 30 myjni.cpp 31# 32# Header Includes 33# 34LOCAL_C_INCLUDES := \ 35 $(LOCAL_PATH)/../../../../api/svc \ 36 $(LOCAL_PATH)/../../../../console/dec/inc \ 37 $(LOCAL_PATH)/../../../../console/common/inc \ 38 $(LOCAL_PATH)/../../../../common/inc 39# 40# Compile Flags and Link Libraries 41# 42LOCAL_CFLAGS := -DANDROID_NDK 43 44LOCAL_LDLIBS := -llog 45LOCAL_SHARED_LIBRARIES := wels 46 47include $(BUILD_SHARED_LIBRARY) 48