android: make it ready for androgenizer
[platform/upstream/gstreamer.git] / android / video.mk
1 LOCAL_PATH:= $(call my-dir)
2 #----------------------------------------
3 # include 
4 gst_video_COPY_HEADERS_TO := gstreamer-0.10/gst/video
5 gst_video_COPY_HEADERS_BASE := \
6         gst-libs/gst/video/gstvideofilter.h \
7         gst-libs/gst/video/gstvideosink.h \
8         gst-libs/gst/video/video.h \
9         gst-libs/gst/video/video-enumtypes.h
10         
11 gst_video_COPY_HEADERS := $(addprefix ../,$(gst_video_COPY_HEADERS_BASE)) 
12
13 include $(CLEAR_VARS)
14
15 LOCAL_ARM_MODE := arm
16
17 video_LOCAL_SRC_FILES_BASE:= \
18         gst-libs/gst/video/video.c \
19         gst-libs/gst/video/gstvideosink.c \
20         gst-libs/gst/video/gstvideofilter.c \
21         gst-libs/gst/video/convertframe.c \
22         gst-libs/gst/video/video-enumtypes.c
23    
24 LOCAL_SRC_FILES:= $(addprefix ../,$(video_LOCAL_SRC_FILES_BASE))
25
26 LOCAL_SHARED_LIBRARIES := \
27     libgstreamer-0.10       \
28     libgstbase-0.10         \
29     libglib-2.0             \
30     libgthread-2.0          \
31     libgmodule-2.0          \
32     libgobject-2.0
33
34 LOCAL_MODULE:= libgstvideo-0.10
35
36 LOCAL_CFLAGS := -DHAVE_CONFIG_H -DGSTREAMER_BUILT_FOR_ANDROID \
37         $(GST_PLUGINS_BASE_CFLAGS)
38 #
39 # define LOCAL_PRELINK_MODULE to false to not use pre-link map
40 #
41 LOCAL_PRELINK_MODULE := false
42
43 LOCAL_COPY_HEADERS_TO := $(gst_video_COPY_HEADERS_TO)
44 LOCAL_COPY_HEADERS := $(gst_video_COPY_HEADERS)
45 LOCAL_MODULE_TAGS := optional
46
47 include $(BUILD_SHARED_LIBRARY)