},
'inspector:on': {
'CPPDEFINES': ['INSPECTOR'],
+ },
+ 'liveobjectlist:on': {
+ 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT', 'INSPECTOR',
+ 'LIVE_OBJECT_LIST', 'OBJECT_PRINT'],
}
},
'gcc': {
'default': 'off',
'help': 'enable inspector features'
},
+ 'liveobjectlist': {
+ 'values': ['on', 'off'],
+ 'default': 'off',
+ 'help': 'enable live object list features in the debugger'
+ },
'soname': {
'values': ['on', 'off'],
'default': 'off',
# Print a warning if native regexp is specified for mips
print "Warning: forcing regexp to interpreted for mips"
options['regexp'] = 'interpreted'
+ if options['liveobjectlist'] == 'on':
+ if (options['debuggersupport'] != 'on') or (options['mode'] == 'release'):
+ # Print a warning that liveobjectlist will implicitly enable the debugger
+ print "Warning: forcing debuggersupport on for liveobjectlist"
+ options['debuggersupport'] = 'on'
def ParseEnvOverrides(arg, imports):
'gcc_version%': 'unknown',
'v8_target_arch%': '<(target_arch)',
'v8_use_snapshot%': 'true',
+ 'v8_use_liveobjectlist%': 'false',
},
'conditions': [
['use_system_v8==0', {
}],
],
}],
+ ['v8_use_liveobjectlist=="true"', {
+ 'defines': [
+ 'ENABLE_DEBUGGER_SUPPORT',
+ 'INSPECTOR',
+ 'OBJECT_PRINT',
+ 'LIVEOBJECTLIST',
+ ],
+ }],
],
'configurations': {
'Debug': {
'../../src/ic-inl.h',
'../../src/ic.cc',
'../../src/ic.h',
+ '../../src/inspector.cc',
+ '../../src/inspector.h',
'../../src/interpreter-irregexp.cc',
'../../src/interpreter-irregexp.h',
'../../src/jump-target-inl.h',
'../../src/lithium-allocator.h',
'../../src/liveedit.cc',
'../../src/liveedit.h',
+ '../../src/liveobjectlist-inl.h',
+ '../../src/liveobjectlist.cc',
+ '../../src/liveobjectlist.h',
'../../src/log-inl.h',
'../../src/log-utils.cc',
'../../src/log-utils.h',