Cerbero build a plugin in Android

Sebastian Dröge sebastian at centricular.com
Tue Jan 13 02:41:20 PST 2015


On Di, 2015-01-13 at 02:18 -0800, nero88 wrote:
> hi, sebastian!
> I add to my Android.mk the next code:
> 
> LIBTOOL_DEBUG=1
> plugin_LTLIBRARIES				:= libgstplugin.la
> LOCAL_MODULE					:= libgstplugin
> libgstplugin_la_SOURCES			:= gstplugin.c gstplugin.h
> noinst_HEADERS					:= gstplugin.h
> libgstplugin_la_LDLIBS			:= -llog -landroid
> libgstplugin_la_CFLAGS			:= -DGST_PLUGIN_BUILD_STATIC
> include $(BUILD_STATIC_LIBRARY)
> 
> But doesn't create me the files *.la files, *.a
> I need something more to add?
> I am using Gstreamer 1.4.4 and ndk-r9d and the S.O. ubuntu 14.04.

The Android build system does not support libtool, so that's not going
to work.

As said before, if you just want to use that plugin in an Android app,
you don't need to create a (static) plugin :)

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150113/25934744/attachment-0001.sig>


More information about the gstreamer-devel mailing list