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.

79 lines
2.0 KiB

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := vendor.huanglong.hardware.hwdisplay@2.0-impl
LOCAL_MULTILIB := 32
LOCAL_CFLAGS += \
-Wsign-compare \
-Wno-inconsistent-missing-override \
-D__STDC_FORMAT_MACROS \
-fno-common \
-fstack-protector-all
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := \
HwDisplay.cpp
LOCAL_C_INCLUDES := \
system/core/base/include \
system/core/liblog \
system/core/include \
$(SOC_PLATFORM_PATH)/modules/displaymanager/include \
$(SOC_PLATFORM_PATH)/modules/displaymanager/source/libs \
$(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 \
$(TOP)/vendor/platform/secure_c/include
LOCAL_SHARED_LIBRARIES := \
libbase \
libuapi_common \
libhidlbase \
libhidltransport \
libcutils \
liblog \
libutils \
libuapi_securec \
libuapi_pdm \
libhardware \
vendor.huanglong.hardware.hwdisplay@2.0 \
libhwbinder \
libbinder
include $(BUILD_SHARED_LIBRARY)
############################################
include $(CLEAR_VARS)
LOCAL_MODULE := vendor.huanglong.hardware.hwdisplay@2.0-service
LOCAL_INIT_RC := vendor.huanglong.hardware.hwdisplay@2.0-service.rc
LOCAL_MULTILIB := 32
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := \
service.cpp
LOCAL_CFLAGS := \
-fstack-protector-all \
-Wno-inconsistent-missing-override
LOCAL_SHARED_LIBRARIES := \
libhidlbase \
libhidltransport \
liblog \
libhwbinder \
libutils \
libhardware \
vendor.huanglong.hardware.hwdisplay@2.0
include $(BUILD_EXECUTABLE)