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 # b/24171136 many files not compiling with clang/llvm yet
      6 LOCAL_CLANG := false
      7 
      8 LOCAL_MODULE                  := hwcomposer.$(TARGET_BOARD_PLATFORM)
      9 LOCAL_MODULE_RELATIVE_PATH    := hw
     10 LOCAL_MODULE_TAGS             := optional
     11 LOCAL_C_INCLUDES              := $(common_includes) $(kernel_includes) \
     12                                  $(TOP)/external/skia/include/core \
     13                                  $(TOP)/external/skia/include/images
     14 LOCAL_SHARED_LIBRARIES        := $(common_libs) libEGL liboverlay \
     15                                  libhdmi libqdutils libhardware_legacy \
     16                                  libdl libmemalloc libqservice libsync \
     17                                  libbinder libmedia
     18 
     19 ifeq ($(TARGET_USES_QCOM_BSP),true)
     20 LOCAL_SHARED_LIBRARIES += libskia
     21 endif #TARGET_USES_QCOM_BSP
     22 
     23 LOCAL_CFLAGS                  := $(common_flags) -DLOG_TAG=\"qdhwcomposer\" \
     24                                  -std=c++11
     25 #Enable Dynamic FPS if PHASE_OFFSET is not set
     26 ifeq ($(VSYNC_EVENT_PHASE_OFFSET_NS),)
     27     LOCAL_CFLAGS += -DDYNAMIC_FPS
     28 endif
     29 
     30 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
     31 LOCAL_SRC_FILES               := hwc.cpp          \
     32                                  hwc_utils.cpp    \
     33                                  hwc_uevents.cpp  \
     34                                  hwc_vsync.cpp    \
     35                                  hwc_fbupdate.cpp \
     36                                  hwc_mdpcomp.cpp  \
     37                                  hwc_copybit.cpp  \
     38                                  hwc_qclient.cpp  \
     39                                  hwc_dump_layers.cpp \
     40                                  hwc_ad.cpp \
     41                                  hwc_virtual.cpp
     42 include $(BUILD_SHARED_LIBRARY)
     43