Skip to content

Commit

Permalink
Re-enable snapshots in V8.
Browse files Browse the repository at this point in the history
Fix bug:  2612919

Change-Id: I8c3de4e0df95c9339aadd90e8367239911fe1cee
  • Loading branch information
Andrei Popescu committed Apr 21, 2010
1 parent 1c868ba commit 6a927b2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ include $(CLEAR_VARS)
# Build libv8 and v8shell
# TODO: remove the check when the v8 build is fixed for x86
ifeq ($(TARGET_ARCH),arm)
ENABLE_V8_SNAPSHOT = true
include $(BASE_PATH)/Android.mksnapshot.mk
include $(BASE_PATH)/Android.libv8.mk
include $(BASE_PATH)/Android.v8shell.mk
Expand Down
3 changes: 2 additions & 1 deletion Android.mksnapshot.mk
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ LOCAL_CFLAGS := \
-Wno-format \
-ansi \
-fno-rtti \
-DENABLE_DEBUGGER_SUPPORT
-DENABLE_DEBUGGER_SUPPORT \
-DV8_NATIVE_REGEXP

ifeq ($(TARGET_ARCH),arm)
LOCAL_CFLAGS += -DV8_TARGET_ARCH_ARM
Expand Down
5 changes: 5 additions & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libv8_intermediates)
$(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/bin/mksnapshot)
$(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/obj/EXECUTABLES/mksnapshot_intermediates)


# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************

0 comments on commit 6a927b2

Please sign in to comment.