1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4 5ifeq ($(TARGET_ENABLE_VIDC_INTSAN), true) 6LOCAL_SANITIZE := integer_overflow 7ifeq ($(TARGET_ENABLE_VIDC_INTSAN_DIAG), true) 8$(warning INTSAN_DIAG_ENABLED) 9LOCAL_SANITIZE_DIAG := integer_overflow 10endif 11endif 12 13LOCAL_SRC_FILES := \ 14 C2DColorConverter.cpp 15 16LOCAL_C_INCLUDES := \ 17 $(TARGET_OUT_HEADERS)/adreno 18 19# KONA_TODO_UPDATE: Check if we need to change the path for dispaly header files 20LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/adreno 21LOCAL_C_INCLUDES += $(QC_OPEN_PATH)/commonsys-intf/display/gralloc 22 23LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 24 25LOCAL_HEADER_LIBRARIES := \ 26 libutils_headers \ 27 libhardware_headers \ 28 display_intf_headers 29 30LOCAL_SHARED_LIBRARIES := liblog libdl 31 32LOCAL_MODULE_TAGS := optional 33 34LOCAL_MODULE := libc2dcolorconvert 35LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 36LOCAL_LICENSE_CONDITIONS := notice 37LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE 38 39LOCAL_VENDOR_MODULE := true 40 41LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 42 43include $(BUILD_SHARED_LIBRARY) 44