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