You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
4 months ago
|
LOCAL_PATH := $(call my-dir)
|
||
|
include $(LOCAL_PATH)/../common.mk
|
||
|
|
||
|
include $(CLEAR_VARS)
|
||
|
LOCAL_VENDOR_MODULE := true
|
||
|
LOCAL_COPY_HEADERS_TO := $(common_header_export_path)
|
||
|
LOCAL_COPY_HEADERS := TonemapFactory.h Tonemapper.h
|
||
|
LOCAL_VENDOR_MODULE := true
|
||
|
include $(BUILD_COPY_HEADERS)
|
||
|
|
||
|
include $(CLEAR_VARS)
|
||
|
LOCAL_MODULE := libgpu_tonemapper
|
||
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 legacy_not_a_contribution
|
||
|
LOCAL_LICENSE_CONDITIONS := by_exception_only not_allowed notice
|
||
|
LOCAL_VENDOR_MODULE := true
|
||
|
LOCAL_MODULE_TAGS := optional
|
||
|
LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/qcom/display/
|
||
|
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
|
||
|
LOCAL_SHARED_LIBRARIES := libEGL libGLESv2 libGLESv3 libui libutils liblog
|
||
|
|
||
|
LOCAL_CFLAGS := $(version_flag) -Wno-missing-field-initializers -Wall \
|
||
|
-Wno-unused-parameter -DLOG_TAG=\"GPU_TONEMAPPER\"
|
||
|
|
||
|
LOCAL_SRC_FILES := TonemapFactory.cpp \
|
||
|
glengine.cpp \
|
||
|
EGLImageBuffer.cpp \
|
||
|
EGLImageWrapper.cpp \
|
||
|
Tonemapper.cpp
|
||
|
|
||
|
LOCAL_CFLAGS += -Werror
|
||
|
|
||
|
include $(BUILD_SHARED_LIBRARY)
|