aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbxu10X <bxu10X@intel.com>2012-01-06 16:05:27 +0800
committerJean-Baptiste Queru <jbq@google.com>2012-08-30 10:08:06 -0700
commit42490b99d3a6053501fed7f38f36c5ac4644f631 (patch)
tree1b1592eba1c110865b3ada38d809ef473f608022
parent372648a70bbb2778edcdad588c8d133a6c55a033 (diff)
downloadexternal_skia-42490b99d3a6053501fed7f38f36c5ac4644f631.zip
external_skia-42490b99d3a6053501fed7f38f36c5ac4644f631.tar.gz
external_skia-42490b99d3a6053501fed7f38f36c5ac4644f631.tar.bz2
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 <bxu10X@intel.com> Signed-off-by: Bin Xu <bxu10X@intel.com> Singed-off-by: Shuo Gao <shuo.gao@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 19205
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
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