gstreamer/gst-sdk/tutorials/android-tutorial-5/jni/Android.mk

23 lines
811 B
Makefile
Raw Normal View History

2012-09-04 10:20:02 +00:00
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
2012-10-03 12:17:08 +00:00
LOCAL_MODULE := tutorial-5
LOCAL_SRC_FILES := tutorial-5.c
2012-09-06 13:56:13 +00:00
LOCAL_SHARED_LIBRARIES := gstreamer_android
LOCAL_LDLIBS := -llog -landroid
2012-09-04 10:20:02 +00:00
include $(BUILD_SHARED_LIBRARY)
2013-10-31 09:24:52 +00:00
ifndef GSTREAMER_ROOT
ifndef GSTREAMER_ROOT_ANDROID
$(error GSTREAMER_ROOT_ANDROID is not defined!)
endif
2013-10-31 09:24:52 +00:00
GSTREAMER_ROOT := $(GSTREAMER_ROOT_ANDROID)
endif
2013-10-31 09:24:52 +00:00
GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build/
2012-10-03 10:14:45 +00:00
include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk
GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS) $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS)
G_IO_MODULES := gnutls
2013-10-31 09:24:52 +00:00
GSTREAMER_EXTRA_DEPS := gstreamer-video-1.0
include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer-1.0.mk