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 7include $(BUILD_COPY_HEADERS) 8 9include $(CLEAR_VARS) 10LOCAL_MODULE := libgpu_tonemapper 11LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 legacy_not_a_contribution 12LOCAL_LICENSE_CONDITIONS := by_exception_only not_allowed notice 13LOCAL_VENDOR_MODULE := true 14LOCAL_MODULE_TAGS := optional 15LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/qcom/display/ 16LOCAL_SHARED_LIBRARIES := libEGL libGLESv2 libui libutils liblog 17LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) $(kernel_deps) 18 19LOCAL_CFLAGS := $(version_flag) -Wno-missing-field-initializers -Wall \ 20 -Wno-unused-parameter -DLOG_TAG=\"GPU_TONEMAPPER\" 21 22LOCAL_SRC_FILES := TonemapFactory.cpp \ 23 glengine.cpp \ 24 EGLImageBuffer.cpp \ 25 EGLImageWrapper.cpp \ 26 Tonemapper.cpp 27 28include $(BUILD_SHARED_LIBRARY) 29