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