Android.mk revision 538ec5e04f389cba637b030757be317fcb8677a8
1LOCAL_PATH:= $(call my-dir)
2
3#
4# libmediaplayerservice
5#
6
7include $(CLEAR_VARS)
8
9LOCAL_SRC_FILES:=               \
10    ActivityManager.cpp         \
11    HDCP.cpp                    \
12    MediaPlayerFactory.cpp      \
13    MediaPlayerService.cpp      \
14    MediaRecorderClient.cpp     \
15    MetadataRetrieverClient.cpp \
16    RemoteDisplay.cpp           \
17    StagefrightRecorder.cpp     \
18    TestPlayerStub.cpp          \
19
20LOCAL_SHARED_LIBRARIES :=       \
21    libbinder                   \
22    libcrypto                   \
23    libcutils                   \
24    libdrmframework             \
25    liblog                      \
26    libdl                       \
27    libgui                      \
28    libmedia                    \
29    libaudioclient              \
30    libmediautils               \
31    libmemunreachable           \
32    libstagefright              \
33    libstagefright_foundation   \
34    libstagefright_httplive     \
35    libstagefright_omx          \
36    libstagefright_wfd          \
37    libutils                    \
38
39LOCAL_STATIC_LIBRARIES :=       \
40    libstagefright_nuplayer     \
41    libstagefright_rtsp         \
42    libstagefright_timedtext    \
43
44LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libmedia
45
46LOCAL_C_INCLUDES :=                                                 \
47    $(TOP)/frameworks/av/media/libstagefright/include               \
48    $(TOP)/frameworks/av/media/libstagefright/rtsp                  \
49    $(TOP)/frameworks/av/media/libstagefright/wifi-display          \
50    $(TOP)/frameworks/av/media/libstagefright/webm                  \
51    $(TOP)/frameworks/av/include/media                              \
52    $(TOP)/frameworks/av/include/camera                             \
53    $(TOP)/frameworks/native/include/media/openmax                  \
54    $(TOP)/frameworks/native/include/media/hardware                 \
55    $(TOP)/external/tremolo/Tremolo                                 \
56
57LOCAL_CFLAGS += -Werror -Wno-error=deprecated-declarations -Wall
58
59LOCAL_MODULE:= libmediaplayerservice
60
61LOCAL_32_BIT_ONLY := true
62
63include $(BUILD_SHARED_LIBRARY)
64
65include $(call all-makefiles-under,$(LOCAL_PATH))
66