2011-03-08 01:37:04 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
# HAL module implemenation, not prelinked and stored in
|
|
|
|
# hw/<OVERLAY_HARDWARE_MODULE_ID>.<ro.product.board>.so
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
|
2011-11-14 22:58:33 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := liblog libcutils libEGL libhardware libutils liboverlay
|
2012-01-30 12:50:53 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES += libgenlock libQcomUI libmemalloc
|
2011-03-08 01:37:04 +00:00
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
hwcomposer.cpp
|
|
|
|
|
|
|
|
LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM)
|
2012-01-20 06:53:50 +00:00
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"$(TARGET_BOARD_PLATFORM).hwcomposer\" -DDEBUG_CALC_FPS
|
2011-12-23 02:51:22 +00:00
|
|
|
LOCAL_CFLAGS += -DQCOM_HARDWARE
|
2011-11-22 05:01:30 +00:00
|
|
|
|
2011-11-14 22:58:33 +00:00
|
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc
|
2011-11-17 04:41:16 +00:00
|
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/liboverlay
|
2011-11-20 00:06:39 +00:00
|
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/libcopybit
|
2011-11-22 05:01:30 +00:00
|
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/libgenlock
|
2011-12-11 23:27:51 +00:00
|
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/libqcomui
|
2011-11-22 05:01:30 +00:00
|
|
|
|
2011-12-22 09:39:58 +00:00
|
|
|
LOCAL_CFLAGS += -DQCOM_HARDWARE
|
|
|
|
|
2011-12-23 02:51:22 +00:00
|
|
|
ifeq ($(TARGET_QCOM_HDMI_OUT),true)
|
|
|
|
LOCAL_CFLAGS += -DHDMI_DUAL_DISPLAY -DQCOM_HDMI_OUT
|
2011-07-13 00:41:10 +00:00
|
|
|
endif
|
2011-11-22 03:51:25 +00:00
|
|
|
ifeq ($(TARGET_USES_OVERLAY),true)
|
|
|
|
LOCAL_CFLAGS += -DUSE_OVERLAY
|
|
|
|
endif
|
2011-08-10 18:08:16 +00:00
|
|
|
ifeq ($(TARGET_HAVE_BYPASS),true)
|
2011-11-20 00:38:14 +00:00
|
|
|
LOCAL_CFLAGS += -DCOMPOSITION_BYPASS
|
2011-08-10 18:08:16 +00:00
|
|
|
endif
|
2011-10-15 01:03:04 +00:00
|
|
|
ifeq ($(TARGET_USE_HDMI_AS_PRIMARY),true)
|
2011-11-17 04:41:16 +00:00
|
|
|
#LOCAL_CFLAGS += -DHDMI_AS_PRIMARY
|
2011-10-15 01:03:04 +00:00
|
|
|
endif
|
2011-11-29 01:52:56 +00:00
|
|
|
LOCAL_MODULE_TAGS := optional
|
2011-03-08 01:37:04 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|