Fix heap corruption in overlay clients.
Fix heap corruption in overlay clients, caused by missing compilation flags. All libraries using overlayLib.h should have flags used for conditional member declaration in overlay. CRs-fixed: 342959 (cherry picked from commit 42120b29500560ebedbd897e2e7adf7369eb0a21) Change-Id: Idf613861c4dc67e96ecadf7ce7e37472cb4e4daf
This commit is contained in:
parent
87284fc92f
commit
272e6ecb11
@ -52,6 +52,10 @@ endif
|
||||
ifeq ($(TARGET_GRALLOC_USES_ASHMEM),true)
|
||||
LOCAL_CFLAGS += -DUSE_ASHMEM
|
||||
endif
|
||||
ifeq ($(TARGET_USES_POST_PROCESSING),true)
|
||||
LOCAL_CFLAGS += -DUSES_POST_PROCESSING
|
||||
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/pp/inc
|
||||
endif
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
|
@ -34,5 +34,9 @@ endif
|
||||
ifeq ($(TARGET_USE_HDMI_AS_PRIMARY),true)
|
||||
LOCAL_CFLAGS += -DHDMI_AS_PRIMARY
|
||||
endif
|
||||
ifeq ($(TARGET_USES_POST_PROCESSING),true)
|
||||
LOCAL_CFLAGS += -DUSES_POST_PROCESSING
|
||||
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/pp/inc
|
||||
endif
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
Loading…
Reference in New Issue
Block a user