summaryrefslogtreecommitdiffstats
path: root/Android.libv8.mk
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-08-10 12:46:37 -0700
committerJean-Baptiste Queru <jbq@google.com>2012-08-10 12:46:37 -0700
commit8003b9b6c8e9091fe74c1ce2193448f1cba6683d (patch)
tree5db3f681940f704df438f13754384468b99d8eb6 /Android.libv8.mk
parent08d4f3a1420ec9ed70ef67fc9a662dd47bc353e5 (diff)
parent2461b847d44e0dfa125b5d7c566a52d3da2eb1df (diff)
downloadandroid_external_v8-8003b9b6c8e9091fe74c1ce2193448f1cba6683d.tar.gz
android_external_v8-8003b9b6c8e9091fe74c1ce2193448f1cba6683d.tar.bz2
android_external_v8-8003b9b6c8e9091fe74c1ce2193448f1cba6683d.zip
resolved conflicts for merge of 2461b847 to jb-mr1-dev
Change-Id: If6f3619904a44a71bd8814e00cfcfd96abdf534c
Diffstat (limited to 'Android.libv8.mk')
-rw-r--r--Android.libv8.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/Android.libv8.mk b/Android.libv8.mk
index 81d8296b..cd32be65 100644
--- a/Android.libv8.mk
+++ b/Android.libv8.mk
@@ -6,6 +6,10 @@ include $(CLEAR_VARS)
include external/stlport/libstlport.mk
+ifeq ($(TARGET_ARCH),mips)
+ LOCAL_MIPS_MODE=mips
+endif
+
# Set up the target identity
LOCAL_MODULE := libv8
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
@@ -92,6 +96,13 @@ ifeq ($(TARGET_ARCH),arm)
LOCAL_CFLAGS += -DARM -DV8_TARGET_ARCH_ARM
endif
+ifeq ($(TARGET_ARCH),mips)
+ LOCAL_CFLAGS += -DV8_TARGET_ARCH_MIPS
+ LOCAL_CFLAGS += -Umips
+ LOCAL_CFLAGS += -finline-limit=64
+ LOCAL_CFLAGS += -fno-strict-aliasing
+endif
+
ifeq ($(TARGET_ARCH),x86)
LOCAL_CFLAGS += -DV8_TARGET_ARCH_IA32
endif