|
29 | 29 |
|
30 | 30 | 'openssl_fips%': '',
|
31 | 31 |
|
| 32 | + # Some STL containers (e.g. std::vector) do not preserve ABI compatibility |
| 33 | + # between debug and non-debug mode. |
| 34 | + 'disable_glibcxx_debug': 1, |
| 35 | + |
| 36 | + # Don't use ICU data file (icudtl.dat) from V8, we use our own. |
| 37 | + 'icu_use_data_file_flag%': 0, |
| 38 | + |
32 | 39 | # Reset this number to 0 on major V8 upgrades.
|
33 | 40 | # Increment by one for each non-official patch applied to deps/v8.
|
34 |
| - 'v8_embedder_string': '-node.0', |
| 41 | + 'v8_embedder_string': '-node.1', |
| 42 | + |
| 43 | + ##### V8 defaults for Node.js ##### |
| 44 | + |
| 45 | + # Old time default, now explicitly stated. |
| 46 | + 'v8_use_snapshot': 'true', |
| 47 | + |
| 48 | + # Refs: https://github.com/nodejs/node/issues/23122 |
| 49 | + # Refs: https://github.com/nodejs/node/issues/23167 |
| 50 | + # Enable compiler warnings when using V8_DEPRECATED apis. |
| 51 | + 'v8_deprecation_warnings': 1, |
| 52 | + # Enable compiler warnings when using V8_DEPRECATE_SOON apis. |
| 53 | + 'v8_imminent_deprecation_warnings': 1, |
35 | 54 |
|
36 | 55 | # Enable disassembler for `--print-code` v8 options
|
37 | 56 | 'v8_enable_disassembler': 1,
|
38 | 57 |
|
39 | 58 | # Don't bake anything extra into the snapshot.
|
40 |
| - 'v8_use_external_startup_data%': 0, |
| 59 | + 'v8_use_external_startup_data': 0, |
| 60 | + |
| 61 | + # https://github.com/nodejs/node/pull/22920/files#r222779926 |
| 62 | + 'v8_enable_handle_zapping': 0, |
41 | 63 |
|
42 | 64 | # Disable V8 untrusted code mitigations.
|
43 | 65 | # See https://github.com/v8/v8/wiki/Untrusted-code-mitigations
|
44 | 66 | 'v8_untrusted_code_mitigations': 'false',
|
45 | 67 |
|
46 |
| - # Some STL containers (e.g. std::vector) do not preserve ABI compatibility |
47 |
| - # between debug and non-debug mode. |
48 |
| - 'disable_glibcxx_debug': 1, |
| 68 | + # Still WIP in V8 7.1 |
| 69 | + 'v8_enable_pointer_compression': 'false', |
49 | 70 |
|
50 |
| - # Don't use ICU data file (icudtl.dat) from V8, we use our own. |
51 |
| - 'icu_use_data_file_flag%': 0, |
| 71 | + # New in V8 7.1 |
| 72 | + 'v8_enable_embedded_builtins': 'true', |
| 73 | + |
| 74 | + # This is more of a V8 dev setting |
| 75 | + # https://github.com/nodejs/node/pull/22920/files#r222779926 |
| 76 | + 'v8_enable_fast_mksnapshot': 0, |
| 77 | + |
| 78 | + ##### end V8 defaults ##### |
52 | 79 |
|
53 | 80 | 'conditions': [
|
54 | 81 | ['target_arch=="arm64"', {
|
|
0 commit comments