Android.mk revision 733b7729ea462fae9c6899456444e28fef1c757c
1LOCAL_PATH:= $(call my-dir) 2 3# 4# libmediaplayerservice 5# 6 7include $(CLEAR_VARS) 8 9LOCAL_SRC_FILES:= \ 10 MediaRecorderClient.cpp \ 11 MediaPlayerService.cpp \ 12 MetadataRetrieverClient.cpp \ 13 TestPlayerStub.cpp \ 14 VorbisPlayer.cpp \ 15 VorbisMetadataRetriever.cpp \ 16 MidiMetadataRetriever.cpp \ 17 MidiFile.cpp 18 19ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true) 20 21LOCAL_SRC_FILES += \ 22 StagefrightMetadataRetriever.cpp \ 23 StagefrightPlayer.cpp \ 24 StagefrightRecorder.cpp 25 26LOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1 27 28endif 29 30ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) 31LOCAL_LDLIBS += -ldl -lpthread 32endif 33 34LOCAL_SHARED_LIBRARIES := \ 35 libcutils \ 36 libutils \ 37 libbinder \ 38 libvorbisidec \ 39 libsonivox \ 40 libmedia \ 41 libandroid_runtime \ 42 libstagefright \ 43 libstagefright_omx \ 44 libstagefright_color_conversion 45 46ifneq ($(BUILD_WITHOUT_PV),true) 47LOCAL_SHARED_LIBRARIES += \ 48 libopencore_player \ 49 libopencore_author 50else 51LOCAL_CFLAGS += -DNO_OPENCORE 52endif 53 54ifneq ($(TARGET_SIMULATOR),true) 55LOCAL_SHARED_LIBRARIES += libdl 56endif 57 58LOCAL_C_INCLUDES := external/tremor/Tremor \ 59 $(JNI_H_INCLUDE) \ 60 $(call include-path-for, graphics corecg) \ 61 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ 62 $(TOP)/frameworks/base/media/libstagefright/include 63 64LOCAL_MODULE:= libmediaplayerservice 65 66include $(BUILD_SHARED_LIBRARY) 67 68