summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2013-03-23 00:59:59 +0100
committerArne Coucheron <arco68@gmail.com>2013-03-23 13:48:50 +0100
commit79e87ed676f5873202ed8b44cddc4a0b893d1c49 (patch)
tree601c8f2cff6f0d9bb0803438192309e8ed07c85b
parentf4080b43069036ad896a66aea8a98ece0545e80c (diff)
downloadframeworks_native-79e87ed676f5873202ed8b44cddc4a0b893d1c49.zip
frameworks_native-79e87ed676f5873202ed8b44cddc4a0b893d1c49.tar.gz
frameworks_native-79e87ed676f5873202ed8b44cddc4a0b893d1c49.tar.bz2
Don't use fence sync for qcom legacy
Change-Id: Ice64233a25edee763a36a3ba34230d1360a0d610
-rw-r--r--libs/gui/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/gui/Android.mk b/libs/gui/Android.mk
index 8706dbc..084ea0d 100644
--- a/libs/gui/Android.mk
+++ b/libs/gui/Android.mk
@@ -55,8 +55,10 @@ ifneq ($(filter generic%,$(TARGET_DEVICE)),)
endif
ifeq ($(call is-vendor-board-platform,QCOM),true)
+ifneq ($(TARGET_QCOM_DISPLAY_VARIANT),legacy)
LOCAL_CFLAGS += -DUSE_NATIVE_FENCE_SYNC
endif
+endif
include $(BUILD_SHARED_LIBRARY)