android_hardware_qcom_display/libqcomui/Android.mk
Andrew Sutherland 3c6ccbef6d qcomui: ifdef decideTextureTarget
caf removed the decideTextureTarget function, however it is still useful for
old devices (8x50)

Change-Id: I8d5c7a821b1f2f75819cbcd6d7c65e17f1c1b0b1
2012-06-03 02:54:58 -05:00

36 lines
925 B
Makefile

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
qcom_ui.cpp \
utils/profiler.cpp \
utils/IdleTimer.cpp
LOCAL_CFLAGS := -DLOG_TAG=\"libQcomUI\"
ifeq ($(TARGET_BOARD_PLATFORM),qsd8k) # these are originally for 7x27a
LOCAL_CFLAGS += -DCHECK_FOR_EXTERNAL_FORMAT
endif
ifeq ($(BOARD_ADRENO_DECIDE_TEXTURE_TARGET),true)
LOCAL_CFLAGS += -DDECIDE_TEXTURE_TARGET
endif
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 += -DDEBUG_CALC_FPS
LOCAL_MODULE := libQcomUI
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)