2011-12-07 21:02:35 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2012-03-22 01:05:54 +00:00
|
|
|
qcom_ui.cpp \
|
2012-03-20 00:24:17 +00:00
|
|
|
utils/profiler.cpp \
|
|
|
|
utils/IdleTimer.cpp
|
2011-12-07 21:02:35 +00:00
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libutils \
|
|
|
|
libcutils \
|
2011-12-09 23:30:49 +00:00
|
|
|
libmemalloc \
|
2011-12-19 19:40:05 +00:00
|
|
|
libui \
|
2012-02-29 20:57:31 +00:00
|
|
|
libEGL \
|
|
|
|
libskia
|
2011-12-07 21:02:35 +00:00
|
|
|
|
2011-12-09 23:30:49 +00:00
|
|
|
LOCAL_C_INCLUDES := $(TOP)/hardware/qcom/display/libgralloc \
|
2012-02-29 20:57:31 +00:00
|
|
|
$(TOP)/frameworks/base/services/surfaceflinger \
|
|
|
|
$(TOP)/external/skia/include/core \
|
|
|
|
$(TOP)/external/skia/include/images
|
|
|
|
|
2012-06-05 02:18:29 +00:00
|
|
|
LOCAL_CFLAGS := -DLOG_TAG=\"libQcomUI\"
|
2012-01-20 06:53:50 +00:00
|
|
|
LOCAL_CFLAGS += -DDEBUG_CALC_FPS
|
2012-06-05 02:18:29 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2011-12-07 21:02:35 +00:00
|
|
|
LOCAL_MODULE := libQcomUI
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|