summaryrefslogtreecommitdiffstats
path: root/libs/gui/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gui/Android.mk')
-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)