summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2010-03-11 01:42:52 +0000
committerAndrei Popescu <andreip@google.com>2010-03-11 01:42:52 +0000
commit6fb4961ac4a8b0d8f8cc6abb8e43fabb48a50d10 (patch)
treed034e8228d6338dd0dcbf00e17d7a9798daff078 /Android.mk
parentcf0afc1539342934cbdaf19095d303e33f492827 (diff)
downloadandroid_external_v8-6fb4961ac4a8b0d8f8cc6abb8e43fabb48a50d10.tar.gz
android_external_v8-6fb4961ac4a8b0d8f8cc6abb8e43fabb48a50d10.tar.bz2
android_external_v8-6fb4961ac4a8b0d8f8cc6abb8e43fabb48a50d10.zip
Avoid building V8 on sim for now.
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/Android.mk b/Android.mk
index e21b736e..ccedc8e2 100644
--- a/Android.mk
+++ b/Android.mk
@@ -28,11 +28,9 @@ include $(CLEAR_VARS)
# specifying which JS engine to use.
# Build libv8 and v8shell
-# Temporarily enable snapshot support.
-# TODO(andreip): re-enable this after the experiment
-ENABLE_V8_SNAPSHOT = true
-ifeq ($(ENABLE_V8_SNAPSHOT),true)
- include $(BASE_PATH)/Android.mksnapshot.mk
+# TODO: remove the check when the v8 build is fixed for x86
+ifeq ($(TARGET_ARCH),arm)
+ include $(BASE_PATH)/Android.mksnapshot.mk
+ include $(BASE_PATH)/Android.libv8.mk
+ include $(BASE_PATH)/Android.v8shell.mk
endif
-include $(BASE_PATH)/Android.libv8.mk
-include $(BASE_PATH)/Android.v8shell.mk