summaryrefslogtreecommitdiffstats
path: root/libs/ui/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ui/Android.mk')
-rw-r--r--libs/ui/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ui/Android.mk b/libs/ui/Android.mk
index 1ce8626..a8eb67b 100644
--- a/libs/ui/Android.mk
+++ b/libs/ui/Android.mk
@@ -56,6 +56,10 @@ ifneq ($(BOARD_FRAMEBUFFER_FORCE_FORMAT),)
LOCAL_CFLAGS += -DFRAMEBUFFER_FORCE_FORMAT=$(BOARD_FRAMEBUFFER_FORCE_FORMAT)
endif
+ifeq ($(BOARD_EGL_NEEDS_HANDLE_VALUE),true)
+LOCAL_CFLAGS += -DEGL_NEEDS_HANDLE
+endif
+
LOCAL_MODULE := libui
include $(BUILD_SHARED_LIBRARY)