Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: SConstruct

Issue 6364002: Adding build script changes to support LiveObjectList functionality. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/SConscript » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2010 the V8 project authors. All rights reserved. 1 # Copyright 2010 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_HEAP_PROTECTION'], 120 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_HEAP_PROTECTION'],
121 }, 121 },
122 'profilingsupport:on': { 122 'profilingsupport:on': {
123 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_LOGGING_AND_PROFILING' ], 123 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_LOGGING_AND_PROFILING' ],
124 }, 124 },
125 'debuggersupport:on': { 125 'debuggersupport:on': {
126 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], 126 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'],
127 }, 127 },
128 'inspector:on': { 128 'inspector:on': {
129 'CPPDEFINES': ['INSPECTOR'], 129 'CPPDEFINES': ['INSPECTOR'],
130 },
131 'liveobjectlist:on': {
132 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT', 'INSPECTOR',
133 'LIVE_OBJECT_LIST', 'OBJECT_PRINT'],
130 } 134 }
131 }, 135 },
132 'gcc': { 136 'gcc': {
133 'all': { 137 'all': {
134 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], 138 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
135 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], 139 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'],
136 }, 140 },
137 'visibility:hidden': { 141 'visibility:hidden': {
138 # Use visibility=default to disable this. 142 # Use visibility=default to disable this.
139 'CXXFLAGS': ['-fvisibility=hidden'] 143 'CXXFLAGS': ['-fvisibility=hidden']
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 'debuggersupport': { 749 'debuggersupport': {
746 'values': ['on', 'off'], 750 'values': ['on', 'off'],
747 'default': 'on', 751 'default': 'on',
748 'help': 'enable debugging of JavaScript code' 752 'help': 'enable debugging of JavaScript code'
749 }, 753 },
750 'inspector': { 754 'inspector': {
751 'values': ['on', 'off'], 755 'values': ['on', 'off'],
752 'default': 'off', 756 'default': 'off',
753 'help': 'enable inspector features' 757 'help': 'enable inspector features'
754 }, 758 },
759 'liveobjectlist': {
760 'values': ['on', 'off'],
761 'default': 'off',
762 'help': 'enable live object list features in the debugger'
763 },
755 'soname': { 764 'soname': {
756 'values': ['on', 'off'], 765 'values': ['on', 'off'],
757 'default': 'off', 766 'default': 'off',
758 'help': 'turn on setting soname for Linux shared library' 767 'help': 'turn on setting soname for Linux shared library'
759 }, 768 },
760 'msvcrt': { 769 'msvcrt': {
761 'values': ['static', 'shared'], 770 'values': ['static', 'shared'],
762 'default': 'static', 771 'default': 'static',
763 'help': 'the type of Microsoft Visual C++ runtime library to use' 772 'help': 'the type of Microsoft Visual C++ runtime library to use'
764 }, 773 },
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 options['profilingsupport'] = 'on' 1011 options['profilingsupport'] = 'on'
1003 if os == 'win32' and options['pgo'] != 'off' and options['msvcltcg'] == 'off': 1012 if os == 'win32' and options['pgo'] != 'off' and options['msvcltcg'] == 'off':
1004 if 'msvcltcg' in ARGUMENTS: 1013 if 'msvcltcg' in ARGUMENTS:
1005 print "Warning: forcing msvcltcg on as it is required for pgo (%s)" % opti ons['pgo'] 1014 print "Warning: forcing msvcltcg on as it is required for pgo (%s)" % opti ons['pgo']
1006 options['msvcltcg'] = 'on' 1015 options['msvcltcg'] = 'on'
1007 if options['arch'] == 'mips': 1016 if options['arch'] == 'mips':
1008 if ('regexp' in ARGUMENTS) and options['regexp'] == 'native': 1017 if ('regexp' in ARGUMENTS) and options['regexp'] == 'native':
1009 # Print a warning if native regexp is specified for mips 1018 # Print a warning if native regexp is specified for mips
1010 print "Warning: forcing regexp to interpreted for mips" 1019 print "Warning: forcing regexp to interpreted for mips"
1011 options['regexp'] = 'interpreted' 1020 options['regexp'] = 'interpreted'
1021 if options['liveobjectlist'] == 'on':
1022 if (options['debuggersupport'] != 'on') or (options['mode'] == 'release'):
1023 # Print a warning that liveobjectlist will implicitly enable the debugger
1024 print "Warning: forcing debuggersupport on for liveobjectlist"
1025 options['debuggersupport'] = 'on'
1012 1026
1013 1027
1014 def ParseEnvOverrides(arg, imports): 1028 def ParseEnvOverrides(arg, imports):
1015 # The environment overrides are in the format NAME0:value0,NAME1:value1,... 1029 # The environment overrides are in the format NAME0:value0,NAME1:value1,...
1016 # The environment imports are in the format NAME0,NAME1,... 1030 # The environment imports are in the format NAME0,NAME1,...
1017 overrides = {} 1031 overrides = {}
1018 for var in imports.split(','): 1032 for var in imports.split(','):
1019 if var in os.environ: 1033 if var in os.environ:
1020 overrides[var] = os.environ[var] 1034 overrides[var] = os.environ[var]
1021 for override in arg.split(','): 1035 for override in arg.split(','):
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 # version of scons. Also, there's a bug in some revisions that 1190 # version of scons. Also, there's a bug in some revisions that
1177 # doesn't allow this flag to be set, so we swallow any exceptions. 1191 # doesn't allow this flag to be set, so we swallow any exceptions.
1178 # Lovely. 1192 # Lovely.
1179 try: 1193 try:
1180 SetOption('warn', 'no-deprecated') 1194 SetOption('warn', 'no-deprecated')
1181 except: 1195 except:
1182 pass 1196 pass
1183 1197
1184 1198
1185 Build() 1199 Build()
OLDNEW
« no previous file with comments | « no previous file | src/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698