summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-08-18 05:51:02 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-08-18 05:51:02 -0700
commite38221f9813b52fbb9b76bb38c76ab08e25e5bb9 (patch)
treef4c00db92eb785026a8b80aa34e0daf21bec8713 /Android.mk
parentc5e6b092f1406104813248e52a2be6bc1c005943 (diff)
parentc81f2c434697af1cb17d5d43bc6599cb096383c2 (diff)
downloadexternal_webkit-e38221f9813b52fbb9b76bb38c76ab08e25e5bb9.zip
external_webkit-e38221f9813b52fbb9b76bb38c76ab08e25e5bb9.tar.gz
external_webkit-e38221f9813b52fbb9b76bb38c76ab08e25e5bb9.tar.bz2
Merge "Make V8 the default JS engine on all builds (except sim)."
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk17
1 files changed, 7 insertions, 10 deletions
diff --git a/Android.mk b/Android.mk
index b6e318e..ee8b3d8 100644
--- a/Android.mk
+++ b/Android.mk
@@ -54,17 +54,14 @@ endif
# Read JS_ENGINE environment variable
JAVASCRIPT_ENGINE = $(JS_ENGINE)
-# The default / alternative engine depends on the device class.
-# On devices with a lot of memory (e.g. Passion/Sholes), the
-# default is V8. On everything else, the only choice is JSC.
-# TODO: use ARCH_ARM_HAVE_ARMV7 once that variable is added to
-# the build system.
-ifeq ($(ARCH_ARM_HAVE_VFP),true)
- DEFAULT_ENGINE = v8
- ALT_ENGINE = jsc
+# We default to the V8 JS engine on everything except the simulator where
+# we stick with JSC.
+ifeq ($(TARGET_SIMULATOR),false)
+DEFAULT_ENGINE = v8
+ALT_ENGINE = jsc
else
- DEFAULT_ENGINE = jsc
- ALT_ENGINE = jsc
+DEFAULT_ENGINE = jsc
+ALT_ENGINE = jsc
endif
ifneq ($(JAVASCRIPT_ENGINE),jsc)