| LOCAL_PATH := $(call my-dir) |
| include $(CLEAR_VARS) |
| include $(LOCAL_PATH)/../../../common.mk |
| |
| ifeq ($(use_hwc2),true) |
| |
| LOCAL_MODULE := hwcomposer.qcom |
| 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 \ |
| -std=c++11 -fcolor-diagnostics\ |
| -DLOG_TAG=\"SDM\" $(common_flags) |
| LOCAL_CLANG := true |
| |
| LOCAL_SHARED_LIBRARIES := libsdmcore libqservice libbinder libhardware libhardware_legacy \ |
| libutils libcutils libsync libqdutils libqdMetaData \ |
| libdisplaydebug libsdmutils libc++ liblog libgrallocutils libui \ |
| libgpu_tonemapper libhidlbase libhidltransport \ |
| vendor.display.config@1.0 \ |
| android.hardware.graphics.mapper@2.0 \ |
| android.hardware.graphics.mapper@2.1 \ |
| android.hardware.graphics.allocator@2.0 \ |
| android.hardware.graphics.composer@2.2 \ |
| |
| $(info IDisplayConfig version: $(display_config_version)) |
| ifeq ($(display_config_version), DISPLAY_CONFIG_1_1) |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.1 |
| endif |
| ifeq ($(display_config_version), DISPLAY_CONFIG_1_2) |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.2 vendor.display.config@1.1 |
| endif |
| ifeq ($(display_config_version), DISPLAY_CONFIG_1_3) |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.1 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.2 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.3 |
| endif |
| ifeq ($(display_config_version), DISPLAY_CONFIG_1_4) |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.1 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.2 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.3 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.4 |
| endif |
| ifeq ($(display_config_version), DISPLAY_CONFIG_1_5) |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.1 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.2 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.3 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.4 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.5 |
| endif |
| ifeq ($(display_config_version), DISPLAY_CONFIG_1_6) |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.1 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.2 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.3 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.4 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.5 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.6 |
| endif |
| ifeq ($(display_config_version), DISPLAY_CONFIG_1_7) |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.1 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.2 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.3 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.4 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.5 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.6 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.7 |
| endif |
| ifeq ($(display_config_version), DISPLAY_CONFIG_1_8) |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.1 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.2 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.3 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.4 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.5 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.6 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.7 |
| LOCAL_SHARED_LIBRARIES += vendor.display.config@1.8 |
| endif |
| |
| LOCAL_SRC_FILES := hwc_session.cpp \ |
| hwc_session_services.cpp \ |
| hwc_display.cpp \ |
| hwc_display_builtin.cpp \ |
| hwc_display_pluggable.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 |
| |
| include $(BUILD_SHARED_LIBRARY) |
| endif |