27 lines
1021 B
Diff
27 lines
1021 B
Diff
diff --git a/deps/v8/BUILD.gn b/deps/v8/BUILD.gn
|
|
index 7e1e4b83..88a033a3 100644
|
|
--- a/deps/v8/BUILD.gn
|
|
+++ b/deps/v8/BUILD.gn
|
|
@@ -39,7 +39,7 @@ declare_args() {
|
|
v8_enable_future = false
|
|
|
|
# Sets -DENABLE_SYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing
|
|
- v8_enable_system_instrumentation = (is_win || is_mac) && !v8_use_perfetto
|
|
+ v8_enable_system_instrumentation = (is_msvc || is_mac) && !v8_use_perfetto
|
|
|
|
# Sets -DV8_ENABLE_ETW_STACK_WALKING. Enables ETW Stack Walking
|
|
v8_enable_etw_stack_walking = is_win
|
|
diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi
|
|
index be1dfe40..1b2a9546 100644
|
|
--- a/tools/v8_gypfiles/features.gypi
|
|
+++ b/tools/v8_gypfiles/features.gypi
|
|
@@ -62,7 +62,7 @@
|
|
}, {
|
|
'is_component_build': 0,
|
|
}],
|
|
- ['OS == "win" or OS == "mac"', {
|
|
+ ['OS == "msvc" or OS == "mac"', {
|
|
# Sets -DENABLE_SYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing
|
|
'v8_enable_system_instrumentation': 1,
|
|
}, {
|