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

Side by Side Diff: SConstruct

Issue 6995161: Extend gdb-jit support (OSX/locals+parameters/prettyprint) (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Rebase. Created 9 years, 5 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
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | src/gdb-jit.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2011 the V8 project authors. All rights reserved. 1 # Copyright 2011 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 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 1148
1149 def VerifyOptions(env): 1149 def VerifyOptions(env):
1150 if not IsLegal(env, 'mode', ['debug', 'release']): 1150 if not IsLegal(env, 'mode', ['debug', 'release']):
1151 return False 1151 return False
1152 if not IsLegal(env, 'sample', ["shell", "process", "lineprocessor"]): 1152 if not IsLegal(env, 'sample', ["shell", "process", "lineprocessor"]):
1153 return False 1153 return False
1154 if not IsLegal(env, 'regexp', ["native", "interpreted"]): 1154 if not IsLegal(env, 'regexp', ["native", "interpreted"]):
1155 return False 1155 return False
1156 if env['os'] == 'win32' and env['library'] == 'shared' and env['prof'] == 'on' : 1156 if env['os'] == 'win32' and env['library'] == 'shared' and env['prof'] == 'on' :
1157 Abort("Profiling on windows only supported for static library.") 1157 Abort("Profiling on windows only supported for static library.")
1158 if env['gdbjit'] == 'on' and (env['os'] != 'linux' or (env['arch'] != 'ia32' a nd env['arch'] != 'x64' and env['arch'] != 'arm')): 1158 if env['gdbjit'] == 'on' and ((env['os'] != 'linux' and env['os'] != 'macos') or (env['arch'] != 'ia32' and env['arch'] != 'x64' and env['arch'] != 'arm')):
1159 Abort("GDBJIT interface is supported only for Intel-compatible (ia32 or x64) Linux target.") 1159 Abort("GDBJIT interface is supported only for Intel-compatible (ia32 or x64) Linux/OSX target.")
1160 if env['os'] == 'win32' and env['soname'] == 'on': 1160 if env['os'] == 'win32' and env['soname'] == 'on':
1161 Abort("Shared Object soname not applicable for Windows.") 1161 Abort("Shared Object soname not applicable for Windows.")
1162 if env['soname'] == 'on' and env['library'] == 'static': 1162 if env['soname'] == 'on' and env['library'] == 'static':
1163 Abort("Shared Object soname not applicable for static library.") 1163 Abort("Shared Object soname not applicable for static library.")
1164 if env['os'] != 'win32' and env['pgo'] != 'off': 1164 if env['os'] != 'win32' and env['pgo'] != 'off':
1165 Abort("Profile guided optimization only supported on Windows.") 1165 Abort("Profile guided optimization only supported on Windows.")
1166 if env['cache'] and not os.path.isdir(env['cache']): 1166 if env['cache'] and not os.path.isdir(env['cache']):
1167 Abort("The specified cache directory does not exist.") 1167 Abort("The specified cache directory does not exist.")
1168 if not (env['arch'] == 'arm' or env['simulator'] == 'arm') and ('unalignedacce sses' in ARGUMENTS): 1168 if not (env['arch'] == 'arm' or env['simulator'] == 'arm') and ('unalignedacce sses' in ARGUMENTS):
1169 print env['arch'] 1169 print env['arch']
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
1480 # version of scons. Also, there's a bug in some revisions that 1480 # version of scons. Also, there's a bug in some revisions that
1481 # doesn't allow this flag to be set, so we swallow any exceptions. 1481 # doesn't allow this flag to be set, so we swallow any exceptions.
1482 # Lovely. 1482 # Lovely.
1483 try: 1483 try:
1484 SetOption('warn', 'no-deprecated') 1484 SetOption('warn', 'no-deprecated')
1485 except: 1485 except:
1486 pass 1486 pass
1487 1487
1488 1488
1489 Build() 1489 Build()
OLDNEW
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | src/gdb-jit.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698