1 LOCAL_PATH:= $(call my-dir) 2 3 # 4 # libmediaplayerservice 5 # 6 7 include $(CLEAR_VARS) 8 9 LOCAL_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 20 LOCAL_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 41 LOCAL_STATIC_LIBRARIES := \ 42 libstagefright_nuplayer \ 43 libstagefright_rtsp \ 44 libstagefright_timedtext \ 45 46 LOCAL_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 libcore/include \ 57 58 LOCAL_CFLAGS += -Werror -Wno-error=deprecated-declarations -Wall 59 LOCAL_CLANG := true 60 61 LOCAL_MODULE:= libmediaplayerservice 62 63 LOCAL_32_BIT_ONLY := true 64 65 include $(BUILD_SHARED_LIBRARY) 66 67 include $(call all-makefiles-under,$(LOCAL_PATH)) 68