1LOCAL_PATH := $(call my-dir) 2include $(LOCAL_PATH)/../common.mk 3include $(CLEAR_VARS) 4 5LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) 6LOCAL_MODULE_RELATIVE_PATH := hw 7LOCAL_PROPRIETARY_MODULE := true 8LOCAL_MODULE_TAGS := optional 9LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes) \ 10 $(TOP)/external/skia/include/core \ 11 $(TOP)/external/skia/include/images 12LOCAL_SHARED_LIBRARIES := $(common_libs) libEGL liboverlay \ 13 libexternal libqdutils libhardware_legacy \ 14 libdl libmemalloc libqservice libsync \ 15 libbinder libmedia libvirtual 16 17ifeq ($(TARGET_USES_QCOM_BSP),true) 18LOCAL_SHARED_LIBRARIES += libskia 19endif #TARGET_USES_QCOM_BSP 20 21LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdhwcomposer\" 22LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 23LOCAL_SRC_FILES := hwc.cpp \ 24 hwc_utils.cpp \ 25 hwc_uevents.cpp \ 26 hwc_vsync.cpp \ 27 hwc_fbupdate.cpp \ 28 hwc_mdpcomp.cpp \ 29 hwc_copybit.cpp \ 30 hwc_qclient.cpp \ 31 hwc_dump_layers.cpp \ 32 hwc_ad.cpp \ 33 hwc_virtual.cpp 34 35ifeq ($(TARGET_USES_DELTA_PANEL),true) 36LOCAL_CFLAGS += -O3 -march=armv7-a -mfloat-abi=softfp -mfpu=neon 37LOCAL_CFLAGS += -DDELTA_PANEL 38LOCAL_CFLAGS += $(DELTA_PANEL_CFLAGS) 39LOCAL_LDLIBS := -llog -ldl 40LOCAL_ARM_MODE := arm 41LOCAL_SRC_FILES += hwc_delta_panel.cpp 42endif #TARGET_USES_DELTA_PANEL 43 44include $(BUILD_SHARED_LIBRARY) 45