Fix the build.
Always compile libv8, we should have been doing this anyway to avoid breaking v8
with other changes.
Change-Id: I31502fdb463e914569138085c30294910f0b6903
diff --git a/Android.mk b/Android.mk
index 925136c..e21b736 100644
--- a/Android.mk
+++ b/Android.mk
@@ -27,25 +27,12 @@
# can be set to true, so that two builds can be different but without
# specifying which JS engine to use.
-NEED_V8 = false
-ifeq ($(JS_ENGINE),v8)
- NEED_V8 = true
-else
- ifneq ($(JS_ENGINE),jsc)
- ifeq ($(USE_ALT_JS_ENGINE),true)
- NEED_V8 = true
- endif
- endif
+# 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
endif
-
-ifeq ($(NEED_V8),true)
- # 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
- endif
- 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