2014-02-18 17:54:27 -08:00
|
|
|
# Generate the libwelsdecdemo.so file
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := wels
|
2014-05-04 16:00:04 +03:00
|
|
|
LOCAL_SRC_FILES := ../../../../../libopenh264.so
|
2014-06-02 20:21:10 -07:00
|
|
|
ifneq (,$(wildcard $(LOCAL_PATH)/$(LOCAL_SRC_FILES)))
|
2014-02-18 17:54:27 -08:00
|
|
|
include $(PREBUILT_SHARED_LIBRARY)
|
2014-06-02 20:21:10 -07:00
|
|
|
endif
|
2014-02-18 17:54:27 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Module Settings
|
|
|
|
#
|
|
|
|
LOCAL_MODULE := welsdecdemo
|
|
|
|
|
|
|
|
#
|
|
|
|
# Source Files
|
|
|
|
#
|
|
|
|
CODEC_PATH := ../../../../
|
|
|
|
CONSOLE_DEC_PATH := ../../../../console/dec
|
2014-06-29 19:20:12 +03:00
|
|
|
CONSOLE_COMMON_PATH := ../../../../console/common
|
2014-02-18 17:54:27 -08:00
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
$(CONSOLE_DEC_PATH)/src/h264dec.cpp \
|
2014-06-29 19:20:12 +03:00
|
|
|
$(CONSOLE_COMMON_PATH)/src/read_config.cpp \
|
2014-02-18 17:54:27 -08:00
|
|
|
$(CONSOLE_DEC_PATH)/src/d3d9_utils.cpp \
|
|
|
|
myjni.cpp
|
|
|
|
#
|
|
|
|
# Header Includes
|
|
|
|
#
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
|
|
$(LOCAL_PATH)/../../../../api/svc \
|
|
|
|
$(LOCAL_PATH)/../../../../console/dec/inc \
|
2014-06-29 19:20:12 +03:00
|
|
|
$(LOCAL_PATH)/../../../../console/common/inc \
|
2014-03-18 19:41:32 -07:00
|
|
|
$(LOCAL_PATH)/../../../../common/inc
|
2014-02-18 17:54:27 -08:00
|
|
|
#
|
|
|
|
# Compile Flags and Link Libraries
|
|
|
|
#
|
2014-06-29 19:58:46 +03:00
|
|
|
LOCAL_CFLAGS := -DANDROID_NDK
|
2014-02-18 17:54:27 -08:00
|
|
|
|
|
|
|
LOCAL_LDLIBS := -llog
|
|
|
|
LOCAL_SHARED_LIBRARIES := wels
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|