2009-03-04 04:28:42 +01:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2015-04-10 18:40:53 +02:00
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
events.cpp \
|
|
|
|
graphics.c \
|
|
|
|
graphics_adf.c \
|
|
|
|
graphics_fbdev.c \
|
|
|
|
resources.c \
|
2009-03-04 04:28:42 +01:00
|
|
|
|
2014-04-25 19:39:50 +02:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += libadf
|
2015-02-26 16:57:58 +01:00
|
|
|
LOCAL_STATIC_LIBRARIES += libpng
|
2014-04-25 19:39:50 +02:00
|
|
|
|
2009-03-04 04:28:42 +01:00
|
|
|
LOCAL_MODULE := libminui
|
|
|
|
|
2015-04-10 18:40:53 +02:00
|
|
|
LOCAL_CLANG := true
|
2015-03-24 23:21:48 +01:00
|
|
|
|
2012-07-11 22:21:02 +02:00
|
|
|
# This used to compare against values in double-quotes (which are just
|
|
|
|
# ordinary characters in this context). Strip double-quotes from the
|
|
|
|
# value so that either will work.
|
|
|
|
|
2015-02-05 14:25:56 +01:00
|
|
|
ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),ABGR_8888)
|
|
|
|
LOCAL_CFLAGS += -DRECOVERY_ABGR
|
|
|
|
endif
|
2012-07-11 22:21:02 +02:00
|
|
|
ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBX_8888)
|
2011-06-22 23:30:34 +02:00
|
|
|
LOCAL_CFLAGS += -DRECOVERY_RGBX
|
|
|
|
endif
|
2012-07-11 22:21:02 +02:00
|
|
|
ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),BGRA_8888)
|
2011-06-22 23:30:34 +02:00
|
|
|
LOCAL_CFLAGS += -DRECOVERY_BGRA
|
2011-01-14 01:43:44 +01:00
|
|
|
endif
|
|
|
|
|
2012-12-19 01:31:27 +01:00
|
|
|
ifneq ($(TARGET_RECOVERY_OVERSCAN_PERCENT),)
|
|
|
|
LOCAL_CFLAGS += -DOVERSCAN_PERCENT=$(TARGET_RECOVERY_OVERSCAN_PERCENT)
|
|
|
|
else
|
|
|
|
LOCAL_CFLAGS += -DOVERSCAN_PERCENT=0
|
|
|
|
endif
|
|
|
|
|
2009-03-04 04:28:42 +01:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2015-02-05 01:49:44 +01:00
|
|
|
|
|
|
|
# Used by OEMs for factory test images.
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libminui
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += libminui
|
|
|
|
LOCAL_SHARED_LIBRARIES := libpng
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|