1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_SRC_FILES := \ 6 C2DColorConverter.cpp 7 8LOCAL_CFLAGS := -Wall -Werror 9 10# Allow implicit fallthrough in C2DColorConverter.cpp:554 until it is fixed. 11LOCAL_CFLAGS += -Wno-implicit-fallthrough 12 13LOCAL_C_INCLUDES := \ 14 $(TARGET_OUT_HEADERS)/adreno 15LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qcom/display 16ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true) 17LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 18endif 19 20LOCAL_SHARED_LIBRARIES := liblog libdl libutils 21 22LOCAL_MODULE_TAGS := optional 23 24LOCAL_MODULE := libc2dcolorconvert 25LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 26LOCAL_LICENSE_CONDITIONS := notice 27LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE 28 29LOCAL_VENDOR_MODULE := true 30 31ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true) 32LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 33endif 34 35LOCAL_HEADER_LIBRARIES += libhardware_headers 36include $(BUILD_SHARED_LIBRARY) 37