summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-02-16 11:09:39 +0000
committerSteve Block <steveblock@google.com>2012-02-16 12:09:48 +0000
commite25ed7434cc3a061dd965ad25b923bca153aed94 (patch)
treeddbb56276cd1c5d778c81b4c0b2e12a28584eefd /Android.mk
parenteed066b7ac0df859a0144ddde604e99ebf95d4d6 (diff)
downloadandroid_external_v8-e25ed7434cc3a061dd965ad25b923bca153aed94.tar.gz
android_external_v8-e25ed7434cc3a061dd965ad25b923bca153aed94.tar.bz2
android_external_v8-e25ed7434cc3a061dd965ad25b923bca153aed94.zip
Remove makefile comments about switching between JSC and V8
We no longer support JSC. Also add a check for ARMv7, as this is the only version on which V8 is well tested. Note that we no longer support ARMv5. See b/6015755. Note that this was previously landed as https://android-git.corp.google.com/g/#/c/162145, but broke the build, so was reverted. Bug: 5495373 Change-Id: Ibde55183ce8bc3b39e513f8b5d331219e793cf49
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk13
1 files changed, 5 insertions, 8 deletions
diff --git a/Android.mk b/Android.mk
index dcb3ea48..ff42934e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -17,14 +17,11 @@
BASE_PATH := $(call my-dir)
-# Two ways to control which JS engine is used:
-# 1. use JS_ENGINE environment variable, value can be either 'jsc' or 'v8'
-# This is the preferred way.
-# 2. if JS_ENGINE is not set, or is not 'jsc' or 'v8', this makefile picks
-# up a default engine to build.
-# To help setup buildbot, a new environment variable, USE_ALT_JS_ENGINE,
-# can be set to true, so that two builds can be different but without
-# specifying which JS engine to use.
+ifeq ($(TARGET_ARCH),arm)
+ ifneq ($(strip $(ARCH_ARM_HAVE_ARMV7A)),true)
+ $(warning WARNING: Building on ARM with non-ARMv7 variant. On ARM, V8 is well tested only on ARMv7.)
+ endif
+endif
# Build libv8 and v8shell
ifneq ($(filter $(TARGET_ARCH),x86 arm),)