mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
Android: build audio controller example
Add buildsystem hooks for building the audiocontroller example with the NDK. Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@collabora.com>
This commit is contained in:
parent
d9e5c529ba
commit
147fa8b1f7
2 changed files with 14 additions and 0 deletions
|
@ -36,6 +36,7 @@ GST_BUILT_SOURCES := \
|
|||
plugins/Android.mk \
|
||||
plugins/elements/Android.mk \
|
||||
plugins/indexers/Android.mk \
|
||||
tests/examples/controller/Android.mk \
|
||||
tools/Android.mk
|
||||
|
||||
GST_BUILT_SOURCES := $(patsubst %, $(abspath $(gstreamer_TOP))/%, $(GST_BUILT_SOURCES))
|
||||
|
@ -68,3 +69,4 @@ CONFIGURE_TARGETS += gst-configure
|
|||
-include $(gstreamer_TOP)/libs/Android.mk
|
||||
-include $(gstreamer_TOP)/plugins/Android.mk
|
||||
-include $(gstreamer_TOP)/tools/Android.mk
|
||||
-include $(gstreamer_TOP)/tests/examples/controller/Android.mk
|
||||
|
|
|
@ -4,3 +4,15 @@ audio_example_CFLAGS = $(GST_OBJ_CFLAGS) -I$(top_builddir)/libs
|
|||
audio_example_LDADD = \
|
||||
$(top_builddir)/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la \
|
||||
$(GST_OBJ_LIBS)
|
||||
|
||||
Android.mk: Makefile.am audio-example.c
|
||||
androgenizer \
|
||||
-:PROJECT audio-example -:EXECUTABLE audio-example \
|
||||
-:TAGS eng debug \
|
||||
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
||||
-:SOURCES audio-example.c \
|
||||
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(audio_example_CFLAGS) \
|
||||
-:LDFLAGS -lgstcontroller-@GST_MAJORMINOR@ \
|
||||
$(GST_OBJ_LIBS) -ldl \
|
||||
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
||||
> $@
|
||||
|
|
Loading…
Reference in a new issue