From a573945df7d21cfb73aa9cdba41561105e2ffb01 Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Thu, 27 Sep 2012 17:58:24 -0700 Subject: [PATCH] libgui: enable fence support for exynos5 Change-Id: Iffc48412b8c951116a956a3ac7dab8d75eed13da Bug: 7238122 --- libs/gui/Android.mk | 3 ++- libs/gui/CleanSpec.mk | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/gui/Android.mk b/libs/gui/Android.mk index 902aecaf4..d970a33b2 100644 --- a/libs/gui/Android.mk +++ b/libs/gui/Android.mk @@ -46,7 +46,8 @@ ifeq ($(TARGET_BOARD_PLATFORM), s5pc110) LOCAL_CFLAGS += -DUSE_FENCE_SYNC endif ifeq ($(TARGET_BOARD_PLATFORM), exynos5) - LOCAL_CFLAGS += -DUSE_FENCE_SYNC + LOCAL_CFLAGS += -DUSE_NATIVE_FENCE_SYNC + LOCAL_CFLAGS += -DUSE_WAIT_SYNC endif ifneq ($(filter generic%,$(TARGET_DEVICE)),) # Emulator build diff --git a/libs/gui/CleanSpec.mk b/libs/gui/CleanSpec.mk index 17136946f..0d082915d 100644 --- a/libs/gui/CleanSpec.mk +++ b/libs/gui/CleanSpec.mk @@ -48,3 +48,4 @@ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************ $(call add-clean-step, find $(PRODUCT_OUT) -type f -name "libgui*" -print0 | xargs -0 rm -f) +$(call add-clean-step, rm -rf $PRODUCT_OUT/obj/SHARED_LIBRARIES/libgui_intermediates)