Android.mk revision 608d77b1cf4fb9f63dc861e4e1fa3e80a732f626
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 MidiMetadataRetriever.cpp \ 15 MidiFile.cpp \ 16 StagefrightPlayer.cpp \ 17 StagefrightRecorder.cpp 18 19ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) 20LOCAL_LDLIBS += -ldl -lpthread 21endif 22 23LOCAL_SHARED_LIBRARIES := \ 24 libcutils \ 25 libutils \ 26 libbinder \ 27 libvorbisidec \ 28 libsonivox \ 29 libmedia \ 30 libcamera_client \ 31 libandroid_runtime \ 32 libstagefright \ 33 libstagefright_omx \ 34 libstagefright_color_conversion \ 35 libsurfaceflinger_client 36 37ifneq ($(BUILD_WITHOUT_PV),true) 38LOCAL_SHARED_LIBRARIES += \ 39 libopencore_player \ 40 libopencore_author 41else 42LOCAL_CFLAGS += -DNO_OPENCORE 43endif 44 45ifneq ($(TARGET_SIMULATOR),true) 46LOCAL_SHARED_LIBRARIES += libdl 47endif 48 49LOCAL_C_INCLUDES := \ 50 $(JNI_H_INCLUDE) \ 51 $(call include-path-for, graphics corecg) \ 52 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ 53 $(TOP)/frameworks/base/media/libstagefright/include \ 54 $(TOP)/external/tremolo/Tremolo 55 56LOCAL_MODULE:= libmediaplayerservice 57 58include $(BUILD_SHARED_LIBRARY) 59 60