Using pre-built FFMPEG libraries, because compiling it is slow, hacky and buggy

This commit is contained in:
pelya
2013-03-22 13:32:03 +02:00
parent c82614d2b8
commit 21086924ec
17 changed files with 14 additions and 0 deletions

View File

@@ -4,6 +4,19 @@
LOCAL_PATH:=$(call my-dir)
ifneq ($(FFMPEG_REBUILD_FROM_SOURCE),yes)
# FFMPEG compilation is hacky and buggy, so we're using prebuilt libraries by default
include $(CLEAR_VARS)
LOCAL_MODULE := $(notdir $(LOCAL_PATH))
ifneq ($(LOCAL_MODULE),ffmpeg)
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).so
include $(PREBUILT_SHARED_LIBRARY)
endif
else
ifeq ($(notdir $(LOCAL_PATH)),ffmpeg) # Build only from ffmpeg directory, ignore symlinks
FFMPEG_VERBOSE_BUILD := yes
@@ -613,3 +626,4 @@ endif
#========================================================================
endif #CONFIG_FFMPEG_COMPILE_TOOLS
endif
endif