android: make it ready for androgenizer
authorAlessandro Decina <alessandro.d@gmail.com>
Thu, 27 Jan 2011 16:28:51 +0000 (17:28 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 11 Sep 2012 00:54:34 +0000 (01:54 +0100)
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/gdp/Makefile.am

index b42a955f28c53b1c7730110f4cce6e441abb0be3..a8aba8b4406ad4e1c6b87daa0d044e75ce7b24cd 100644 (file)
@@ -13,3 +13,17 @@ libgstgdp_la_LIBTOOLFLAGS = --tag=disable-static
 noinst_HEADERS =                       \
                 gstgdppay.h            \
                 gstgdpdepay.h
+
+Android.mk: Makefile.am $(BUILT_SOURCES)
+       androgenizer \
+       -:PROJECT libgstgdp -:SHARED libgstgdp \
+        -:TAGS eng debug \
+         -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
+        -:SOURCES $(libgstgdp_la_SOURCES) \
+        -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstgdp_la_CFLAGS) \
+        -:LDFLAGS $(libgstgdp_la_LDFLAGS) \
+                  $(libgstgdp_la_LIBADD) \
+                  -ldl \
+        -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
+                      LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
+       > $@