summaryrefslogtreecommitdiffstats
path: root/Android.mksnapshot.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mksnapshot.mk')
-rw-r--r--Android.mksnapshot.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/Android.mksnapshot.mk b/Android.mksnapshot.mk
index f73549b0..9ab80b40 100644
--- a/Android.mksnapshot.mk
+++ b/Android.mksnapshot.mk
@@ -24,6 +24,11 @@ ifeq ($(TARGET_ARCH),arm)
V8_LOCAL_SRC_FILES += src/arm/simulator-arm.cc
endif
+ifeq ($(TARGET_ARCH),mips)
+V8_LOCAL_SRC_FILES += src/mips/simulator-mips.cc
+
+endif
+
ifeq ($(HOST_ARCH),x86)
V8_LOCAL_SRC_FILES += src/atomicops_internals_x86_gcc.cc
endif
@@ -90,6 +95,14 @@ ifeq ($(TARGET_CPU_ABI),armeabi-v7a)
endif
endif
+ifeq ($(TARGET_ARCH),mips)
+ LOCAL_CFLAGS += -DV8_TARGET_ARCH_MIPS
+ LOCAL_CFLAGS += -DCAN_USE_FPU_INSTRUCTIONS
+ 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