Revision: 9412
Author:   [email protected]
Date:     Fri Sep 23 02:38:03 2011
Log:      Allow gyp build to turn on OBJECT_PRINT

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7970015
http://code.google.com/p/v8/source/detail?r=9412

Modified:
 /branches/bleeding_edge/Makefile
 /branches/bleeding_edge/build/common.gypi

=======================================
--- /branches/bleeding_edge/Makefile    Mon Sep 19 11:36:47 2011
+++ /branches/bleeding_edge/Makefile    Fri Sep 23 02:38:03 2011
@@ -50,6 +50,10 @@
 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'
=======================================
--- /branches/bleeding_edge/build/common.gypi   Thu Sep 15 01:13:39 2011
+++ /branches/bleeding_edge/build/common.gypi   Fri Sep 23 02:38:03 2011
@@ -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',],
       }],

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to