1 LOCAL_PATH:= $(call my-dir)
6 playbin_LOCAL_SRC_FILES_BASE:= \
7 gst/playback/gstinputselector.c \
8 gst/playback/gstplayback.c \
9 gst/playback/gstplaybin.c \
10 gst/playback/gstplaybin2.c \
11 gst/playback/gstplaysink.c \
12 gst/playback/gstplaybasebin.c \
13 gst/playback/gstplay-enum.c \
14 gst/playback/gstfactorylists.c \
15 gst/playback/gstscreenshot.c \
16 gst/playback/gststreaminfo.c \
17 gst/playback/gststreamselector.c \
18 gst/playback/gstsubtitleoverlay.c
19 playbin_LOCAL_SRC_FILES_ANDROID:= \
20 gst/playback/gstplay-marshal.c
22 LOCAL_SRC_FILES:= $(addprefix ../,$(playbin_LOCAL_SRC_FILES_BASE)) \
23 $(addprefix ../android/,$(playbin_LOCAL_SRC_FILES_ANDROID))
25 LOCAL_SHARED_LIBRARIES := \
33 libgstinterfaces-0.11 \
36 LOCAL_MODULE:= libgstplaybin
39 $(LOCAL_PATH)/../gst/playback \
40 $(LOCAL_PATH)/../gst-libs \
43 $(LOCAL_PATH)/gst/playback \
44 $(TARGET_OUT_HEADERS)/gstreamer-0.11 \
45 $(TARGET_OUT_HEADERS)/glib-2.0 \
46 $(TARGET_OUT_HEADERS)/glib-2.0/glib \
47 external/libxml2/include
50 ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
51 LOCAL_SHARED_LIBRARIES += libicuuc
52 LOCAL_C_INCLUDES += external/icu4c/common
55 LOCAL_CFLAGS := -DHAVE_CONFIG_H -DGSTREAMER_BUILT_FOR_ANDROID
57 # define LOCAL_PRELINK_MODULE to false to not use pre-link map
59 LOCAL_PRELINK_MODULE := false
61 #It's a gstreamer plugins, and it must be installed on ..../lib/gstreamer-0.11
62 LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/gstreamer-0.11
64 include $(BUILD_SHARED_LIBRARY)