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