1LOCAL_PATH := $(call my-dir) 2include $(LOCAL_PATH)/../common.mk 3 4include $(CLEAR_VARS) 5LOCAL_VENDOR_MODULE := true 6LOCAL_COPY_HEADERS_TO := $(common_header_export_path) 7LOCAL_COPY_HEADERS := TonemapFactory.h Tonemapper.h 8LOCAL_VENDOR_MODULE := true 9include $(BUILD_COPY_HEADERS) 10 11include $(CLEAR_VARS) 12LOCAL_MODULE := libgpu_tonemapper 13LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 legacy_not_a_contribution 14LOCAL_LICENSE_CONDITIONS := by_exception_only not_allowed notice 15LOCAL_VENDOR_MODULE := true 16LOCAL_MODULE_TAGS := optional 17LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/qcom/display/ 18LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 19LOCAL_SHARED_LIBRARIES := libEGL libGLESv2 libGLESv3 libui libutils liblog 20 21LOCAL_CFLAGS := $(version_flag) -Wno-missing-field-initializers -Wall \ 22 -Wno-unused-parameter -DLOG_TAG=\"GPU_TONEMAPPER\" 23 24LOCAL_SRC_FILES := TonemapFactory.cpp \ 25 glengine.cpp \ 26 EGLImageBuffer.cpp \ 27 EGLImageWrapper.cpp \ 28 Tonemapper.cpp 29 30LOCAL_CFLAGS += -Werror 31 32include $(BUILD_SHARED_LIBRARY) 33