|
63 | 63 | 'is_component_build': 0, |
64 | 64 | }], |
65 | 65 | ['OS == "win" or OS == "mac"', { |
66 | | - # Sets -DSYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing |
| 66 | + # Sets -DENABLE_SYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing |
67 | 67 | 'v8_enable_system_instrumentation': 1, |
68 | 68 | }, { |
69 | 69 | 'v8_enable_system_instrumentation': 0, |
70 | 70 | }], |
| 71 | + ['OS == "win"', { |
| 72 | + 'v8_enable_etw_stack_walking': 1, |
| 73 | + }, { |
| 74 | + 'v8_enable_etw_stack_walking': 0, |
| 75 | + }] |
71 | 76 | ], |
72 | 77 | 'is_debug%': 0, |
73 | 78 |
|
|
219 | 224 | 'v8_enable_zone_compression%': 0, |
220 | 225 |
|
221 | 226 | # Enable the experimental V8 sandbox. |
222 | | - # Sets -DV8_SANDBOX. |
| 227 | + # Sets -DV8_ENABLE_SANDBOX. |
223 | 228 | 'v8_enable_sandbox%': 0, |
224 | 229 |
|
225 | | - # Enable external pointer sandboxing. Requires v8_enable_sandbox. |
226 | | - # Sets -DV8_SANDBOXED_EXTERNAL_POINRTERS. |
227 | | - 'v8_enable_sandboxed_external_pointers%': 0, |
228 | | - |
229 | | - # Enable sandboxed pointers. Requires v8_enable_sandbox. |
230 | | - # Sets -DV8_SANDBOXED_POINTERS. |
231 | | - 'v8_enable_sandboxed_pointers%': 0, |
232 | | - |
233 | 230 | # Experimental feature for collecting per-class zone memory stats. |
234 | 231 | # Requires use_rtti = true |
235 | 232 | 'v8_enable_precise_zone_stats%': 0, |
|
263 | 260 | # (incomplete and experimental). |
264 | 261 | 'v8_enable_cet_shadow_stack%': 0, |
265 | 262 |
|
| 263 | + # Compile V8 using zlib as dependency. |
| 264 | + # Sets -DV8_USE_ZLIB |
| 265 | + 'v8_use_zlib%': 1, |
| 266 | + |
266 | 267 | # Variables from v8.gni |
267 | 268 |
|
268 | 269 | # Enable ECMAScript Internationalization API. Enabling this feature will |
|
323 | 324 | 'defines': ['V8_COMPRESS_ZONES',], |
324 | 325 | }], |
325 | 326 | ['v8_enable_sandbox==1', { |
326 | | - 'defines': ['V8_SANDBOX',], |
327 | | - }], |
328 | | - ['v8_enable_sandboxed_pointers==1', { |
329 | | - 'defines': ['V8_SANDBOXED_POINTERS',], |
330 | | - }], |
331 | | - ['v8_enable_sandboxed_external_pointers==1', { |
332 | | - 'defines': ['V8_SANDBOXED_EXTERNAL_POINTERS',], |
| 327 | + 'defines': ['V8_ENABLE_SANDBOX',], |
333 | 328 | }], |
334 | 329 | ['v8_enable_object_print==1', { |
335 | 330 | 'defines': ['OBJECT_PRINT',], |
|
427 | 422 | ['v8_enable_cet_shadow_stack==1', { |
428 | 423 | 'defines': ['V8_ENABLE_CET_SHADOW_STACK',], |
429 | 424 | }], |
| 425 | + ['v8_use_zlib==1', { |
| 426 | + 'defines': ['V8_USE_ZLIB',], |
| 427 | + }], |
430 | 428 | ['v8_enable_precise_zone_stats==1', { |
431 | 429 | 'defines': ['V8_ENABLE_PRECISE_ZONE_STATS',], |
432 | 430 | }], |
|
439 | 437 | ['v8_enable_system_instrumentation==1', { |
440 | 438 | 'defines': ['V8_ENABLE_SYSTEM_INSTRUMENTATION',], |
441 | 439 | }], |
| 440 | + ['v8_enable_etw_stack_walking==1', { |
| 441 | + 'defines': ['V8_ENABLE_ETW_STACK_WALKING',], |
| 442 | + }], |
442 | 443 | ['v8_enable_webassembly==1', { |
443 | 444 | 'defines': ['V8_ENABLE_WEBASSEMBLY',], |
444 | 445 | }], |
|
0 commit comments