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 |
Naseer Ahmed | 1e54952 | 2017-03-01 18:48:00 -0500 | [diff] [blame] | 3 | |
Naseer Ahmed | 9c7ab94 | 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 |
Naseer Ahmed | 43f113a | 2017-07-13 14:55:05 -0400 | [diff] [blame^] | 7 | LOCAL_VENDOR_MODULE := true |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 8 | include $(BUILD_COPY_HEADERS) |
| 9 | |
Naseer Ahmed | 9c7ab94 | 2017-02-22 18:28:25 -0500 | [diff] [blame] | 10 | include $(CLEAR_VARS) |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 11 | LOCAL_MODULE := libgpu_tonemapper |
Naseer Ahmed | 725789e | 2017-05-17 13:41:10 -0400 | [diff] [blame] | 12 | LOCAL_VENDOR_MODULE := true |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 13 | LOCAL_MODULE_TAGS := optional |
| 14 | LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/qcom/display/ |
Arun Kumar K.R | 4a8b118 | 2017-01-26 19:44:33 -0800 | [diff] [blame] | 15 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Naseer Ahmed | 9c7ab94 | 2017-02-22 18:28:25 -0500 | [diff] [blame] | 16 | LOCAL_SHARED_LIBRARIES := libEGL libGLESv2 libui libutils liblog |
Naseer Ahmed | 5ef09d9 | 2017-03-31 16:49:05 -0400 | [diff] [blame] | 17 | LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) $(kernel_deps) |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 18 | |
Naseer Ahmed | feaed06 | 2017-01-17 15:34:02 -0500 | [diff] [blame] | 19 | LOCAL_CFLAGS := $(version_flag) -Wno-missing-field-initializers -Wall \ |
Arun Kumar K.R | 2b75da3 | 2016-11-11 14:37:20 -0800 | [diff] [blame] | 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 | include $(BUILD_SHARED_LIBRARY) |