v4l2: Add DMABUF and USERPTR importation
[platform/upstream/gst-plugins-good.git] / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 GST_PLUGINS_GOOD_TOP := $(LOCAL_PATH)
5
6 GST_PLUGINS_GOOD_BUILT_SOURCES = \
7         gst/alpha/Android.mk            \
8         gst/apetag/Android.mk           \
9         gst/audiofx/Android.mk          \
10         gst/auparse/Android.mk          \
11         gst/autodetect/Android.mk       \
12         gst/avi/Android.mk              \
13         gst/cutter/Android.mk           \
14         gst/debugutils/Android.mk       \
15         gst/deinterlace/Android.mk      \
16         gst/dtmf/Android.mk         \
17         gst/effectv/Android.mk          \
18         gst/equalizer/Android.mk        \
19         gst/flv/Android.mk              \
20         gst/flx/Android.mk              \
21         gst/goom/Android.mk             \
22         gst/goom2k1/Android.mk          \
23         gst/icydemux/Android.mk         \
24         gst/id3demux/Android.mk         \
25         gst/imagefreeze/Android.mk      \
26         gst/interleave/Android.mk       \
27         gst/law/Android.mk              \
28         gst/level/Android.mk            \
29         gst/matroska/Android.mk         \
30         gst/multifile/Android.mk        \
31         gst/multipart/Android.mk        \
32         gst/isomp4/Android.mk   \
33         gst/replaygain/Android.mk       \
34         gst/rtp/Android.mk              \
35         gst/rtpmanager/Android.mk       \
36         gst/rtsp/Android.mk             \
37         gst/shapewipe/Android.mk        \
38         gst/smpte/Android.mk            \
39         gst/spectrum/Android.mk         \
40         gst/udp/Android.mk              \
41         gst/videobox/Android.mk         \
42         gst/videocrop/Android.mk        \
43         gst/videofilter/Android.mk      \
44         gst/videomixer/Android.mk       \
45         gst/wavenc/Android.mk           \
46         gst/monoscope/Android.mk                \
47         gst/y4m/Android.mk              \
48         gst/wavparse/Android.mk
49
50 GST_PLUGINS_GOOD_BUILT_SOURCES := $(patsubst %, $(abspath $(GST_PLUGINS_GOOD_TOP))/%, $(GST_PLUGINS_GOOD_BUILT_SOURCES))
51
52 .PHONY: gst-plugins-good-configure gst-plugins-good-configure-real
53 gst-plugins-good-configure-real:
54         cd $(GST_PLUGINS_GOOD_TOP) ; \
55         CC="$(CONFIGURE_CC)" \
56         CFLAGS="$(CONFIGURE_CFLAGS)" \
57         LD=$(TARGET_LD) \
58         LDFLAGS="$(CONFIGURE_LDFLAGS)" \
59         CPP=$(CONFIGURE_CPP) \
60         CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
61         PKG_CONFIG_LIBDIR="$(CONFIGURE_PKG_CONFIG_LIBDIR)" \
62         PKG_CONFIG_TOP_BUILD_DIR=/ \
63         $(abspath $(GST_PLUGINS_GOOD_TOP))/$(CONFIGURE) --host=arm-linux-androideabi \
64         --prefix=/system --disable-orc --disable-valgrind --disable-gtk-doc && \
65         for file in $(GST_PLUGINS_GOOD_BUILT_SOURCES); do \
66                 rm -f $$file && \
67                 make -C $$(dirname $$file) $$(basename $$file) ; \
68         done
69
70 gst-plugins-good-configure: gst-plugins-good-configure-real
71
72 CONFIGURE_TARGETS += gst-plugins-good-configure
73
74 -include $(GST_PLUGINS_GOOD_TOP)/gst/alpha/Android.mk
75 -include $(GST_PLUGINS_GOOD_TOP)/gst/apetag/Android.mk
76 -include $(GST_PLUGINS_GOOD_TOP)/gst/audiofx/Android.mk
77 -include $(GST_PLUGINS_GOOD_TOP)/gst/auparse/Android.mk
78 -include $(GST_PLUGINS_GOOD_TOP)/gst/autodetect/Android.mk
79 -include $(GST_PLUGINS_GOOD_TOP)/gst/avi/Android.mk
80 -include $(GST_PLUGINS_GOOD_TOP)/gst/cutter/Android.mk
81 -include $(GST_PLUGINS_GOOD_TOP)/gst/debugutils/Android.mk
82 -include $(GST_PLUGINS_GOOD_TOP)/gst/deinterlace/Android.mk
83 -include $(GST_PLUGINS_GOOD_TOP)/gst/dtmf/Android.mk
84 -include $(GST_PLUGINS_GOOD_TOP)/gst/effectv/Android.mk
85 -include $(GST_PLUGINS_GOOD_TOP)/gst/equalizer/Android.mk
86 -include $(GST_PLUGINS_GOOD_TOP)/gst/flv/Android.mk
87 -include $(GST_PLUGINS_GOOD_TOP)/gst/flx/Android.mk
88 -include $(GST_PLUGINS_GOOD_TOP)/gst/goom/Android.mk
89 -include $(GST_PLUGINS_GOOD_TOP)/gst/goom2k1/Android.mk
90 -include $(GST_PLUGINS_GOOD_TOP)/gst/icydemux/Android.mk
91 -include $(GST_PLUGINS_GOOD_TOP)/gst/id3demux/Android.mk
92 -include $(GST_PLUGINS_GOOD_TOP)/gst/imagefreeze/Android.mk
93 -include $(GST_PLUGINS_GOOD_TOP)/gst/interleave/Android.mk
94 -include $(GST_PLUGINS_GOOD_TOP)/gst/law/Android.mk
95 -include $(GST_PLUGINS_GOOD_TOP)/gst/level/Android.mk
96 -include $(GST_PLUGINS_GOOD_TOP)/gst/matroska/Android.mk
97 #-include $(GST_PLUGINS_GOOD_TOP)/gst/multifile/Android.mk
98 -include $(GST_PLUGINS_GOOD_TOP)/gst/multipart/Android.mk
99 -include $(GST_PLUGINS_GOOD_TOP)/gst/isomp4/Android.mk
100 -include $(GST_PLUGINS_GOOD_TOP)/gst/replaygain/Android.mk
101 -include $(GST_PLUGINS_GOOD_TOP)/gst/rtp/Android.mk
102 -include $(GST_PLUGINS_GOOD_TOP)/gst/rtpmanager/Android.mk
103 -include $(GST_PLUGINS_GOOD_TOP)/gst/rtsp/Android.mk
104 -include $(GST_PLUGINS_GOOD_TOP)/gst/shapewipe/Android.mk
105 -include $(GST_PLUGINS_GOOD_TOP)/gst/smpte/Android.mk
106 -include $(GST_PLUGINS_GOOD_TOP)/gst/spectrum/Android.mk
107 -include $(GST_PLUGINS_GOOD_TOP)/gst/udp/Android.mk
108 -include $(GST_PLUGINS_GOOD_TOP)/gst/videobox/Android.mk
109 -include $(GST_PLUGINS_GOOD_TOP)/gst/videocrop/Android.mk
110 -include $(GST_PLUGINS_GOOD_TOP)/gst/videofilter/Android.mk
111 -include $(GST_PLUGINS_GOOD_TOP)/gst/videomixer/Android.mk
112 -include $(GST_PLUGINS_GOOD_TOP)/gst/wavenc/Android.mk
113 -include $(GST_PLUGINS_GOOD_TOP)/gst/wavparse/Android.mk
114 -include $(GST_PLUGINS_GOOD_TOP)/gst/y4m/Android.mk
115 -include $(GST_PLUGINS_GOOD_TOP)/gst/monoscope/Android.mk