android: update build scripts

parent 1211a897
......@@ -92,6 +92,8 @@ endif
ifeq ($(BUILD_SRTP), 1)
LOCAL_C_INCLUDES += $(SRTP_C_INCLUDE)
else
endif
ifeq ($(LINPHONE_VIDEO),1)
......@@ -185,6 +187,11 @@ ifeq ($(BUILD_MS2), 1)
libavcore \
libavutil
endif
ifeq ($(BUILD_SRTP),1)
LOCAL_SHARED_LIBRARIES += libsrtp
endif
LOCAL_LDLIBS += -lGLESv2 -llog -ldl
include $(BUILD_SHARED_LIBRARY)
else
......
......@@ -5,6 +5,7 @@ APP_STL := stlport_static
# define linphone-root-dir to linphone base dir
BUILD_MS2 := 1
BUILD_SRTP := 1
linphone-root-dir:=$(APP_PROJECT_PATH)/../../../
APP_BUILD_SCRIPT:=$(linphone-root-dir)/jni/Android.mk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment