blob: 79a2d9cb08eb656e96864c4af8cf4dfdee89f41f [file] [log] [blame]
LOCAL_PATH := $(call my-dir)
include $(LOCAL_PATH)/../common.mk
include $(CLEAR_VARS)
LOCAL_MODULE := vendor.qti.hardware.display.composer-service
LOCAL_SANITIZE := integer_overflow
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES := $(common_includes)
LOCAL_C_INCLUDES += $(kernel_includes)
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
LOCAL_HEADER_LIBRARIES := display_headers
LOCAL_CFLAGS := -Wno-missing-field-initializers -Wno-unused-parameter \
-DLOG_TAG=\"SDM\" $(common_flags) -fcolor-diagnostics
LOCAL_CLANG := true
LOCAL_SHARED_LIBRARIES := libbinder libhardware libutils libcutils libsync \
libc++ liblog libhidlbase libhidltransport \
liblog libfmq libhardware_legacy \
libsdmcore libqservice libqdutils libqdMetaData \
libdisplaydebug libsdmutils libgrallocutils libui \
libEGL libGLESv2 libGLESv3 \
vendor.qti.hardware.display.composer@1.0 \
vendor.qti.hardware.display.composer@2.0 \
android.hardware.graphics.composer@2.1 \
android.hardware.graphics.composer@2.2 \
android.hardware.graphics.composer@2.3 \
android.hardware.graphics.mapper@2.0 \
android.hardware.graphics.mapper@2.1 \
android.hardware.graphics.mapper@3.0 \
android.hardware.graphics.allocator@2.0 \
android.hardware.graphics.allocator@3.0 \
vendor.display.config@1.0 \
vendor.display.config@1.1 \
vendor.display.config@1.2 \
vendor.display.config@1.3 \
vendor.display.config@1.4 \
vendor.display.config@1.5 \
vendor.display.config@1.6 \
vendor.display.config@1.7 \
vendor.display.config@1.8 \
vendor.display.config@1.9 \
vendor.display.config@1.10 \
vendor.display.config@1.11 \
vendor.display.config@1.12 \
vendor.display.config@1.13
ifneq ($(TARGET_IS_HEADLESS), true)
LOCAL_SHARED_LIBRARIES += libgpu_tonemapper
endif
LOCAL_SRC_FILES := QtiComposer.cpp QtiComposerClient.cpp service.cpp \
QtiComposerHandleImporter.cpp \
hwc_session.cpp \
hwc_session_services.cpp \
hwc_display.cpp \
hwc_display_builtin.cpp \
hwc_display_pluggable.cpp \
hwc_display_dummy.cpp \
hwc_display_pluggable_test.cpp \
hwc_display_virtual.cpp \
hwc_debugger.cpp \
hwc_buffer_sync_handler.cpp \
hwc_color_manager.cpp \
hwc_layers.cpp \
hwc_callbacks.cpp \
cpuhint.cpp \
hwc_tonemapper.cpp \
display_null.cpp \
hwc_socket_handler.cpp \
hwc_buffer_allocator.cpp \
hwc_display_virtual_factory.cpp \
hwc_display_virtual_dpu.cpp \
hwc_display_virtual_gpu.cpp \
gl_common.cpp \
gl_color_convert.cpp \
gl_color_convert_impl.cpp \
gl_layer_stitch.cpp \
gl_layer_stitch_impl.cpp
LOCAL_INIT_RC := vendor.qti.hardware.display.composer-service.rc
LOCAL_VINTF_FRAGMENTS := vendor.qti.hardware.display.composer-service.xml
include $(BUILD_EXECUTABLE)