Android.mk revision 8f0e4aace6c0643f7c4005184c7df2c73368f0dc
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 StagefrightPlayer.cpp 23 24LOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1 25 26endif 27 28ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) 29LOCAL_LDLIBS += -ldl -lpthread 30endif 31 32LOCAL_SHARED_LIBRARIES := \ 33 libcutils \ 34 libutils \ 35 libbinder \ 36 libvorbisidec \ 37 libsonivox \ 38 libopencore_player \ 39 libopencore_author \ 40 libmedia \ 41 libandroid_runtime \ 42 libstagefright \ 43 libstagefright_omx 44 45ifneq ($(TARGET_SIMULATOR),true) 46LOCAL_SHARED_LIBRARIES += libdl 47endif 48 49LOCAL_C_INCLUDES := external/tremor/Tremor \ 50 $(call include-path-for, graphics corecg) \ 51 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ 52 $(TOP)/frameworks/base/media/libstagefright/omx 53 54LOCAL_MODULE:= libmediaplayerservice 55 56include $(BUILD_SHARED_LIBRARY) 57 58