gstreamer/android/pbutils.mk

69 lines
1.6 KiB
Makefile
Raw Normal View History

2010-12-03 16:41:18 +00:00
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
GST_PBUTILS_DIR := gst-libs/gst/pbutils/
2010-12-06 15:50:39 +00:00
gst_pbutils_COPY_HEADERS_TO := gstreamer-0.11/gst/pbutils
2010-12-03 16:41:18 +00:00
gst_pbutils_COPY_HEADERS_BASE := \
gst-libs/gst/pbutils/descriptions.h \
gst-libs/gst/pbutils/install-plugins.h \
gst-libs/gst/pbutils/missing-plugins.h \
gst-libs/gst/pbutils/pbutils.h \
2010-12-03 16:41:18 +00:00
gst-libs/gst/pbutils/pbutils-enumtypes.h
gst_pbutils_COPY_HEADERS := $(addprefix ../,$(gst_pbutils_COPY_HEADERS_BASE))
2010-12-03 16:41:18 +00:00
LOCAL_ARM_MODE := arm
BUILT_SOURCES = \
pbutils-enumtypes.c \
pbutils-enumtypes.h \
pbutils-marshal.c \
pbutils-marshal.h
LOCAL_SRC_FILES := \
gstpluginsbaseversion.c \
pbutils.c \
codec-utils.c \
descriptions.c \
encoding-profile.c \
encoding-target.c \
install-plugins.c \
missing-plugins.c \
gstdiscoverer.c \
gstdiscoverer-types.c \
pbutils-enumtypes.c \
pbutils-marshal.c
LOCAL_SRC_FILES := $(addprefix ../$(GST_PBUTILS_DIR),$(LOCAL_SRC_FILES))
$(BUILT_SOURCES):
make -C $(GST_PLUGINS_BASE_TOP)/$(GST_PBUTILS_DIR) $@
2010-12-03 16:41:18 +00:00
LOCAL_SHARED_LIBRARIES := \
libgstvideo-0.11 \
2010-12-06 15:50:39 +00:00
libgstreamer-0.11 \
libgstbase-0.11 \
2010-12-03 16:41:18 +00:00
libglib-2.0 \
libgthread-2.0 \
libgmodule-2.0 \
libgobject-2.0
2010-12-06 15:50:39 +00:00
LOCAL_MODULE:= libgstpbutils-0.11
LOCAL_CFLAGS := -DGSTREAMER_BUILT_FOR_ANDROID \
$(GST_PLUGINS_BASE_CFLAGS)
2010-12-03 16:41:18 +00:00
#
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
#
LOCAL_PRELINK_MODULE := false
LOCAL_COPY_HEADERS_TO := $(gst_pbutils_COPY_HEADERS_TO)
LOCAL_COPY_HEADERS := $(gst_pbutils_COPY_HEADERS)
LOCAL_MODULE_TAGS := optional
2010-12-03 16:41:18 +00:00
include $(BUILD_SHARED_LIBRARY)