1 LOCAL_PATH := $(call my-dir) 2 include $(CLEAR_VARS) 3 include $(LOCAL_PATH)/../../../common.mk 4 ifeq ($(use_hwc2),false) 5 6 LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) 7 LOCAL_MODULE_RELATIVE_PATH := hw 8 LOCAL_PROPRIETARY_MODULE := true 9 LOCAL_MODULE_TAGS := optional 10 LOCAL_C_INCLUDES := $(common_includes) 11 12 LOCAL_CFLAGS := -Wno-missing-field-initializers -Wno-unused-parameter \ 13 -std=c++11 -fcolor-diagnostics\ 14 -DLOG_TAG=\"SDM\" $(common_flags) 15 LOCAL_CLANG := true 16 17 LOCAL_SHARED_LIBRARIES := libsdmcore libqservice libbinder libhardware libhardware_legacy \ 18 libutils liblog libcutils libsync libmemalloc libqdutils libdl \ 19 libpowermanager libsdmutils libc++ 20 21 LOCAL_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 34 include $(BUILD_SHARED_LIBRARY) 35 endif 36