android: make it ready for androgenizer
authorThibault Saunier <thibault.saunier@collabora.co.uk>
Mon, 11 Apr 2011 04:36:35 +0000 (00:36 -0400)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 11 Apr 2011 05:27:11 +0000 (07:27 +0200)
Remove the android/ top dir
Fixe the Makefile.am to be androgenized

To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git

gst/dtmf/Makefile.am

index 049518e..761575d 100644 (file)
@@ -21,3 +21,16 @@ libgstdtmf_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@ \
 libgstdtmf_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 libgstdtmf_la_LIBTOOLFLAGS = --tag=disable-static
 
+Android.mk: Makefile.am $(BUILT_SOURCES)
+       androgenizer \
+       -:PROJECT libgstdtmf -:SHARED libgstdtmf \
+        -:TAGS eng debug \
+         -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
+        -:SOURCES $(libgstdtmf_la_SOURCES) \
+        -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstdtmf_la_CFLAGS) \
+        -:LDFLAGS $(libgstdtmf_la_LDFLAGS) \
+                  $(libgstdtmf_la_LIBADD) \
+                  -ldl \
+        -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
+                      LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
+       > $@
\ No newline at end of file