2012-02-15 02:45:54 +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 := hwcomposer.$(TARGET_BOARD_PLATFORM)
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SHARED_LIBRARIES := liblog libcutils libEGL libhardware libutils
|
2012-02-27 05:20:15 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES += libgenlock libui
|
2012-02-15 02:45:54 +00:00
|
|
|
|
|
|
|
LOCAL_SRC_FILES := hwcomposer.cpp
|
|
|
|
|
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"$(TARGET_BOARD_PLATFORM).hwcomposer\"
|
|
|
|
LOCAL_CFLAGS += -DQCOM_HARDWARE
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc
|
|
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/libcopybit
|
|
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/libgenlock
|
|
|
|
LOCAL_C_INCLUDES += hardware/qcom/display/libqcomui
|
|
|
|
|
|
|
|
#ifeq ($(TARGET_QCOM_HDMI_OUT),true)
|
|
|
|
#LOCAL_CFLAGS += -DHDMI_DUAL_DISPLAY -DQCOM_HDMI_OUT
|
|
|
|
#endif
|
|
|
|
#ifeq ($(TARGET_USE_HDMI_AS_PRIMARY),true)
|
|
|
|
##LOCAL_CFLAGS += -DHDMI_AS_PRIMARY
|
|
|
|
#endif
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|