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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 'inspector:on': { |
| 129 'CPPDEFINES': ['INSPECTOR'], |
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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 'profilingsupport': { | 740 'profilingsupport': { |
738 'values': ['on', 'off'], | 741 'values': ['on', 'off'], |
739 'default': 'on', | 742 'default': 'on', |
740 'help': 'enable profiling of JavaScript code' | 743 'help': 'enable profiling of JavaScript code' |
741 }, | 744 }, |
742 'debuggersupport': { | 745 'debuggersupport': { |
743 'values': ['on', 'off'], | 746 'values': ['on', 'off'], |
744 'default': 'on', | 747 'default': 'on', |
745 'help': 'enable debugging of JavaScript code' | 748 'help': 'enable debugging of JavaScript code' |
746 }, | 749 }, |
| 750 'inspector': { |
| 751 'values': ['on', 'off'], |
| 752 'default': 'off', |
| 753 'help': 'enable inspector features' |
| 754 }, |
747 'soname': { | 755 'soname': { |
748 'values': ['on', 'off'], | 756 'values': ['on', 'off'], |
749 'default': 'off', | 757 'default': 'off', |
750 'help': 'turn on setting soname for Linux shared library' | 758 'help': 'turn on setting soname for Linux shared library' |
751 }, | 759 }, |
752 'msvcrt': { | 760 'msvcrt': { |
753 'values': ['static', 'shared'], | 761 'values': ['static', 'shared'], |
754 'default': 'static', | 762 'default': 'static', |
755 'help': 'the type of Microsoft Visual C++ runtime library to use' | 763 'help': 'the type of Microsoft Visual C++ runtime library to use' |
756 }, | 764 }, |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 # version of scons. Also, there's a bug in some revisions that | 1176 # version of scons. Also, there's a bug in some revisions that |
1169 # doesn't allow this flag to be set, so we swallow any exceptions. | 1177 # doesn't allow this flag to be set, so we swallow any exceptions. |
1170 # Lovely. | 1178 # Lovely. |
1171 try: | 1179 try: |
1172 SetOption('warn', 'no-deprecated') | 1180 SetOption('warn', 'no-deprecated') |
1173 except: | 1181 except: |
1174 pass | 1182 pass |
1175 | 1183 |
1176 | 1184 |
1177 Build() | 1185 Build() |
OLD | NEW |