LOCAL_PATH := $(call my-dir)

GST_PLUGINS_UGLY_TOP := $(LOCAL_PATH)

include $(CLEAR_VARS)

# external dependencies
include $(GST_PLUGINS_UGLY_TOP)/ext/mad/Android.mk
include $(GST_PLUGINS_UGLY_TOP)/gst/mpegaudioparse/Android.mk

ifeq ($(strip $(BUILD_WITH_GST)),true)

LOCAL_PATH := $(call my-dir)

GST_PLUGINS_UGLY_TOP := $(LOCAL_PATH)

include $(CLEAR_VARS)

# external dependencies
include $(GST_PLUGINS_UGLY_TOP)/ext/mad/Android.mk
include $(GST_PLUGINS_UGLY_TOP)/gst/mpegaudioparse/Android.mk

endif

Build gst-plugins-ugly only if BUILD_WITH_GST option provided.
Build gst-plugins-ugly only if BUILD_WITH_GST option provided.

Signed-off-by: Andrei Dolnikov <f10234ab582723aba4f89d0c8d855c03f4a13260@embeddedalley.com>
