| LOCAL_PATH:= $(call my-dir) |
| |
| # |
| # libmediaplayerservice |
| # |
| |
| include $(CLEAR_VARS) |
| |
| LOCAL_SRC_FILES:= \ |
| MediaRecorderClient.cpp \ |
| MediaPlayerService.cpp \ |
| MetadataRetrieverClient.cpp \ |
| TestPlayerStub.cpp \ |
| MidiMetadataRetriever.cpp \ |
| MidiFile.cpp \ |
| StagefrightPlayer.cpp \ |
| StagefrightRecorder.cpp |
| |
| ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| LOCAL_LDLIBS += -ldl -lpthread |
| endif |
| |
| LOCAL_SHARED_LIBRARIES := \ |
| libcutils \ |
| libutils \ |
| libbinder \ |
| libvorbisidec \ |
| libsonivox \ |
| libmedia \ |
| libcamera_client \ |
| libandroid_runtime \ |
| libstagefright \ |
| libstagefright_omx \ |
| libstagefright_color_conversion \ |
| libstagefright_foundation \ |
| libsurfaceflinger_client |
| |
| LOCAL_STATIC_LIBRARIES := \ |
| libstagefright_rtsp |
| |
| ifneq ($(BUILD_WITHOUT_PV),true) |
| LOCAL_SHARED_LIBRARIES += \ |
| libopencore_player \ |
| libopencore_author |
| else |
| LOCAL_CFLAGS += -DNO_OPENCORE |
| endif |
| |
| ifneq ($(TARGET_SIMULATOR),true) |
| LOCAL_SHARED_LIBRARIES += libdl |
| endif |
| |
| LOCAL_C_INCLUDES := \ |
| $(JNI_H_INCLUDE) \ |
| $(call include-path-for, graphics corecg) \ |
| $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ |
| $(TOP)/frameworks/base/media/libstagefright/include \ |
| $(TOP)/frameworks/base/media/libstagefright/rtsp \ |
| $(TOP)/external/tremolo/Tremolo |
| |
| LOCAL_MODULE:= libmediaplayerservice |
| |
| include $(BUILD_SHARED_LIBRARY) |
| |