android: update build scripts

parent 1211a897
...@@ -92,6 +92,8 @@ endif ...@@ -92,6 +92,8 @@ endif
ifeq ($(BUILD_SRTP), 1) ifeq ($(BUILD_SRTP), 1)
LOCAL_C_INCLUDES += $(SRTP_C_INCLUDE) LOCAL_C_INCLUDES += $(SRTP_C_INCLUDE)
else
endif endif
ifeq ($(LINPHONE_VIDEO),1) ifeq ($(LINPHONE_VIDEO),1)
...@@ -185,6 +187,11 @@ ifeq ($(BUILD_MS2), 1) ...@@ -185,6 +187,11 @@ ifeq ($(BUILD_MS2), 1)
libavcore \ libavcore \
libavutil libavutil
endif endif
ifeq ($(BUILD_SRTP),1)
LOCAL_SHARED_LIBRARIES += libsrtp
endif
LOCAL_LDLIBS += -lGLESv2 -llog -ldl LOCAL_LDLIBS += -lGLESv2 -llog -ldl
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
else else
......
...@@ -5,6 +5,7 @@ APP_STL := stlport_static ...@@ -5,6 +5,7 @@ APP_STL := stlport_static
# define linphone-root-dir to linphone base dir # define linphone-root-dir to linphone base dir
BUILD_MS2 := 1 BUILD_MS2 := 1
BUILD_SRTP := 1
linphone-root-dir:=$(APP_PROJECT_PATH)/../../../ linphone-root-dir:=$(APP_PROJECT_PATH)/../../../
APP_BUILD_SCRIPT:=$(linphone-root-dir)/jni/Android.mk 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