From 705f16ea4b65269d4eacd27c2d8fa6f3de0d4493 Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Sat, 16 Nov 2013 09:59:44 -0500 Subject: Add warning if DEVICE_RESOLUTION is not set in BoardConfig.mk Change-Id: Ifc71c2e2078dbcd4b4893205bea9988e1e129f83 --- gui/Android.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gui/Android.mk b/gui/Android.mk index db7769d9b..32b1675d1 100644 --- a/gui/Android.mk +++ b/gui/Android.mk @@ -68,6 +68,14 @@ ifeq ($(HAVE_SELINUX), true) LOCAL_CFLAGS += -DHAVE_SELINUX endif +ifndef DEVICE_RESOLUTION +$(warning ********************************************************************************) +$(warning * DEVICE_RESOLUTION is NOT SET in BoardConfig.mk ) +$(warning * Please see http://tinyw.in/nP7d for details ) +$(warning ********************************************************************************) +$(error stopping) +endif + LOCAL_C_INCLUDES += bionic external/stlport/stlport $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION) include $(BUILD_STATIC_LIBRARY) -- cgit v1.2.3