gstreamer/sys/audioflingersink/Android.mk
Thibault Saunier 17fd7ebcb4 android: make it ready for androgenizer
Remove the android/ top dir
Fixe the Makefile.am to be androgenized

To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:27:11 +02:00

69 lines
1.5 KiB
Makefile

# external/gstreamer/gstplayer/Android.mk
#
# Copyright 2009 STN wireless
#
#ifeq ($(USE_HARDWARE_MM),true)
LOCAL_PATH:= $(call my-dir)
# -------------------------------------
# gstaudioflinger library
#
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
gstaudioflinger_FILES := \
audioflinger_wrapper.cpp \
gstaudioflingersink.c \
GstAndroid.cpp
LOCAL_SRC_FILES := $(gstaudioflinger_FILES)
LOCAL_C_INCLUDES = $(LOCAL_PATH) \
$(LOCAL_PATH)/include \
$(TOP)/frameworks/base
LOCAL_CFLAGS += -DHAVE_CONFIG_H
LOCAL_CFLAGS += -Wall -Wdeclaration-after-statement -g -O2
LOCAL_CFLAGS += -DANDROID_USE_GSTREAMER \
$(shell $(PKG_CONFIG) gstreamer-plugins-bad-0.10 --cflags) \
$(shell $(PKG_CONFIG) gstreamer-audio-0.10 --cflags)
ifeq ($(USE_AUDIO_PURE_CODEC),true)
LOCAL_CFLAGS += -DAUDIO_PURE_CODEC
endif
LOCAL_SHARED_LIBRARIES += libdl
LOCAL_SHARED_LIBRARIES += \
libgstreamer-0.10 \
libgstbase-0.10 \
libglib-2.0 \
libgthread-2.0 \
libgmodule-2.0 \
libgobject-2.0 \
libgstvideo-0.10 \
libgstaudio-0.10
LOCAL_LDFLAGS := -L$(SYSROOT)/usr/lib -llog
LOCAL_SHARED_LIBRARIES += \
libutils \
libcutils \
libui \
libhardware \
libandroid_runtime \
libmedia
LOCAL_MODULE:= libgstaudioflinger
LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/gstreamer-0.10
#
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
#
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE_TAGS := eng debug
include $(BUILD_SHARED_LIBRARY)
#endif # USE_HARDWARE_MM == true