summaryrefslogtreecommitdiff
path: root/deps/v8/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/SConstruct')
-rw-r--r--deps/v8/SConstruct13
1 files changed, 10 insertions, 3 deletions
diff --git a/deps/v8/SConstruct b/deps/v8/SConstruct
index 41c9faeb6..5908be152 100644
--- a/deps/v8/SConstruct
+++ b/deps/v8/SConstruct
@@ -108,11 +108,14 @@ LIBRARY_FLAGS = {
'CPPDEFINES': ['V8_INTERPRETED_REGEXP']
},
'mode:debug': {
- 'CPPDEFINES': ['V8_ENABLE_CHECKS']
+ 'CPPDEFINES': ['V8_ENABLE_CHECKS', 'OBJECT_PRINT']
},
'vmstate:on': {
'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING'],
},
+ 'objectprint:on': {
+ 'CPPDEFINES': ['OBJECT_PRINT'],
+ },
'protectheap:on': {
'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_HEAP_PROTECTION'],
},
@@ -225,8 +228,7 @@ LIBRARY_FLAGS = {
'LINKFLAGS': ['-m64'],
},
'prof:oprofile': {
- 'CPPDEFINES': ['ENABLE_OPROFILE_AGENT'],
- 'LIBS': ['opagent', 'bfd']
+ 'CPPDEFINES': ['ENABLE_OPROFILE_AGENT']
}
},
'msvc': {
@@ -711,6 +713,11 @@ SIMPLE_OPTIONS = {
'default': 'off',
'help': 'enable VM state tracking'
},
+ 'objectprint': {
+ 'values': ['on', 'off'],
+ 'default': 'off',
+ 'help': 'enable object printing'
+ },
'protectheap': {
'values': ['on', 'off'],
'default': 'off',