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