2008-10-21 07:00:00 -07:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
#
|
|
|
|
# libmediaplayerservice
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
2009-08-07 09:30:32 -07:00
|
|
|
MediaRecorderClient.cpp \
|
|
|
|
MediaPlayerService.cpp \
|
2009-04-13 19:01:51 -07:00
|
|
|
MetadataRetrieverClient.cpp \
|
2009-08-07 09:30:32 -07:00
|
|
|
TestPlayerStub.cpp \
|
|
|
|
VorbisPlayer.cpp \
|
2009-09-06 14:29:45 -07:00
|
|
|
VorbisMetadataRetriever.cpp \
|
2010-02-09 17:46:37 -08:00
|
|
|
MidiMetadataRetriever.cpp \
|
2009-04-13 19:01:51 -07:00
|
|
|
MidiFile.cpp
|
2009-03-21 11:40:18 -07:00
|
|
|
|
2009-09-11 09:54:52 -07:00
|
|
|
ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true)
|
|
|
|
|
2009-10-06 16:20:44 -07:00
|
|
|
LOCAL_SRC_FILES += \
|
|
|
|
StagefrightPlayer.cpp \
|
2009-11-16 15:43:38 -08:00
|
|
|
StagefrightRecorder.cpp
|
2009-09-11 09:54:52 -07:00
|
|
|
|
|
|
|
LOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2008-10-21 07:00:00 -07:00
|
|
|
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
|
|
|
LOCAL_LDLIBS += -ldl -lpthread
|
|
|
|
endif
|
|
|
|
|
2010-02-09 17:46:37 -08:00
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libcutils \
|
|
|
|
libutils \
|
|
|
|
libbinder \
|
|
|
|
libvorbisidec \
|
|
|
|
libsonivox \
|
|
|
|
libmedia \
|
|
|
|
libandroid_runtime \
|
|
|
|
libstagefright \
|
|
|
|
libstagefright_omx \
|
|
|
|
libstagefright_color_conversion \
|
|
|
|
libsurfaceflinger_client
|
2009-03-21 11:40:18 -07:00
|
|
|
|
2009-12-03 11:31:19 -08:00
|
|
|
ifneq ($(BUILD_WITHOUT_PV),true)
|
|
|
|
LOCAL_SHARED_LIBRARIES += \
|
|
|
|
libopencore_player \
|
|
|
|
libopencore_author
|
|
|
|
else
|
|
|
|
LOCAL_CFLAGS += -DNO_OPENCORE
|
|
|
|
endif
|
|
|
|
|
2009-07-13 14:37:49 -07:00
|
|
|
ifneq ($(TARGET_SIMULATOR),true)
|
|
|
|
LOCAL_SHARED_LIBRARIES += libdl
|
|
|
|
endif
|
|
|
|
|
2010-02-09 17:46:37 -08:00
|
|
|
LOCAL_C_INCLUDES := \
|
2009-09-15 12:49:11 -07:00
|
|
|
$(JNI_H_INCLUDE) \
|
2009-08-07 09:30:32 -07:00
|
|
|
$(call include-path-for, graphics corecg) \
|
|
|
|
$(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \
|
2010-02-12 16:28:53 -08:00
|
|
|
$(TOP)/frameworks/base/media/libstagefright/include \
|
2010-02-08 14:37:41 -08:00
|
|
|
$(TOP)/external/tremolo/Tremolo
|
|
|
|
|
2008-10-21 07:00:00 -07:00
|
|
|
LOCAL_MODULE:= libmediaplayerservice
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|