diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index 97676305cffbc5..68da6ef3378904 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -62,6 +62,12 @@ }, { 'is_component_build': 0, }], + ['OS == "win" or OS == "mac"', { + # Sets -DSYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing + 'v8_enable_system_instrumentation': 1, + }, { + 'v8_enable_system_instrumentation': 0, + }], ], 'is_debug%': 0, @@ -160,10 +166,6 @@ # Controls the threshold for on-heap/off-heap Typed Arrays. 'v8_typed_array_max_size_in_heap%': 64, - # Temporary flag to allow embedders to update their microtasks scopes - # while rolling in a new version of V8. - 'v8_check_microtasks_scopes_consistency%': 0, - # Enable mitigations for executing untrusted code. 'v8_untrusted_code_mitigations%': 1, @@ -327,9 +329,6 @@ ['v8_enable_lazy_source_positions==1', { 'defines': ['V8_ENABLE_LAZY_SOURCE_POSITIONS',], }], - ['v8_check_microtasks_scopes_consistency==1', { - 'defines': ['V8_CHECK_MICROTASKS_SCOPES_CONSISTENCY',], - }], ['v8_use_siphash==1', { 'defines': ['V8_USE_SIPHASH',], }], @@ -360,6 +359,9 @@ ['v8_enable_precise_zone_stats==1', { 'defines': ['V8_ENABLE_PRECISE_ZONE_STATS',], }], + ['v8_enable_system_instrumentation==1', { + 'defines': ['V8_ENABLE_SYSTEM_INSTRUMENTATION',], + }], ['v8_enable_webassembly==1', { 'defines': ['V8_ENABLE_WEBASSEMBLY',], }], diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 3853a007b37bb1..18945be9313b6f 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -671,6 +671,11 @@ '