From 2c13e0e41a011cdbb3caa41b9fc36386cdffd3ab Mon Sep 17 00:00:00 2001 From: "danno@chromium.org" Date: Fri, 23 Sep 2011 09:38:03 +0000 Subject: [PATCH] Allow gyp build to turn on OBJECT_PRINT BUG=none TEST=none Review URL: http://codereview.chromium.org/7970015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9412 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- Makefile | 4 ++++ build/common.gypi | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/Makefile b/Makefile index ab4fe64687..ebf68312b5 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,10 @@ endif ifeq ($(disassembler), on) GYPFLAGS += -Dv8_enable_disassembler=1 endif +# objectprint=on +ifeq ($(objectprint), on) + GYPFLAGS += -Dv8_object_print=1 +endif # snapshot=off ifeq ($(snapshot), off) GYPFLAGS += -Dv8_use_snapshot='false' diff --git a/build/common.gypi b/build/common.gypi index 34508913fe..09ecd3623b 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -60,6 +60,8 @@ 'v8_enable_disassembler%': 0, + 'v8_object_print%': 0, + 'v8_enable_gdbjit%': 0, # Enable profiling support. Only required on Windows. @@ -84,6 +86,9 @@ ['v8_enable_disassembler==1', { 'defines': ['ENABLE_DISASSEMBLER',], }], + ['v8_object_print==1', { + 'defines': ['OBJECT_PRINT',], + }], ['v8_enable_gdbjit==1', { 'defines': ['ENABLE_GDB_JIT_INTERFACE',], }],