2012-10-08 09:55:59 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := tutorial-2
|
|
|
|
LOCAL_SRC_FILES := tutorial-2.c
|
|
|
|
LOCAL_SHARED_LIBRARIES := gstreamer_android
|
2012-10-08 13:36:16 +00:00
|
|
|
LOCAL_LDLIBS := -llog
|
2012-10-08 09:55:59 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
ifndef GSTREAMER_SDK_ROOT
|
|
|
|
ifndef GSTREAMER_SDK_ROOT_ANDROID
|
|
|
|
$(error GSTREAMER_SDK_ROOT_ANDROID is not defined!)
|
|
|
|
endif
|
|
|
|
GSTREAMER_SDK_ROOT := $(GSTREAMER_SDK_ROOT_ANDROID)
|
|
|
|
endif
|
|
|
|
GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build/
|
|
|
|
include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk
|
|
|
|
GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_SYS)
|
|
|
|
include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer.mk
|