Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (38 sloc) 1.514 kB
##
##
## Copyright 2009, The Android Open Source Project
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##
BASE_PATH := $(call my-dir)
include $(CLEAR_VARS)
# 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.
# Build libv8 and v8shell
# TODO: remove the check when the v8 build is fixed for x86
ifeq ($(TARGET_ARCH),arm)
ifneq ($(ARCH_ARM_HAVE_ARMV7A_BUG),true)
ifeq ($(ARCH_ARM_HAVE_ARMV7A),true)
ENABLE_V8_SNAPSHOT = true
endif
include $(BASE_PATH)/Android.mksnapshot.mk
endif
include $(BASE_PATH)/Android.libv8.mk
include $(BASE_PATH)/Android.v8shell.mk
endif
Jump to Line
Something went wrong with that request. Please try again.