OLD | NEW |
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 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1016 if options['arch'] == 'mips': | 1016 if options['arch'] == 'mips': |
1017 if ('regexp' in ARGUMENTS) and options['regexp'] == 'native': | 1017 if ('regexp' in ARGUMENTS) and options['regexp'] == 'native': |
1018 # Print a warning if native regexp is specified for mips | 1018 # Print a warning if native regexp is specified for mips |
1019 print "Warning: forcing regexp to interpreted for mips" | 1019 print "Warning: forcing regexp to interpreted for mips" |
1020 options['regexp'] = 'interpreted' | 1020 options['regexp'] = 'interpreted' |
1021 if options['liveobjectlist'] == 'on': | 1021 if options['liveobjectlist'] == 'on': |
1022 if (options['debuggersupport'] != 'on') or (options['mode'] == 'release'): | 1022 if (options['debuggersupport'] != 'on') or (options['mode'] == 'release'): |
1023 # Print a warning that liveobjectlist will implicitly enable the debugger | 1023 # Print a warning that liveobjectlist will implicitly enable the debugger |
1024 print "Warning: forcing debuggersupport on for liveobjectlist" | 1024 print "Warning: forcing debuggersupport on for liveobjectlist" |
1025 options['debuggersupport'] = 'on' | 1025 options['debuggersupport'] = 'on' |
| 1026 options['inspector'] = 'on' |
| 1027 options['objectprint'] = 'on' |
1026 | 1028 |
1027 | 1029 |
1028 def ParseEnvOverrides(arg, imports): | 1030 def ParseEnvOverrides(arg, imports): |
1029 # The environment overrides are in the format NAME0:value0,NAME1:value1,... | 1031 # The environment overrides are in the format NAME0:value0,NAME1:value1,... |
1030 # The environment imports are in the format NAME0,NAME1,... | 1032 # The environment imports are in the format NAME0,NAME1,... |
1031 overrides = {} | 1033 overrides = {} |
1032 for var in imports.split(','): | 1034 for var in imports.split(','): |
1033 if var in os.environ: | 1035 if var in os.environ: |
1034 overrides[var] = os.environ[var] | 1036 overrides[var] = os.environ[var] |
1035 for override in arg.split(','): | 1037 for override in arg.split(','): |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1190 # version of scons. Also, there's a bug in some revisions that | 1192 # version of scons. Also, there's a bug in some revisions that |
1191 # doesn't allow this flag to be set, so we swallow any exceptions. | 1193 # doesn't allow this flag to be set, so we swallow any exceptions. |
1192 # Lovely. | 1194 # Lovely. |
1193 try: | 1195 try: |
1194 SetOption('warn', 'no-deprecated') | 1196 SetOption('warn', 'no-deprecated') |
1195 except: | 1197 except: |
1196 pass | 1198 pass |
1197 | 1199 |
1198 | 1200 |
1199 Build() | 1201 Build() |
OLD | NEW |