Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(LOCAL_PATH)/../common.mk |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 3 | |
Naseer Ahmed | 4c79040 | 2017-02-22 18:28:25 -0500 | [diff] [blame^] | 4 | include $(CLEAR_VARS) |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 5 | LOCAL_COPY_HEADERS_TO := $(common_header_export_path) |
| 6 | LOCAL_COPY_HEADERS := TonemapFactory.h Tonemapper.h |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 7 | include $(BUILD_COPY_HEADERS) |
| 8 | |
Naseer Ahmed | 4c79040 | 2017-02-22 18:28:25 -0500 | [diff] [blame^] | 9 | include $(CLEAR_VARS) |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 10 | LOCAL_MODULE := libgpu_tonemapper |
| 11 | LOCAL_MODULE_TAGS := optional |
Naseer Ahmed | 4c79040 | 2017-02-22 18:28:25 -0500 | [diff] [blame^] | 12 | LOCAL_PROPRIETARY_MODULE := true |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 13 | LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/qcom/display/ |
Arun Kumar K.R | 4a8b118 | 2017-01-26 19:44:33 -0800 | [diff] [blame] | 14 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Naseer Ahmed | 4c79040 | 2017-02-22 18:28:25 -0500 | [diff] [blame^] | 15 | LOCAL_SHARED_LIBRARIES := libEGL libGLESv2 libui libutils liblog |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 16 | |
Naseer Ahmed | feaed06 | 2017-01-17 15:34:02 -0500 | [diff] [blame] | 17 | LOCAL_CFLAGS := $(version_flag) -Wno-missing-field-initializers -Wall \ |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 18 | -Wno-unused-parameter -std=c++11 -DLOG_TAG=\"GPU_TONEMAPPER\" |
| 19 | |
| 20 | LOCAL_SRC_FILES := TonemapFactory.cpp \ |
| 21 | glengine.cpp \ |
| 22 | EGLImageBuffer.cpp \ |
| 23 | EGLImageWrapper.cpp \ |
| 24 | Tonemapper.cpp |
| 25 | |
| 26 | include $(BUILD_SHARED_LIBRARY) |