You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.8 KiB
63 lines
1.8 KiB
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
ifeq ($(BOARD_WFD_HDCP_SUPPORT), true)
|
|
LOCAL_CPPFLAGS += -DWFD_HDCP_SUPPORT
|
|
endif
|
|
|
|
#LOCAL_CPPFLAGS += -DLINUX_DRM_SUPPORT
|
|
LOCAL_CPPFLAGS += -DMS_CURSOR_SUPPORT -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION) -DPLATFORM_VERSION=$(PLATFORM_VERSION)
|
|
#LOCAL_LDFLAGS += -fsanitize=undefined
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
LinearRegression.cpp \
|
|
RTPSink.cpp \
|
|
TunnelRenderer.cpp \
|
|
WifiDisplaySink.cpp \
|
|
ANetworkSession.cpp \
|
|
ParsedMessage.cpp \
|
|
wfdsink_jni.cpp
|
|
|
|
#LOCAL_SRC_FILES += \
|
|
# HdmiEdid.cpp \
|
|
|
|
LOCAL_C_INCLUDES:= \
|
|
$(TOP)/frameworks/av/media/libstagefright \
|
|
$(TOP)/frameworks/native/include/media/openmax \
|
|
$(TOP)/frameworks/native/include/media/hardware \
|
|
$(TOP)/frameworks/av/media/libstagefright/mpeg2ts \
|
|
$(TOP)/frameworks/base/core/jni/include \
|
|
|
|
LOCAL_SHARED_LIBRARIES:= \
|
|
libbinder \
|
|
libcutils \
|
|
liblog \
|
|
libgui \
|
|
libmedia \
|
|
libstagefright \
|
|
libstagefright_foundation \
|
|
libui \
|
|
libutils \
|
|
libandroid_runtime \
|
|
libnativehelper \
|
|
|
|
#LOCAL_C_INCLUDES: += \
|
|
# $(TOP)/external/libdrm
|
|
|
|
#LOCAL_SHARED_LIBRARIES += \
|
|
# libdrm
|
|
|
|
#LOCAL_CFLAGS += -Wno-multichar -Werror -Wall
|
|
ifeq (1, $(strip $(shell expr $(PLATFORM_SDK_VERSION) \>= 24)))
|
|
LOCAL_CLANG := true
|
|
LOCAL_SANITIZE := signed-integer-overflow
|
|
endif
|
|
|
|
LOCAL_MODULE:= libwfdsink_jni
|
|
|
|
LOCAL_MODULE_TAGS:= optional
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|