2014-02-19 02:54:27 +01:00
|
|
|
# Generate the libwelsdecdemo.so file
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := wels
|
2014-02-20 10:54:21 +01:00
|
|
|
LOCAL_SRC_FILES := ../../../../../libwels.so
|
2014-02-19 02:54:27 +01:00
|
|
|
include $(PREBUILT_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Module Settings
|
|
|
|
#
|
|
|
|
LOCAL_MODULE := welsdecdemo
|
|
|
|
|
|
|
|
#
|
|
|
|
# Source Files
|
|
|
|
#
|
|
|
|
CODEC_PATH := ../../../../
|
|
|
|
CONSOLE_DEC_PATH := ../../../../console/dec
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
$(CONSOLE_DEC_PATH)/src/h264dec.cpp \
|
|
|
|
$(CONSOLE_DEC_PATH)/src/read_config.cpp \
|
|
|
|
$(CONSOLE_DEC_PATH)/src/d3d9_utils.cpp \
|
2014-03-19 03:41:32 +01:00
|
|
|
$(CODEC_PATH)/common/src/logging.cpp \
|
2014-02-19 02:54:27 +01:00
|
|
|
myjni.cpp
|
|
|
|
#
|
|
|
|
# Header Includes
|
|
|
|
#
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
|
|
$(LOCAL_PATH)/../../../../api/svc \
|
|
|
|
$(LOCAL_PATH)/../../../../console/dec/inc \
|
2014-03-19 03:41:32 +01:00
|
|
|
$(LOCAL_PATH)/../../../../common/inc
|
2014-02-19 02:54:27 +01:00
|
|
|
#
|
|
|
|
# Compile Flags and Link Libraries
|
|
|
|
#
|
|
|
|
LOCAL_CFLAGS := -O3 -DANDROID_NDK
|
|
|
|
|
|
|
|
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
|
|
|
|
LOCAL_ARM_MODE := arm
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_LDLIBS := -llog
|
|
|
|
LOCAL_SHARED_LIBRARIES := wels
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|