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.

55 lines
2.1 KiB

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
BASE := $(LOCAL_PATH)
LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
LOCAL_SHARED_LIBRARIES :=\
libuapi_common\
libutils \
libcutils \
libuapi_dispmng \
liblog \
libuapi_securec \
libuapi_vo \
libuapi_pdm \
libbinder
LOCAL_SRC_FILES := display.cpp \
DisplayImpl.cpp
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := display.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE_TAGS := optional
LOCAL_MULTILIB := both
LOCAL_CFLAGS += -Wlong-long \
-Wno-unused-parameter \
-Wformat -Wpointer-arith \
-Wpointer-to-int-cast \
-Wint-to-pointer-cast -Wtype-limits \
-Wno-tautological-pointer-compare -fno-common
# LOCAL_MODULE_PATH_32 := $(TARGET_OUT)/lib/hw
# LOCAL_MODULE_PATH_64 := $(TARGET_OUT)/lib64/hw
# LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_C_INCLUDES := \
$(TOP)/hardware/libhardware/include \
$(TOP)/system/core/include \
$(SOC_PLATFORM_PATH)/uapi/dispmng/include \
$(SOC_PLATFORM_PATH)/uapi/pdm/include \
$(SOC_PLATFORM_PATH)/uapi/vo/include \
$(SOC_PLATFORM_PATH)/linux/include/generic \
$(SOC_PLATFORM_PATH)/uapi/include/video \
$(SOC_PLATFORM_PATH)/uapi/panel/include \
$(SOC_PLATFORM_PATH)/uapi/include/cec \
$(SOC_PLATFORM_PATH)/uapi/pmoc/include \
$(SOC_PLATFORM_PATH)/uapi/gpio/include \
$(SOC_PLATFORM_PATH)/uapi/ir/include \
$(SOC_PLATFORM_PATH)/uapi/hdmitx/include \
$(SOC_PLATFORM_PATH)/modules/displaymanager/include \
$(TOP)/vendor/platform/secure_c/include
include $(BUILD_SHARED_LIBRARY)