Permalink
Browse files

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

… and buggy
  • Loading branch information...
pelya committed Mar 22, 2013
1 parent c82614d commit 21086924ec59006e4fb3ed701e717c2b83696d36
@@ -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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 2108692

Please sign in to comment.