gst/ivfparse/Android.mk
GST_PLUGINS_BAD_BUILT_SOURCES += ext/faad/Android.mk
+GST_PLUGINS_BAD_BUILT_SOURCES += ext/faac/Android.mk
GST_PLUGINS_BAD_BUILT_SOURCES := $(patsubst %, $(abspath $(GST_PLUGINS_BAD_TOP))/%, $(GST_PLUGINS_BAD_BUILT_SOURCES))
-include $(GST_PLUGINS_BAD_TOP)/gst/asfmux/Android.mk
-include $(GST_PLUGINS_BAD_TOP)/gst/videoparsers/Android.mk
-include $(GST_PLUGINS_BAD_TOP)/ext/faad/Android.mk
+-include $(GST_PLUGINS_BAD_TOP)/ext/faac/Android.mk
-include $(GST_PLUGINS_BAD_TOP)/gst/sdp/Android.mk
-include $(GST_PLUGINS_BAD_TOP)/gst/hls/Android.mk
-include $(GST_PLUGINS_BAD_TOP)/gst/jp2kdecimator/Android.mk
libgstfaac_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = gstfaac.h
+
+Android.mk: Makefile.am $(BUILT_SOURCES)
+ androgenizer \
+ -:PROJECT libgstfaac -:SHARED libgstfaac \
+ -:TAGS eng debug \
+ -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
+ -:SOURCES $(libgstfaac_la_SOURCES) \
+ -:CPPFLAGS $(CPPFLAGS) \
+ -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstfaac_la_CFLAGS) \
+ -:LDFLAGS $(libgstfaac_la_LDFLAGS) \
+ $(libgstfaac_la_LIBADD) \
+ -ldl \
+ -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
+ LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
+ > $@