diff --git a/libs/gui/Android.mk b/libs/gui/Android.mk index b8be67d44..b6f5b9e8e 100644 --- a/libs/gui/Android.mk +++ b/libs/gui/Android.mk @@ -34,6 +34,13 @@ LOCAL_SHARED_LIBRARIES := \ LOCAL_MODULE:= libgui +ifeq ($(TARGET_BOARD_PLATFORM), omap4) + LOCAL_CFLAGS += -DUSE_FENCE_SYNC +endif +ifeq ($(TARGET_BOARD_PLATFORM), s5pc110) + LOCAL_CFLAGS += -DUSE_FENCE_SYNC +endif + ifeq ($(TARGET_BOARD_PLATFORM), tegra) LOCAL_CFLAGS += -DALLOW_DEQUEUE_CURRENT_BUFFER endif