1 LOCAL_PATH:= $(call my-dir)
2 #----------------------------------------
4 gst_interfaces_COPY_HEADERS_TO := gstreamer-0.10/gst/interfaces
5 gst_interfaces_COPY_HEADERS_BASE := \
6 gst-libs/gst/interfaces/colorbalance.h \
7 gst-libs/gst/interfaces/colorbalancechannel.h \
8 gst-libs/gst/interfaces/mixer.h \
9 gst-libs/gst/interfaces/mixeroptions.h \
10 gst-libs/gst/interfaces/mixertrack.h \
11 gst-libs/gst/interfaces/navigation.h \
12 gst-libs/gst/interfaces/propertyprobe.h \
13 gst-libs/gst/interfaces/streamvolume.h \
14 gst-libs/gst/interfaces/tuner.h \
15 gst-libs/gst/interfaces/tunerchannel.h \
16 gst-libs/gst/interfaces/tunernorm.h \
17 gst-libs/gst/interfaces/videoorientation.h \
18 gst-libs/gst/interfaces/xoverlay.h
19 gst_interfaces_COPY_HEADERS_ANDROID := \
20 gst-libs/gst/interfaces/interfaces-enumtypes.h
22 gst_interfaces_COPY_HEADERS := $(addprefix ../,$(gst_interfaces_COPY_HEADERS_BASE)) \
23 $(addprefix ../android/,$(gst_interfaces_COPY_HEADERS_ANDROID))
29 interfaces_LOCAL_SRC_FILES_BASE:= \
30 gst-libs/gst/interfaces/colorbalance.c \
31 gst-libs/gst/interfaces/colorbalancechannel.c \
32 gst-libs/gst/interfaces/mixer.c \
33 gst-libs/gst/interfaces/mixeroptions.c \
34 gst-libs/gst/interfaces/mixertrack.c \
35 gst-libs/gst/interfaces/navigation.c \
36 gst-libs/gst/interfaces/propertyprobe.c \
37 gst-libs/gst/interfaces/streamvolume.c \
38 gst-libs/gst/interfaces/tuner.c \
39 gst-libs/gst/interfaces/tunernorm.c \
40 gst-libs/gst/interfaces/tunerchannel.c \
41 gst-libs/gst/interfaces/videoorientation.c \
42 gst-libs/gst/interfaces/xoverlay.c
43 interfaces_LOCAL_SRC_FILES_ANDROID:= \
44 gst-libs/gst/interfaces/interfaces-marshal.c \
45 gst-libs/gst/interfaces/interfaces-enumtypes.c
47 LOCAL_SRC_FILES:= $(addprefix ../,$(interfaces_LOCAL_SRC_FILES_BASE)) \
48 $(addprefix ../android/,$(interfaces_LOCAL_SRC_FILES_ANDROID))
50 LOCAL_SHARED_LIBRARIES := \
58 LOCAL_MODULE:= libgstinterfaces-0.10
61 $(LOCAL_PATH)/../gst-libs/gst/interfaces \
62 $(LOCAL_PATH)/../gst-libs \
65 $(LOCAL_PATH)/gst-libs/gst/interfaces \
66 $(TARGET_OUT_HEADERS)/gstreamer-0.10 \
67 $(TARGET_OUT_HEADERS)/glib-2.0 \
68 $(TARGET_OUT_HEADERS)/glib-2.0/glib \
69 external/libxml2/include
71 ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
72 LOCAL_SHARED_LIBRARIES += libicuuc
73 LOCAL_C_INCLUDES += external/icu4c/common
77 LOCAL_CFLAGS := -DHAVE_CONFIG_H -DGSTREAMER_BUILT_FOR_ANDROID
79 # define LOCAL_PRELINK_MODULE to false to not use pre-link map
81 LOCAL_PRELINK_MODULE := false
83 LOCAL_COPY_HEADERS_TO := $(gst_interfaces_COPY_HEADERS_TO)
84 LOCAL_COPY_HEADERS := $(gst_interfaces_COPY_HEADERS)
86 include $(BUILD_SHARED_LIBRARY)