90 lines
3.1 KiB
Makefile
90 lines
3.1 KiB
Makefile
# This file was modified by Dolby Laboratories, Inc. The portions of the
|
|
# code that are surrounded by "DOLBY..." are copyrighted and
|
|
# licensed separately, as follows:
|
|
#
|
|
# (C) 2016 Dolby Laboratories, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This program is protected under international and U.S. Copyright laws as
|
|
# an unpublished work. This program is confidential and proprietary to the
|
|
# copyright owners. Reproduction or disclosure, in whole or in part, or the
|
|
# production of derivative works therefrom without the express permission of
|
|
# the copyright owners is prohibited.
|
|
#
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
#
|
|
# libmediaplayerservice
|
|
#
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
ActivityManager.cpp \
|
|
HDCP.cpp \
|
|
MediaPlayerFactory.cpp \
|
|
MediaPlayerService.cpp \
|
|
MediaRecorderClient.cpp \
|
|
MetadataRetrieverClient.cpp \
|
|
RemoteDisplay.cpp \
|
|
StagefrightRecorder.cpp \
|
|
TestPlayerStub.cpp \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libbinder \
|
|
libcamera_client \
|
|
libcrypto \
|
|
libcutils \
|
|
libdrmframework \
|
|
liblog \
|
|
libdl \
|
|
libgui \
|
|
libmedia \
|
|
libmediautils \
|
|
libmemunreachable \
|
|
libsonivox \
|
|
libstagefright \
|
|
libstagefright_foundation \
|
|
libstagefright_httplive \
|
|
libstagefright_omx \
|
|
libstagefright_wfd \
|
|
libutils \
|
|
libvorbisidec \
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libstagefright_nuplayer \
|
|
libstagefright_rtsp \
|
|
libstagefright_timedtext \
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := \
|
|
libavmediaserviceextensions \
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
$(TOP)/frameworks/av/media/libstagefright/include \
|
|
$(TOP)/frameworks/av/media/libstagefright/rtsp \
|
|
$(TOP)/frameworks/av/media/libstagefright/wifi-display \
|
|
$(TOP)/frameworks/av/media/libstagefright/webm \
|
|
$(TOP)/frameworks/av/include/media \
|
|
$(TOP)/frameworks/av/include/camera \
|
|
$(TOP)/frameworks/native/include/media/openmax \
|
|
$(TOP)/frameworks/native/include/media/hardware \
|
|
$(TOP)/external/tremolo/Tremolo \
|
|
libcore/include \
|
|
$(TOP)/frameworks/av/media/libavextensions \
|
|
$(TOP)/frameworks/av/media/libstagefright/mpeg2ts \
|
|
|
|
LOCAL_CFLAGS += -Werror -Wno-error=deprecated-declarations -Wall
|
|
# DOLBY_START
|
|
ifeq ($(strip $(DOLBY_ENABLE)),true)
|
|
LOCAL_CFLAGS += $(dolby_cflags)
|
|
endif
|
|
# DOLBY_END
|
|
LOCAL_CLANG := true
|
|
|
|
LOCAL_MODULE:= libmediaplayerservice
|
|
|
|
#LOCAL_32_BIT_ONLY := true
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|