7493d7c6cc
caf removed this hack when the mdp driver was updated for the YAMATO format. We dont have that yet so keep it around but make it optional. depends on BOARD_ADRENO_DECIDE_TEXTURE_TARGET enable with BOARD_ADRENO_AVOID_EXTERNAL_TEXTURE:= true Change-Id: I99b9a60d76d4515682db9717e3cb68bc17aff800
36 lines
948 B
Makefile
36 lines
948 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
qcom_ui.cpp \
|
|
utils/profiler.cpp \
|
|
utils/IdleTimer.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libutils \
|
|
libcutils \
|
|
libmemalloc \
|
|
libui \
|
|
libEGL \
|
|
libskia
|
|
|
|
LOCAL_C_INCLUDES := $(TOP)/hardware/qcom/display/libgralloc \
|
|
$(TOP)/frameworks/base/services/surfaceflinger \
|
|
$(TOP)/external/skia/include/core \
|
|
$(TOP)/external/skia/include/images
|
|
|
|
LOCAL_CFLAGS := -DLOG_TAG=\"libQcomUI\"
|
|
LOCAL_CFLAGS += -DDEBUG_CALC_FPS
|
|
|
|
# Hacks for broken mdp versions
|
|
ifeq ($(BOARD_ADRENO_DECIDE_TEXTURE_TARGET),true)
|
|
LOCAL_CFLAGS += -DDECIDE_TEXTURE_TARGET
|
|
ifeq ($(BOARD_ADRENO_AVOID_EXTERNAL_TEXTURE),true)
|
|
LOCAL_CFLAGS += -DCHECK_FOR_EXTERNAL_FORMAT
|
|
endif
|
|
endif
|
|
|
|
LOCAL_MODULE := libQcomUI
|
|
LOCAL_MODULE_TAGS := optional
|
|
include $(BUILD_SHARED_LIBRARY)
|