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