2014-05-20 08:19:23 +02:00
|
|
|
# Generate the libwelsdecdemo.so file
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2014-05-23 09:59:40 +02:00
|
|
|
LOCAL_MODULE := libUT
|
2014-05-20 08:19:23 +02:00
|
|
|
LOCAL_SRC_FILES := ../../../../libut.so
|
2014-06-03 05:21:10 +02:00
|
|
|
ifneq (,$(wildcard $(LOCAL_PATH)/$(LOCAL_SRC_FILES)))
|
2014-05-20 08:19:23 +02:00
|
|
|
include $(PREBUILT_SHARED_LIBRARY)
|
2014-06-03 05:21:10 +02:00
|
|
|
endif
|
2014-05-20 08:19:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Module Settings
|
|
|
|
#
|
|
|
|
LOCAL_MODULE := utDemo
|
|
|
|
|
|
|
|
#
|
|
|
|
# Source Files
|
|
|
|
#
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2014-05-23 09:59:40 +02:00
|
|
|
codec_unittest.cpp
|
2014-05-20 08:19:23 +02:00
|
|
|
#
|
|
|
|
# Header Includes
|
|
|
|
#
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
|
|
#
|
|
|
|
# Compile Flags and Link Libraries
|
|
|
|
#
|
|
|
|
LOCAL_CFLAGS := -O3 -DANDROID_NDK
|
|
|
|
|
|
|
|
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
|
|
|
|
LOCAL_ARM_MODE := arm
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_LDLIBS := -llog
|
2014-05-23 09:59:40 +02:00
|
|
|
LOCAL_SHARED_LIBRARIES := libUT
|
2014-05-20 08:19:23 +02:00
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|