update openh264
This commit is contained in:
parent
ffec77614d
commit
286081da79
4 changed files with 15 additions and 4 deletions
10
Makefile
10
Makefile
|
@ -1,4 +1,5 @@
|
|||
NDK_PATH=$(shell dirname `which ndk-build`)
|
||||
NDK_MAJOR_VERSION=$(shell cat $(NDK_PATH)/RELEASE.TXT | sed "s/r\([0-9]\{1,2\}\).*/\1/")
|
||||
SDK_PATH=$(shell dirname `which android`)
|
||||
SDK_PLATFORM_TOOLS_PATH=$(shell dirname `which adb`)
|
||||
ARM_COMPILER_PATH=`find "$(NDK_PATH)" -name "arm-linux-androideabi-gcc-4*" -print | tail -1`
|
||||
|
@ -50,6 +51,7 @@ BUILD_OPUS=1
|
|||
BUILD_MATROSKA=1
|
||||
BUILD_WEBRTC_ISAC=1
|
||||
BUILD_FOR_X86=1
|
||||
BUILD_FOR_ARM=1
|
||||
USE_JAVAH=1
|
||||
BUILD_TLS=1
|
||||
BUILD_SQLITE=1
|
||||
|
@ -64,10 +66,16 @@ APP_STL=stlport_static
|
|||
|
||||
# Checks
|
||||
CHECK_MSG=$(shell ./check_tools.sh)
|
||||
ifeq ($(BUILD_OPENH264),1)
|
||||
ifneq ($(shell echo $(NDK_MAJOR_VERSION)\>=10 | bc),1)
|
||||
$(error ndk version [$(NDK_MAJOR_VERSION)] not compatible with opensh264.)
|
||||
endif
|
||||
endif
|
||||
include check_tools.mk
|
||||
|
||||
ifneq ($(CHECK_MSG),)
|
||||
$(error Some tools are missing.)
|
||||
endif
|
||||
include check_tools.mk
|
||||
|
||||
OPENSSL_DIR=$(shell openssl version -d | sed "s/OPENSSLDIR: \"\(.*\)\"/\1/")
|
||||
ifneq ($(shell ls $(OPENSSL_DIR)/certs),)
|
||||
|
|
|
@ -139,7 +139,10 @@ linphone-root-dir:=$(APP_PROJECT_PATH)
|
|||
|
||||
APP_BUILD_SCRIPT:=$(call my-dir)/Android.mk
|
||||
APP_PLATFORM := android-8
|
||||
APP_ABI := armeabi-v7a armeabi
|
||||
APP_ABI := armeabi-v7a
|
||||
ifeq ($(BUILD_FOR_ARM), 1)
|
||||
APP_ABI += armeabi
|
||||
endif
|
||||
ifeq ($(BUILD_FOR_X86), 1)
|
||||
APP_ABI += x86
|
||||
endif
|
||||
|
|
2
submodules/externals/openh264
vendored
2
submodules/externals/openh264
vendored
|
@ -1 +1 @@
|
|||
Subproject commit bdb7d758c1edce3c42c7fdc203328aae28f08008
|
||||
Subproject commit c13bfe6407252f64610b0c2c9aa0737054dcd71e
|
|
@ -1 +1 @@
|
|||
Subproject commit 5ba043abf7c68fc2d3a36b3cfdb19dc19fd498c7
|
||||
Subproject commit 6c2cf04b56b226be7bbc4f0ebe47fe937806ac73
|
Loading…
Reference in a new issue