Commit 1c9525d6 authored by François Grisez's avatar François Grisez

Automatically disable WebRTC's AEC for armv5 platforms on Android

parent 6aca535b
......@@ -58,17 +58,19 @@ set(DEFAULT_VALUE_CMAKE_PLUGIN_LINKING_TYPE "-DENABLE_STATIC=NO" "-DENABLE_SHARE
# Global configuration
set(LINPHONE_BUILDER_HOST "${CMAKE_SYSTEM_PROCESSOR}-linux-android")
set(CMAKE_INSTALL_RPATH "$ORIGIN")
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "armeabi" AND ENABLE_VIDEO)
message(STATUS "Disabling video for armv6")
set(ENABLE_VIDEO NO CACHE BOOL "" FORCE)
set(ENABLE_FFMPEG NO CACHE BOOL "" FORCE)
set(ENABLE_OPENH264 NO CACHE BOOL "" FORCE)
set(ENABLE_VPX NO CACHE BOOL "" FORCE)
set(ENABLE_X264 NO CACHE BOOL "" FORCE)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "armv5te")
if(ENABLE_VIDEO)
message(STATUS "Disabling video for armv6")
set(ENABLE_VIDEO NO CACHE BOOL "" FORCE)
set(ENABLE_FFMPEG NO CACHE BOOL "" FORCE)
set(ENABLE_OPENH264 NO CACHE BOOL "" FORCE)
set(ENABLE_VPX NO CACHE BOOL "" FORCE)
set(ENABLE_X264 NO CACHE BOOL "" FORCE)
endif()
set(ENABLE_WEBRTC_AEC NO CACHE BOOL "" FORCE)
endif()
# Include builders
include(builders/CMakeLists.txt)
......
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