Reviewers: Søren Gjesse,

Message:
This replaces issue 6278005 to fix build breakage with mode=debug
objectprint=on.

It also fixes the build breakage with mode=release liveobjectlist=on.


Description:
Script changes so that we can build debug/release with
liveobjectlist=on/off and objectprint=on/off.

Please review this at http://codereview.chromium.org/6267007/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     SConstruct
  M     src/SConscript


Index: SConstruct
===================================================================
--- SConstruct  (revision 6419)
+++ SConstruct  (working copy)
@@ -1023,6 +1023,8 @@
# Print a warning that liveobjectlist will implicitly enable the debugger
       print "Warning: forcing debuggersupport on for liveobjectlist"
     options['debuggersupport'] = 'on'
+    options['inspector'] = 'on'
+    options['objectprint'] = 'on'


 def ParseEnvOverrides(arg, imports):
Index: src/SConscript
===================================================================
--- src/SConscript      (revision 6419)
+++ src/SConscript      (working copy)
@@ -95,6 +95,7 @@
     mark-compact.cc
     messages.cc
     objects.cc
+    objects-printer.cc
     objects-visiting.cc
     oprofile-agent.cc
     parser.cc
@@ -236,10 +237,8 @@
   'os:win32':   ['platform-win32.cc'],
   'mode:release': [],
   'mode:debug': [
-    'objects-debug.cc', 'objects-printer.cc', 'prettyprinter.cc',
-    'regexp-macro-assembler-tracer.cc'
-  ],
-  'objectprint:on': ['objects-printer.cc']
+    'objects-debug.cc', 'prettyprinter.cc', 'regexp-macro-assembler-tracer.cc'
+  ]
 }




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

Reply via email to