Android.mk revision 148c1a2a96774517407717b61e5bc9cb08be8806
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    StagefrightPlayer.cpp       \
14    TestPlayerStub.cpp          \
15    VorbisPlayer.cpp            \
16    VorbisMetadataRetriever.cpp \
17    MidiMetadataRetriever.cpp \
18    MidiFile.cpp
19
20ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
21LOCAL_LDLIBS += -ldl -lpthread
22endif
23
24LOCAL_SHARED_LIBRARIES :=     \
25	libcutils             \
26	libutils              \
27	libbinder             \
28	libvorbisidec         \
29	libsonivox            \
30	libopencore_player    \
31	libopencore_author    \
32	libmedia              \
33	libandroid_runtime    \
34	libstagefright        \
35	libstagefright_omx
36
37ifneq ($(TARGET_SIMULATOR),true)
38LOCAL_SHARED_LIBRARIES += libdl
39endif
40
41LOCAL_C_INCLUDES := external/tremor/Tremor                              \
42	$(call include-path-for, graphics corecg)                       \
43	$(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \
44	$(TOP)/frameworks/base/media/libstagefright/omx
45
46LOCAL_MODULE:= libmediaplayerservice
47
48include $(BUILD_SHARED_LIBRARY)
49
50