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