libEGL: Only enable WORKAROUND_BUG_10194508 with board flag

Change-Id: Id0d000dc5397479a0cd73799f93861693179a663
This commit is contained in:
D. Andrei Măceș 2017-01-17 18:09:43 -05:00
parent 65166fe47d
commit 78f9ca0f1f

View File

@ -47,9 +47,6 @@ LOCAL_CFLAGS += -DEGL_TRACE=1
ifeq ($(BOARD_ALLOW_EGL_HIBERNATION),true)
LOCAL_CFLAGS += -DBOARD_ALLOW_EGL_HIBERNATION
endif
ifeq ($(TARGET_BOARD_PLATFORM), omap4)
LOCAL_CFLAGS += -DWORKAROUND_BUG_10194508=1
endif
ifeq ($(BOARD_EGL_WORKAROUND_BUG_10194508),true)
LOCAL_CFLAGS += -DWORKAROUND_BUG_10194508=1
endif