1 LOCAL_PATH := $(call my-dir)
4 GST_PLUGINS_BASE_TOP := $(LOCAL_PATH)
6 GST_PLUGINS_BASE_BUILT_SOURCES := \
7 pkgconfig/gstreamer-app-0.10.pc \
8 pkgconfig/gstreamer-audio-0.10.pc \
9 pkgconfig/gstreamer-cdda-0.10.pc \
10 pkgconfig/gstreamer-fft-0.10.pc \
11 pkgconfig/gstreamer-interfaces-0.10.pc \
12 pkgconfig/gstreamer-pbutils-0.10.pc \
13 pkgconfig/gstreamer-plugins-base-0.10.pc \
14 pkgconfig/gstreamer-riff-0.10.pc \
15 pkgconfig/gstreamer-rtp-0.10.pc \
16 pkgconfig/gstreamer-rtsp-0.10.pc \
17 pkgconfig/gstreamer-sdp-0.10.pc \
18 pkgconfig/gstreamer-tag-0.10.pc \
19 pkgconfig/gstreamer-video-0.10.pc \
20 pkgconfig/gstreamer-app-0.10-uninstalled.pc \
21 pkgconfig/gstreamer-audio-0.10-uninstalled.pc \
22 pkgconfig/gstreamer-cdda-0.10-uninstalled.pc \
23 pkgconfig/gstreamer-fft-0.10-uninstalled.pc \
24 pkgconfig/gstreamer-interfaces-0.10-uninstalled.pc \
25 pkgconfig/gstreamer-pbutils-0.10-uninstalled.pc \
26 pkgconfig/gstreamer-plugins-base-0.10-uninstalled.pc \
27 pkgconfig/gstreamer-riff-0.10-uninstalled.pc \
28 pkgconfig/gstreamer-rtp-0.10-uninstalled.pc \
29 pkgconfig/gstreamer-rtsp-0.10-uninstalled.pc \
30 pkgconfig/gstreamer-sdp-0.10-uninstalled.pc \
31 pkgconfig/gstreamer-tag-0.10-uninstalled.pc \
32 pkgconfig/gstreamer-video-0.10-uninstalled.pc \
33 gst-libs/gst/interfaces/Android.mk \
34 gst-libs/gst/tag/Android.mk \
35 gst-libs/gst/audio/Android.mk \
36 gst-libs/gst/video/Android.mk \
37 gst-libs/gst/riff/Android.mk \
38 gst-libs/gst/pbutils/Android.mk \
39 gst-libs/gst/rtp/Android.mk \
40 gst-libs/gst/rtsp/Android.mk \
41 gst-libs/gst/sdp/Android.mk \
42 gst-libs/gst/app/Android.mk \
43 gst-libs/gst/fft/Android.mk \
44 gst/playback/Android.mk \
45 gst/typefind/Android.mk \
49 gst/audioconvert/Android.mk \
50 gst/audioresample/Android.mk \
51 gst/audiotestsrc/Android.mk \
52 gst/videotestsrc/Android.mk \
53 gst/videoscale/Android.mk \
54 gst/videoconvert/Android.mk \
55 gst/videorate/Android.mk \
56 gst/encoding/Android.mk \
57 gst/adder/Android.mk \
58 gst/audiorate/Android.mk \
59 gst/volume/Android.mk \
63 ifneq ($(NDK_BUILD), true)
64 GST_PLUGINS_BASE_BUILT_SOURCES += ext/vorbis/Android.mk
67 GST_PLUGINS_BASE_BUILT_SOURCES := $(patsubst %, $(abspath $(GST_PLUGINS_BASE_TOP))/%, $(GST_PLUGINS_BASE_BUILT_SOURCES))
70 .PHONY: gst-plugins-base-configure
71 gst-plugins-base-configure:
72 cd $(GST_PLUGINS_BASE_TOP) ; \
73 CC="$(CONFIGURE_CC)" \
74 CFLAGS="$(CONFIGURE_CFLAGS)" \
76 LDFLAGS="$(CONFIGURE_LDFLAGS)" \
77 CPP=$(CONFIGURE_CPP) \
78 CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
79 PKG_CONFIG_LIBDIR="$(CONFIGURE_PKG_CONFIG_LIBDIR)" \
80 PKG_CONFIG_TOP_BUILD_DIR=/ \
81 IVORBIS_CFLAGS="-I$(TOP)/external/tremolo -DTREMOR" \
82 IVORBIS_LIBS="-lvorbisidec" \
83 $(abspath $(GST_PLUGINS_BASE_TOP))/$(CONFIGURE) --host=arm-linux-androideabi \
84 --prefix=/system --disable-orc --disable-gio --enable-ivorbis \
85 --disable-valgrind --disable-gtk-doc && \
86 for file in $(GST_PLUGINS_BASE_BUILT_SOURCES); do \
88 make -C $$(dirname $$file) $$(basename $$file) ; \
91 CONFIGURE_TARGETS += gst-plugins-base-configure
93 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/interfaces/Android.mk
94 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/fft/Android.mk
95 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/tag/Android.mk
96 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/audio/Android.mk
97 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/video/Android.mk
98 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/riff/Android.mk
99 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/pbutils/Android.mk
100 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/rtp/Android.mk
101 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/rtsp/Android.mk
102 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/sdp/Android.mk
103 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/app/Android.mk
104 -include $(GST_PLUGINS_BASE_TOP)/gst/playback/Android.mk
105 -include $(GST_PLUGINS_BASE_TOP)/gst/typefind/Android.mk
106 -include $(GST_PLUGINS_BASE_TOP)/gst/app/Android.mk
107 -include $(GST_PLUGINS_BASE_TOP)/gst/gdp/Android.mk
108 -include $(GST_PLUGINS_BASE_TOP)/gst/tcp/Android.mk
109 -include $(GST_PLUGINS_BASE_TOP)/gst/audioconvert/Android.mk
110 -include $(GST_PLUGINS_BASE_TOP)/gst/audioresample/Android.mk
111 -include $(GST_PLUGINS_BASE_TOP)/gst/audiotestsrc/Android.mk
112 -include $(GST_PLUGINS_BASE_TOP)/gst/videotestsrc/Android.mk
113 -include $(GST_PLUGINS_BASE_TOP)/gst/videoscale/Android.mk
114 -include $(GST_PLUGINS_BASE_TOP)/gst/videoconvert/Android.mk
115 -include $(GST_PLUGINS_BASE_TOP)/gst/videorate/Android.mk
116 -include $(GST_PLUGINS_BASE_TOP)/gst/encoding/Android.mk
117 -include $(GST_PLUGINS_BASE_TOP)/gst/adder/Android.mk
118 -include $(GST_PLUGINS_BASE_TOP)/gst/audiorate/Android.mk
119 -include $(GST_PLUGINS_BASE_TOP)/gst/volume/Android.mk
120 -include $(GST_PLUGINS_BASE_TOP)/ext/ogg/Android.mk
121 ifneq ($(NDK_BUILD), true)
122 -include $(GST_PLUGINS_BASE_TOP)/ext/vorbis/Android.mk
124 -include $(GST_PLUGINS_BASE_TOP)/tools/Android.mk