Created
August 16, 2014 07:08
-
-
Save moltak/884f5fce61baaf955332 to your computer and use it in GitHub Desktop.
ffmpeg android.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := basicplayer | |
LOCAL_CFLAGS := -DANDROID_NDK | |
LOCAL_SRC_FILES := BasicPlayer.c Interface.c | |
LOCAL_C_INCLUDES := $(LOCAL_PATH)/ffmpeg/ \ | |
$(LOCAL_PATH)/ffmpeg/libavcodec \ | |
$(LOCAL_PATH)/ffmpeg/libavformat \ | |
$(LOCAL_PATH)/ffmpeg/libswscale | |
LOCAL_STATIC_LIBRARIES := libavformat libavcodec libswscale libavutil cpufeatures | |
LOCAL_LDLIBS := -L$(LOCAL_PATH)/ffmpeg/android/armv7-a-vfp/lib -lavformat -lavcodec -lswscale -lavutil -lz -ljnigraphics | |
LOCAL_ARM_MODE := arm | |
#LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) | |
include $(BUILD_SHARED_LIBRARY) | |
#$(call import-module,android/cpufeatures) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment