android: Add support for the faac plugin
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Sat, 21 Apr 2012 06:06:09 +0000 (11:36 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 25 Apr 2012 10:31:28 +0000 (16:01 +0530)
Android.mk
ext/faac/Makefile.am

index 16f1fc2693177e420394685b1bdb09664596cdef..c18e9ddc026cfc28cc969e3a470ffc603c2ac771 100644 (file)
@@ -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
index eb230dc8bc44ba70388231298dc031c3c6c98661..089a6f1e8397c638c5fc0f9778fac5f817403068 100644 (file)
@@ -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' \
+       > $@