Sync Android.mk entries to the new major version
[platform/upstream/gstreamer.git] / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 GST_PLUGINS_BAD_TOP := $(LOCAL_PATH)
5
6 GST_PLUGINS_BAD_BUILT_SOURCES := \
7         pkgconfig/gstreamer-plugins-bad-1.0-uninstalled.pc      \
8         pkgconfig/gstreamer-plugins-bad-1.0.pc \
9         gst-libs/gst/baseparse/Android.mk \
10         gst-libs/gst/basecamerabinsrc/Android.mk \
11         gst-libs/gst/codecparsers/Android.mk \
12         gst-libs/gst/interfaces/Android.mk \
13         gst/h264parse/Android.mk \
14         gst/videoparsers/Android.mk \
15         gst/audiobuffer/Android.mk \
16         gst/autoconvert/Android.mk \
17         gst/bayer/Android.mk \
18         gst/camerabin2/Android.mk \
19         gst/adpcmdec/Android.mk \
20         gst/adpcmenc/Android.mk \
21         gst/aiff/Android.mk \
22         gst/asfmux/Android.mk \
23         gst/sdp/Android.mk \
24         gst/hls/Android.mk \
25         gst/jp2kdecimator/Android.mk \
26         gst/segmentclip/Android.mk \
27         gst/dtmf/Android.mk \
28         gst/mpeg4videoparse/Android.mk \
29         gst/siren/Android.mk \
30         gst/dataurisrc/Android.mk \
31         gst/rawparse/Android.mk \
32         gst/tta/Android.mk \
33         gst/videosignal/Android.mk \
34         gst/coloreffects/Android.mk \
35         gst/scaletempo/Android.mk \
36         gst/jpegformat/Android.mk \
37         gst/freeze/Android.mk \
38         gst/geometrictransform/Android.mk \
39         gst/librfb/Android.mk \
40         gst/vmnc/Android.mk \
41         gst/interlace/Android.mk \
42         gst/mxf/Android.mk \
43         gst/cdxaparse/Android.mk \
44         gst/mpegpsmux/Android.mk \
45         gst/legacyresample/Android.mk \
46         gst/gaudieffects/Android.mk \
47         gst/liveadder/Android.mk \
48         gst/nsf/Android.mk \
49         gst/dvdspu/Android.mk \
50         gst/mpegvideoparse/Android.mk \
51         gst/mpegtsdemux/Android.mk \
52         gst/debugutils/Android.mk \
53         gst/subenc/Android.mk \
54         gst/id3tag/Android.mk \
55         gst/frei0r/Android.mk \
56         gst/patchdetect/Android.mk \
57         gst/speed/Android.mk \
58         gst/sdi/Android.mk \
59         gst/festival/Android.mk \
60         gst/y4m/Android.mk \
61         gst/rtpmux/Android.mk \
62         gst/pcapparse/Android.mk \
63         gst/nuvdemux/Android.mk \
64         gst/colorspace/Android.mk \
65         gst/pnm/Android.mk \
66         gst/mve/Android.mk \
67         gst/videomeasure/Android.mk \
68         gst/invtelecine/Android.mk \
69         gst/hdvparse/Android.mk \
70         gst/stereo/Android.mk \
71         gst/rtpvp8/Android.mk \
72         gst/mpegdemux/Android.mk \
73         gst/ivfparse/Android.mk
74
75 ifneq ($(NDK_BUILD), true)
76 GST_PLUGINS_BAD_BUILT_SOURCES += ext/faad/Android.mk
77 endif
78
79 GST_PLUGINS_BAD_BUILT_SOURCES := $(patsubst %, $(abspath $(GST_PLUGINS_BAD_TOP))/%, $(GST_PLUGINS_BAD_BUILT_SOURCES))
80
81
82 .PHONY: gst-plugins-bad-configure gst-plugins-bad-configure-real
83 gst-plugins-bad-configure:
84         cd $(GST_PLUGINS_BAD_TOP) ; \
85         CC="$(CONFIGURE_CC)" \
86         CFLAGS="$(CONFIGURE_CFLAGS)" \
87         LD=$(TARGET_LD) \
88         LDFLAGS="$(CONFIGURE_LDFLAGS)" \
89         CPP=$(CONFIGURE_CPP) \
90         CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
91         PKG_CONFIG_LIBDIR="$(CONFIGURE_PKG_CONFIG_LIBDIR)" \
92         PKG_CONFIG_TOP_BUILD_DIR=/ \
93         $(abspath $(GST_PLUGINS_BAD_TOP))/$(CONFIGURE) \
94                 --prefix=/system --host=arm-linux-androideabi --disable-gtk-doc \
95                 --disable-valgrind && \
96         for file in $(GST_PLUGINS_BAD_BUILT_SOURCES); do \
97                 rm -f $$file && \
98                 make -C $$(dirname $$file) $$(basename $$file) ; \
99         done
100
101 CONFIGURE_TARGETS += gst-plugins-bad-configure
102
103 -include $(GST_PLUGINS_BAD_TOP)/gst-libs/gst/baseparse/Android.mk
104 -include $(GST_PLUGINS_BAD_TOP)/gst-libs/gst/basecamerabinsrc/Android.mk
105 -include $(GST_PLUGINS_BAD_TOP)/gst-libs/gst/codecparsers/Android.mk
106 -include $(GST_PLUGINS_BAD_TOP)/gst-libs/gst/interfaces/Android.mk
107 -include $(GST_PLUGINS_BAD_TOP)/gst/h264parse/Android.mk
108 -include $(GST_PLUGINS_BAD_TOP)/gst/audiobuffer/Android.mk
109 -include $(GST_PLUGINS_BAD_TOP)/gst/autoconvert/Android.mk
110 -include $(GST_PLUGINS_BAD_TOP)/gst/bayer/Android.mk
111 -include $(GST_PLUGINS_BAD_TOP)/gst/camerabin2/Android.mk
112 -include $(GST_PLUGINS_BAD_TOP)/gst/adpcmdec/Android.mk
113 -include $(GST_PLUGINS_BAD_TOP)/gst/adpcmenc/Android.mk
114 -include $(GST_PLUGINS_BAD_TOP)/gst/aiff/Android.mk
115 -include $(GST_PLUGINS_BAD_TOP)/gst/asfmux/Android.mk
116 -include $(GST_PLUGINS_BAD_TOP)/gst/videoparsers/Android.mk
117 ifneq ($(NDK_BUILD), true)
118 -include $(GST_PLUGINS_BAD_TOP)/ext/faad/Android.mk
119 endif
120 -include $(GST_PLUGINS_BAD_TOP)/gst/sdp/Android.mk
121 -include $(GST_PLUGINS_BAD_TOP)/gst/hls/Android.mk
122 -include $(GST_PLUGINS_BAD_TOP)/gst/jp2kdecimator/Android.mk
123 -include $(GST_PLUGINS_BAD_TOP)/gst/segmentclip/Android.mk
124 -include $(GST_PLUGINS_BAD_TOP)/gst/dtmf/Android.mk
125 -include $(GST_PLUGINS_BAD_TOP)/gst/mpeg4videoparse/Android.mk
126 -include $(GST_PLUGINS_BAD_TOP)/gst/siren/Android.mk
127 -include $(GST_PLUGINS_BAD_TOP)/gst/dataurisrc/Android.mk
128 -include $(GST_PLUGINS_BAD_TOP)/gst/rawparse/Android.mk
129 -include $(GST_PLUGINS_BAD_TOP)/gst/tta/Android.mk
130 -include $(GST_PLUGINS_BAD_TOP)/gst/videosignal/Android.mk
131 -include $(GST_PLUGINS_BAD_TOP)/gst/coloreffects/Android.mk
132 -include $(GST_PLUGINS_BAD_TOP)/gst/scaletempo/Android.mk
133 -include $(GST_PLUGINS_BAD_TOP)/gst/jpegformat/Android.mk
134 -include $(GST_PLUGINS_BAD_TOP)/gst/freeze/Android.mk
135 -include $(GST_PLUGINS_BAD_TOP)/gst/geometrictransform/Android.mk
136 -include $(GST_PLUGINS_BAD_TOP)/gst/librfb/Android.mk
137 -include $(GST_PLUGINS_BAD_TOP)/gst/vmnc/Android.mk
138 -include $(GST_PLUGINS_BAD_TOP)/gst/interlace/Android.mk
139 -include $(GST_PLUGINS_BAD_TOP)/gst/mxf/Android.mk
140 -include $(GST_PLUGINS_BAD_TOP)/gst/cdxaparse/Android.mk
141 -include $(GST_PLUGINS_BAD_TOP)/gst/mpegpsmux/Android.mk
142 -include $(GST_PLUGINS_BAD_TOP)/gst/legacyresample/Android.mk
143 -include $(GST_PLUGINS_BAD_TOP)/gst/gaudieffects/Android.mk
144 -include $(GST_PLUGINS_BAD_TOP)/gst/liveadder/Android.mk
145 -include $(GST_PLUGINS_BAD_TOP)/gst/nsf/Android.mk
146 -include $(GST_PLUGINS_BAD_TOP)/gst/dvdspu/Android.mk
147 -include $(GST_PLUGINS_BAD_TOP)/gst/mpegvideoparse/Android.mk
148 -include $(GST_PLUGINS_BAD_TOP)/gst/mpegtsdemux/Android.mk
149 -include $(GST_PLUGINS_BAD_TOP)/gst/debugutils/Android.mk
150 -include $(GST_PLUGINS_BAD_TOP)/gst/subenc/Android.mk
151 -include $(GST_PLUGINS_BAD_TOP)/gst/id3tag/Android.mk
152 -include $(GST_PLUGINS_BAD_TOP)/gst/frei0r/Android.mk
153 -include $(GST_PLUGINS_BAD_TOP)/gst/patchdetect/Android.mk
154 -include $(GST_PLUGINS_BAD_TOP)/gst/speed/Android.mk
155 -include $(GST_PLUGINS_BAD_TOP)/gst/sdi/Android.mk
156 -include $(GST_PLUGINS_BAD_TOP)/gst/festival/Android.mk
157 -include $(GST_PLUGINS_BAD_TOP)/gst/y4m/Android.mk
158 -include $(GST_PLUGINS_BAD_TOP)/gst/rtpmux/Android.mk
159 -include $(GST_PLUGINS_BAD_TOP)/gst/pcapparse/Android.mk
160 -include $(GST_PLUGINS_BAD_TOP)/gst/nuvdemux/Android.mk
161 -include $(GST_PLUGINS_BAD_TOP)/gst/colorspace/Android.mk
162 -include $(GST_PLUGINS_BAD_TOP)/gst/pnm/Android.mk
163 -include $(GST_PLUGINS_BAD_TOP)/gst/mve/Android.mk
164 -include $(GST_PLUGINS_BAD_TOP)/gst/videomeasure/Android.mk
165 -include $(GST_PLUGINS_BAD_TOP)/gst/invtelecine/Android.mk
166 -include $(GST_PLUGINS_BAD_TOP)/gst/hdvparse/Android.mk
167 -include $(GST_PLUGINS_BAD_TOP)/gst/stereo/Android.mk
168 -include $(GST_PLUGINS_BAD_TOP)/gst/rtpvp8/Android.mk
169 -include $(GST_PLUGINS_BAD_TOP)/gst/mpegdemux/Android.mk
170 -include $(GST_PLUGINS_BAD_TOP)/gst/ivfparse/Android.mk