Fix up old libminui to compile
Implement some needed updates to libminui to make it compile for
healthd. Note that res_create_multi_display_surface is not fully
implemented so healthd may still have issues with displaying some
graphics. Will update later when we are able to test these changes.
Change-Id: Ic1095a998f5dfe7e36a08384c86da28e0524a03f
diff --git a/minui/Android.mk b/minui/Android.mk
index 54eb061..061bee6 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -9,8 +9,9 @@
endif
LOCAL_C_INCLUDES +=\
- external/libpng\
- external/zlib
+ external/libpng \
+ external/zlib \
+ system/core/include/pixelflinger
ifeq ($(TW_TARGET_USES_QCOM_BSP), true)
LOCAL_CFLAGS += -DMSM_BSP
@@ -25,6 +26,7 @@
endif
LOCAL_STATIC_LIBRARY := libpng
+LOCAL_WHOLE_STATIC_LIBRARIES := libpixelflinger_static
LOCAL_MODULE := libminui
# This used to compare against values in double-quotes (which are just