Android.mk revision d56db1d2bee182d1851097a9c712712fc094d117
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    libsonivox                  \
36    libstagefright              \
37    libstagefright_foundation   \
38    libstagefright_httplive     \
39    libstagefright_omx          \
40    libstagefright_wfd          \
41    libutils                    \
42    libvorbisidec               \
43
44LOCAL_STATIC_LIBRARIES :=       \
45    libstagefright_nuplayer     \
46    libstagefright_rtsp         \
47    libstagefright_timedtext    \
48
49LOCAL_C_INCLUDES :=                                                 \
50    $(TOP)/frameworks/av/media/libstagefright/include               \
51    $(TOP)/frameworks/av/media/libstagefright/rtsp                  \
52    $(TOP)/frameworks/av/media/libstagefright/wifi-display          \
53    $(TOP)/frameworks/av/media/libstagefright/webm                  \
54    $(TOP)/frameworks/av/include/camera                             \
55    $(TOP)/frameworks/native/include/media/openmax                  \
56    $(TOP)/external/tremolo/Tremolo                                 \
57
58LOCAL_CFLAGS += -Werror -Wno-error=deprecated-declarations -Wall
59LOCAL_CLANG := true
60
61LOCAL_MODULE:= libmediaplayerservice
62
63LOCAL_32_BIT_ONLY := true
64
65include $(BUILD_SHARED_LIBRARY)
66
67include $(call all-makefiles-under,$(LOCAL_PATH))
68