diff --git a/gni/v8.gni b/gni/v8.gni index 78e8824705..63e324c549 100644 --- a/gni/v8.gni +++ b/gni/v8.gni @@ -39,7 +39,10 @@ declare_args() { # https://v8.dev/blog/custom-startup-snapshots # TODO(thakis): Make snapshots work in 64-bit win/cross builds, # https://803591 - v8_use_snapshot = !(is_win && host_os != "win" && target_cpu == "x64") + # On Mac hosts, 32-bit builds targeting Windows can't use snapshots, see + # https://crbug.com/794838 + v8_use_snapshot = !(is_win && host_os != "win" && target_cpu == "x64") && + !(is_win && host_os == "mac" && target_cpu == "x86") # Enable several snapshots side-by-side (e.g. default and for trusted code). v8_use_multi_snapshots = false