summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-v8_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-v8_BUILD.gn')
-rw-r--r--www/chromium/files/patch-v8_BUILD.gn20
1 files changed, 16 insertions, 4 deletions
diff --git a/www/chromium/files/patch-v8_BUILD.gn b/www/chromium/files/patch-v8_BUILD.gn
index f7b90a7e9d0a..a103fcc78beb 100644
--- a/www/chromium/files/patch-v8_BUILD.gn
+++ b/www/chromium/files/patch-v8_BUILD.gn
@@ -1,6 +1,6 @@
---- v8/BUILD.gn.orig 2023-07-16 15:47:57 UTC
+--- v8/BUILD.gn.orig 2023-08-17 07:33:31 UTC
+++ v8/BUILD.gn
-@@ -1356,6 +1356,14 @@ config("toolchain") {
+@@ -1369,6 +1369,14 @@ config("toolchain") {
} else if (target_os == "chromeos") {
defines += [ "V8_HAVE_TARGET_OS" ]
defines += [ "V8_TARGET_OS_CHROMEOS" ]
@@ -15,7 +15,19 @@
}
# TODO(infra): Support v8_enable_prof on Windows.
-@@ -5876,7 +5884,7 @@ v8_component("v8_libbase") {
+@@ -2295,6 +2303,11 @@ template("run_mksnapshot") {
+ # list of builtins with incompatible profiles.
+ "--abort-on-bad-builtin-profile-data",
+ ]
++ if (v8_current_cpu == "x86") {
++ args -= [
++ "--abort-on-bad-builtin-profile-data",
++ ]
++ }
+ }
+
+ # This is needed to distinguish between generating code for the simulator
+@@ -5920,7 +5933,7 @@ v8_component("v8_libbase") {
}
}
@@ -24,7 +36,7 @@
sources += [
"src/base/debug/stack_trace_posix.cc",
"src/base/platform/platform-linux.cc",
-@@ -5887,6 +5895,18 @@ v8_component("v8_libbase") {
+@@ -5931,6 +5944,18 @@ v8_component("v8_libbase") {
"dl",
"rt",
]