1 LOCAL_PATH:= $(call my-dir)
3 #------------------------------------
5 #-----------------------------------
6 gst_COPY_HEADERS_TO := gstreamer-0.10/gst
7 gst_COPY_HEADERS_BASE := \
57 gsttypefindfactory.h \
63 gst_COPY_HEADERS_ANDROID := \
69 gst_COPY_HEADERS := $(addprefix ../gst/,$(gst_COPY_HEADERS_BASE)) \
70 $(addprefix ../android/gst/,$(gst_COPY_HEADERS_ANDROID))
72 #------------------------------------
79 gst_LOCAL_SRC_FILES_BASE:= \
116 gstregistrychunks.c \
126 gsttypefindfactory.c \
131 gstregistrybinary.c \
135 gst_LOCAL_SRC_FILES_ANDROID:= \
138 parse/grammar.tab.c \
139 parse/lex._gst_parse_yy.c
141 LOCAL_SRC_FILES:= $(addprefix ../gst/,$(gst_LOCAL_SRC_FILES_BASE)) \
142 $(addprefix ../android/gst/,$(gst_LOCAL_SRC_FILES_ANDROID))
144 LOCAL_STATIC_LIBRARIES := libxml2
146 LOCAL_SHARED_LIBRARIES := \
152 LOCAL_MODULE:= libgstreamer-$(GST_MAJORMINOR)
154 LOCAL_C_INCLUDES := \
157 $(LOCAL_PATH)/gst/parse \
158 $(LOCAL_PATH)/../gst \
160 $(LOCAL_PATH)/../gst/parse \
161 $(TARGET_OUT_HEADERS)/glib-2.0 \
162 $(TARGET_OUT_HEADERS)/glib-2.0/glib \
163 external/libxml2/include
165 ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
166 LOCAL_SHARED_LIBRARIES += libicuuc
167 LOCAL_C_INCLUDES += external/icu4c/common
172 -DG_LOG_DOMAIN=g_log_domain_gstreamer \
173 -DGST_MAJORMINOR=\""$(GST_MAJORMINOR)"\" \
174 -DGST_DISABLE_DEPRECATED \
178 # define LOCAL_PRELINK_MODULE to false to not use pre-link map
180 LOCAL_PRELINK_MODULE := false
182 LOCAL_COPY_HEADERS_TO := $(gst_COPY_HEADERS_TO)
183 LOCAL_COPY_HEADERS := $(gst_COPY_HEADERS)
185 include $(BUILD_SHARED_LIBRARY)