OLD | NEW |
---|---|
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
51 'v8_can_use_vfp_instructions%': 'false', | 51 'v8_can_use_vfp_instructions%': 'false', |
52 | 52 |
53 # Setting v8_use_arm_eabi_hardfloat to true will turn on V8 support for ARM | 53 # Setting v8_use_arm_eabi_hardfloat to true will turn on V8 support for ARM |
54 # EABI calling convention where double arguments are passed in VFP | 54 # EABI calling convention where double arguments are passed in VFP |
55 # registers. Note that the GCC flag '-mfloat-abi=hard' should be used as | 55 # registers. Note that the GCC flag '-mfloat-abi=hard' should be used as |
56 # well when compiling for the ARM target. | 56 # well when compiling for the ARM target. |
57 'v8_use_arm_eabi_hardfloat%': 'false', | 57 'v8_use_arm_eabi_hardfloat%': 'false', |
58 | 58 |
59 'v8_enable_debugger_support%': 1, | 59 'v8_enable_debugger_support%': 1, |
60 | 60 |
61 'v8_enable_disassembler%': 0, | |
62 | |
63 'v8_enable_gdbjit%': 0, | |
Yang
2011/08/26 07:26:42
Maybe add some comments like those options above.
Jakob Kummerow
2011/08/26 09:45:33
This option's description in the SConstruct file i
| |
64 | |
65 # Enable profiling support. Only required on Windows. | |
66 'v8_enable_prof%': 0, | |
67 | |
61 # Chrome needs this definition unconditionally. For standalone V8 builds, | 68 # Chrome needs this definition unconditionally. For standalone V8 builds, |
62 # it's handled in build/standalone.gypi. | 69 # it's handled in build/standalone.gypi. |
63 'want_separate_host_toolset%': 1, | 70 'want_separate_host_toolset%': 1, |
64 | 71 |
65 'v8_use_snapshot%': 'true', | 72 'v8_use_snapshot%': 'true', |
66 'host_os%': '<(OS)', | 73 'host_os%': '<(OS)', |
67 'v8_use_liveobjectlist%': 'false', | 74 'v8_use_liveobjectlist%': 'false', |
68 }, | 75 }, |
69 'target_defaults': { | 76 'target_defaults': { |
70 'conditions': [ | 77 'conditions': [ |
71 ['v8_enable_debugger_support==1', { | 78 ['v8_enable_debugger_support==1', { |
72 'defines': ['ENABLE_DEBUGGER_SUPPORT',], | 79 'defines': ['ENABLE_DEBUGGER_SUPPORT',], |
73 }, | 80 }], |
74 ], | 81 ['v8_enable_disassembler==1', { |
82 'defines': ['ENABLE_DISASSEMBLER',], | |
83 }], | |
84 ['v8_enable_gdbjit==1', { | |
85 'defines': ['ENABLE_GDB_JIT_INTERFACE',], | |
86 }], | |
75 ['OS!="mac"', { | 87 ['OS!="mac"', { |
76 # TODO(mark): The OS!="mac" conditional is temporary. It can be | 88 # TODO(mark): The OS!="mac" conditional is temporary. It can be |
77 # removed once the Mac Chromium build stops setting target_arch to | 89 # removed once the Mac Chromium build stops setting target_arch to |
78 # ia32 and instead sets it to mac. Other checks in this file for | 90 # ia32 and instead sets it to mac. Other checks in this file for |
79 # OS=="mac" can be removed at that time as well. This can be cleaned | 91 # OS=="mac" can be removed at that time as well. This can be cleaned |
80 # up once http://crbug.com/44205 is fixed. | 92 # up once http://crbug.com/44205 is fixed. |
81 'conditions': [ | 93 'conditions': [ |
82 ['v8_target_arch=="arm"', { | 94 ['v8_target_arch=="arm"', { |
83 'defines': [ | 95 'defines': [ |
84 'V8_TARGET_ARCH_ARM', | 96 'V8_TARGET_ARCH_ARM', |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
147 'INSPECTOR', | 159 'INSPECTOR', |
148 'OBJECT_PRINT', | 160 'OBJECT_PRINT', |
149 'LIVEOBJECTLIST', | 161 'LIVEOBJECTLIST', |
150 ], | 162 ], |
151 }], | 163 }], |
152 ['v8_compress_startup_data=="bz2"', { | 164 ['v8_compress_startup_data=="bz2"', { |
153 'defines': [ | 165 'defines': [ |
154 'COMPRESS_STARTUP_DATA_BZ2', | 166 'COMPRESS_STARTUP_DATA_BZ2', |
155 ], | 167 ], |
156 }], | 168 }], |
169 ['OS=="win" and v8_enable_prof==1', { | |
170 'msvs_settings': { | |
171 'VCLinkerTool': { | |
172 'GenerateMapFile': 'true', | |
173 }, | |
174 }, | |
175 }], | |
157 ], | 176 ], |
158 'configurations': { | 177 'configurations': { |
159 'Debug': { | 178 'Debug': { |
160 'defines': [ | 179 'defines': [ |
161 'DEBUG', | 180 'DEBUG', |
162 'ENABLE_DISASSEMBLER', | 181 'ENABLE_DISASSEMBLER', |
163 'V8_ENABLE_CHECKS', | 182 'V8_ENABLE_CHECKS', |
164 'OBJECT_PRINT', | 183 'OBJECT_PRINT', |
165 ], | 184 ], |
166 'msvs_settings': { | 185 'msvs_settings': { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
262 # some test cases can cause stack overflow. | 281 # some test cases can cause stack overflow. |
263 # 'StackReserveSize': '297152', | 282 # 'StackReserveSize': '297152', |
264 }, | 283 }, |
265 }, | 284 }, |
266 }], | 285 }], |
267 ], | 286 ], |
268 }, | 287 }, |
269 }, | 288 }, |
270 }, | 289 }, |
271 } | 290 } |
OLD | NEW |