From 42490b99d3a6053501fed7f38f36c5ac4644f631 Mon Sep 17 00:00:00 2001 From: bxu10X Date: Fri, 6 Jan 2012 16:05:27 +0800 Subject: Enable dynamic effect of GIF animating images in browser The ANDROID_LARGE_MEMORY_DEVICE flag is not set for x86 platforms but it is required to get animated GIF working. 256MB is considered "large". Change-Id: I2ed6d1668702e6b422e6d585eb8cd06f064ccc32 Author: Bin Xu Signed-off-by: Bin Xu Singed-off-by: Shuo Gao Signed-off-by: Bruce Beare Signed-off-by: Jack Ren Author-tracking-BZ: 19205 --- Android.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Android.mk b/Android.mk index 613a90f..e293780 100644 --- a/Android.mk +++ b/Android.mk @@ -39,6 +39,10 @@ ifeq ($(ARCH_ARM_HAVE_VFP),true) LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE endif +ifeq ($(TARGET_ARCH),x86) + LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE +endif + ifneq ($(ARCH_ARM_HAVE_VFP),true) LOCAL_CFLAGS += -DSK_SOFTWARE_FLOAT endif -- cgit v1.1