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_VENDOR_MODULE := true 8LOCAL_MODULE_RELATIVE_PATH := hw 9LOCAL_MODULE_TAGS := optional 10LOCAL_C_INCLUDES := $(common_includes) 11LOCAL_HEADER_LIBRARIES := display_headers 12 13LOCAL_CFLAGS := $(common_flags) -Wno-missing-field-initializers -Wno-unused-parameter \ 14 -std=c++11 -fcolor-diagnostics -Wno-sign-conversion -DLOG_TAG=\"SDM\" 15LOCAL_CLANG := true 16 17LOCAL_SHARED_LIBRARIES := libsdmcore libqservice libbinder libhardware libhardware_legacy \ 18 libutils libcutils libsync libmemalloc libqdutils libdl \ 19 libpowermanager libsdmutils libgpu_tonemapper libc++ liblog \ 20 libdrmutils libui 21 22# Allow implicit fallthroughs in hwc_display.cpp until they are fixed. 23LOCAL_CFLAGS += -Wno-error=implicit-fallthrough 24 25LOCAL_SRC_FILES := hwc_session.cpp \ 26 hwc_display.cpp \ 27 hwc_display_null.cpp \ 28 hwc_display_primary.cpp \ 29 hwc_display_external.cpp \ 30 hwc_display_virtual.cpp \ 31 hwc_debugger.cpp \ 32 hwc_buffer_allocator.cpp \ 33 hwc_buffer_sync_handler.cpp \ 34 hwc_color_manager.cpp \ 35 blit_engine_c2d.cpp \ 36 cpuhint.cpp \ 37 hwc_tonemapper.cpp \ 38 hwc_socket_handler.cpp \ 39 hwc_display_external_test.cpp 40 41include $(BUILD_SHARED_LIBRARY) 42endif 43