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

Side by Side Diff: SConstruct

Issue 6070009: Added labelled thread names to help with some debugging activity. Right now,... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 12 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/cpu-profiler.cc » ('j') | src/platform.h » ('J')
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 'CPPDEFINES': ['OBJECT_PRINT'], 117 'CPPDEFINES': ['OBJECT_PRINT'],
118 }, 118 },
119 'protectheap:on': { 119 'protectheap:on': {
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 },
128 'debugthreadnames:on': {
129 'CPPDEFINES': ['DEBUG_THREAD_NAMES'],
Søren Thygesen Gjesse 2011/01/03 07:48:34 Why do you want to enable/disable this using condi
marklam 2011/01/04 01:47:09 I didn't know how strict we want to be about not i
127 } 130 }
128 }, 131 },
129 'gcc': { 132 'gcc': {
130 'all': { 133 'all': {
131 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], 134 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
132 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], 135 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'],
133 }, 136 },
134 'visibility:hidden': { 137 'visibility:hidden': {
135 # Use visibility=default to disable this. 138 # Use visibility=default to disable this.
136 'CXXFLAGS': ['-fvisibility=hidden'] 139 'CXXFLAGS': ['-fvisibility=hidden']
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 'profilingsupport': { 730 'profilingsupport': {
728 'values': ['on', 'off'], 731 'values': ['on', 'off'],
729 'default': 'on', 732 'default': 'on',
730 'help': 'enable profiling of JavaScript code' 733 'help': 'enable profiling of JavaScript code'
731 }, 734 },
732 'debuggersupport': { 735 'debuggersupport': {
733 'values': ['on', 'off'], 736 'values': ['on', 'off'],
734 'default': 'on', 737 'default': 'on',
735 'help': 'enable debugging of JavaScript code' 738 'help': 'enable debugging of JavaScript code'
736 }, 739 },
740 'debugthreadnames': {
741 'values': ['on', 'off'],
742 'default': 'off',
743 'help': 'enable labelled thread names for debugging'
744 },
737 'soname': { 745 'soname': {
738 'values': ['on', 'off'], 746 'values': ['on', 'off'],
739 'default': 'off', 747 'default': 'off',
740 'help': 'turn on setting soname for Linux shared library' 748 'help': 'turn on setting soname for Linux shared library'
741 }, 749 },
742 'msvcrt': { 750 'msvcrt': {
743 'values': ['static', 'shared'], 751 'values': ['static', 'shared'],
744 'default': 'static', 752 'default': 'static',
745 'help': 'the type of Microsoft Visual C++ runtime library to use' 753 'help': 'the type of Microsoft Visual C++ runtime library to use'
746 }, 754 },
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 # version of scons. Also, there's a bug in some revisions that 1164 # version of scons. Also, there's a bug in some revisions that
1157 # doesn't allow this flag to be set, so we swallow any exceptions. 1165 # doesn't allow this flag to be set, so we swallow any exceptions.
1158 # Lovely. 1166 # Lovely.
1159 try: 1167 try:
1160 SetOption('warn', 'no-deprecated') 1168 SetOption('warn', 'no-deprecated')
1161 except: 1169 except:
1162 pass 1170 pass
1163 1171
1164 1172
1165 Build() 1173 Build()
OLDNEW
« no previous file with comments | « no previous file | src/cpu-profiler.cc » ('j') | src/platform.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698