diff --git a/Android.mk b/Android.mk index 16f1fc2693..c18e9ddc02 100644 --- a/Android.mk +++ b/Android.mk @@ -73,6 +73,7 @@ GST_PLUGINS_BAD_BUILT_SOURCES := \ 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)) @@ -113,6 +114,7 @@ CONFIGURE_TARGETS += gst-plugins-bad-configure -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 diff --git a/ext/faac/Makefile.am b/ext/faac/Makefile.am index eb230dc8bc..089a6f1e83 100644 --- a/ext/faac/Makefile.am +++ b/ext/faac/Makefile.am @@ -11,3 +11,18 @@ libgstfaac_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) 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' \ + > $@