blob: fadad2850141dd0807e344aa87373c1828fc697b [file] [log] [blame]
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -07001LOCAL_PATH:= $(call my-dir)
2
3#
4# libmediaplayerservice
5#
6
7include $(CLEAR_VARS)
8
9LOCAL_SRC_FILES:= \
Andreas Huber0d596d42009-08-07 09:30:32 -070010 MediaRecorderClient.cpp \
11 MediaPlayerService.cpp \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070012 MetadataRetrieverClient.cpp \
Andreas Huber0d596d42009-08-07 09:30:32 -070013 TestPlayerStub.cpp \
Andreas Huber8d65dd22010-06-23 16:40:57 -070014 MidiMetadataRetriever.cpp \
15 MidiFile.cpp \
16 StagefrightPlayer.cpp \
Andreas Huberea6a38c2009-11-16 15:43:38 -080017 StagefrightRecorder.cpp
Andreas Huber2aa39c42009-09-11 09:54:52 -070018
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070019ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
20LOCAL_LDLIBS += -ldl -lpthread
21endif
22
Mathias Agopian000479f2010-02-09 17:46:37 -080023LOCAL_SHARED_LIBRARIES := \
24 libcutils \
25 libutils \
26 libbinder \
27 libvorbisidec \
28 libsonivox \
29 libmedia \
James Dongb00e2462010-04-26 17:48:26 -070030 libcamera_client \
Mathias Agopian000479f2010-02-09 17:46:37 -080031 libandroid_runtime \
32 libstagefright \
33 libstagefright_omx \
Mathias Agopian696257c2011-03-25 18:42:40 -070034 libstagefright_foundation \
Glenn Kastencc562a32011-02-08 17:26:17 -080035 libgui
Jean-Baptiste Queru680f8c72009-03-21 11:40:18 -070036
Andreas Huber57648e42010-08-04 10:14:30 -070037LOCAL_STATIC_LIBRARIES := \
Andreas Hubera1587462010-12-15 15:17:42 -080038 libstagefright_rtsp \
39 libstagefright_nuplayer \
Andreas Huber57648e42010-08-04 10:14:30 -070040
Nicolas Catania8f5fcab2009-07-13 14:37:49 -070041ifneq ($(TARGET_SIMULATOR),true)
42LOCAL_SHARED_LIBRARIES += libdl
43endif
44
Mathias Agopian000479f2010-02-09 17:46:37 -080045LOCAL_C_INCLUDES := \
Andreas Huber9f9afef2009-09-15 12:49:11 -070046 $(JNI_H_INCLUDE) \
Andreas Huber0d596d42009-08-07 09:30:32 -070047 $(call include-path-for, graphics corecg) \
Andreas Hubera4f391c2010-10-15 13:31:29 -070048 $(TOP)/frameworks/base/include/media/stagefright/openmax \
Gloria Wang8d00b532010-02-12 16:28:53 -080049 $(TOP)/frameworks/base/media/libstagefright/include \
Andreas Huber57648e42010-08-04 10:14:30 -070050 $(TOP)/frameworks/base/media/libstagefright/rtsp \
Andreas Hubera1587462010-12-15 15:17:42 -080051 $(TOP)/external/tremolo/Tremolo \
Gloria Wang2c510142010-02-08 14:37:41 -080052
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070053LOCAL_MODULE:= libmediaplayerservice
54
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070055include $(BUILD_SHARED_LIBRARY)
56
Andreas Hubera1587462010-12-15 15:17:42 -080057include $(call all-makefiles-under,$(LOCAL_PATH))
58