summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2010-03-03 09:28:03 -0500
committerMike Reed <reed@google.com>2010-03-03 09:28:03 -0500
commitcf9d0b9a12d2ae509c2a3075c4edb0fe38dc17a7 (patch)
tree61c04c32dab303719c1283ab106371a56e98a80d /Android.mk
parentf7acc0456b574d63f33aaad3bbbec5344f74ce4b (diff)
downloadexternal_webkit-cf9d0b9a12d2ae509c2a3075c4edb0fe38dc17a7.zip
external_webkit-cf9d0b9a12d2ae509c2a3075c4edb0fe38dc17a7.tar.gz
external_webkit-cf9d0b9a12d2ae509c2a3075c4edb0fe38dc17a7.tar.bz2
bump up our image cache etc. when we're on larger devices (e.g. have VFP)
fixes http://b/issue?id=2236822
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 0d8d847..6aae0b7 100644
--- a/Android.mk
+++ b/Android.mk
@@ -224,6 +224,12 @@ LOCAL_CFLAGS += -Darm
LOCAL_CFLAGS += -Wno-psabi
endif
+# need a flag to tell the C side when we're on devices with large memory
+# budgets (i.e. larger than the low-end devices that initially shipped)
+ifeq ($(ARCH_ARM_HAVE_VFP),true)
+LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE
+endif
+
ifeq ($(ENABLE_SVG),true)
LOCAL_CFLAGS += -DENABLE_SVG=1
endif