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