1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3include $(LOCAL_PATH)/../../../common.mk 4ifeq ($(use_hwc2),false) 5 6LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) 7LOCAL_MODULE_RELATIVE_PATH := hw 8LOCAL_PROPRIETARY_MODULE := true 9LOCAL_MODULE_TAGS := optional 10LOCAL_C_INCLUDES := $(common_includes) 11 12LOCAL_CFLAGS := -Wno-missing-field-initializers -Wno-unused-parameter \ 13 -std=c++11 -fcolor-diagnostics\ 14 -DLOG_TAG=\"SDM\" $(common_flags) 15LOCAL_CLANG := true 16 17LOCAL_SHARED_LIBRARIES := libsdmcore libqservice libbinder libhardware libhardware_legacy \ 18 libutils liblog libcutils libsync libmemalloc libqdutils libdl \ 19 libpowermanager libsdmutils libc++ 20 21LOCAL_SRC_FILES := hwc_session.cpp \ 22 hwc_display.cpp \ 23 hwc_display_null.cpp \ 24 hwc_display_primary.cpp \ 25 hwc_display_external.cpp \ 26 hwc_display_virtual.cpp \ 27 hwc_debugger.cpp \ 28 hwc_buffer_allocator.cpp \ 29 hwc_buffer_sync_handler.cpp \ 30 hwc_color_manager.cpp \ 31 blit_engine_c2d.cpp \ 32 cpuhint.cpp 33 34include $(BUILD_SHARED_LIBRARY) 35endif 36