Skip to content

Commit dc31889

Browse files
chromium: update to 117.0.5938.132 (#757)
Release notes: https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_12.html https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_15.html https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_21.html https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_27.html Build and patch changes: ------------------------ Drop 0032-Backport-ozone-wayland-Fix-nullptr-deref-in-WaylandW.patch as it's included upstream now. Drop 0036-Avoid-std-ranges-find_if.patch in favour of the added 0036-Backport-Remove-std-ranges-usage.patch. Add 0039-Fix-implicitly-deleted-default-constructor-build-err.patch and 0040-Backport-IWYU-for-ui-events-gesture_detection-motion.patch to fix build errors with clang 14. Add some more build error fixes to 0021-Add-missing-typename-s.patch, 0028-Avoid-capturing-structured-bindings.patch, 0034-Avoid-parenthesized-initialization-of-aggregates.patch Rebase remaining patches. License changes: ---------------- Added licenses: * third_party/android_toolchain_canary/NOTICE - https://chromium-review.googlesource.com/c/chromium/src/+/4716779 * third_party/jni_zero/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4722028 * third_party/lss/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4719387 * third_party/mediapipe/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4654795 * third_party/sentencepiece/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4654197 * third_party/zstd/src/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4617470 Removed licenses: * third_party/afl/src/docs/COPYING - https://chromium-review.googlesource.com/c/chromium/src/+/4660956 * third_party/android_system_sdk/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4660595 * third_party/breakpad/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4660211 * third_party/closure_compiler/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4663477 * third_party/crubit/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4663961 * third_party/flex/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4660658 * third_party/grpc-java/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4664003 * third_party/jinja2/LICENSE.rst - https://chromium-review.googlesource.com/c/chromium/src/+/4664004 * third_party/lcov/COPYING - https://chromium-review.googlesource.com/c/chromium/src/+/4663705 * third_party/libFuzzer/LICENSE.TXT - https://chromium-review.googlesource.com/c/chromium/src/+/4659994 * third_party/logilab/logilab/common/LICENSE.txt - https://chromium-review.googlesource.com/c/chromium/src/+/4663705 * third_party/ply/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4664182 * third_party/pyjson5/src/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4664164 * third_party/pylint/pylint/LICENSE.txt - https://chromium-review.googlesource.com/c/chromium/src/+/4663705 * third_party/pywebsocket3/src/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4664068 * third_party/swift-toolchain/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4664070 * third_party/test_fonts/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4663738 * third_party/vulkan-deps/glslang/LICENSE, third_party/vulkan-deps/spirv-cross/src/LICENSE, third_party/vulkan-deps/vulkan-tools/src/LICENSE.txt, third_party/vulkan-deps/vulkan-validation-layers/src/LICENSE.txt - https://chromium-review.googlesource.com/c/vulkan-deps/+/4663836 * third_party/weston/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4663994 Updated licenses: * buildtools/third_party/libc++/trunk/LICENSE.TXT => third_party/libc++/src/LICENSE.TXT, buildtools/third_party/libc++abi/trunk/LICENSE.TXT => third_party/libc++abi/src/LICENSE.TXT, buildtools/third_party/libunwind/trunk/LICENSE.TXT => third_party/libunwind/src/LICENSE.TXT - https://chromium-review.googlesource.com/c/chromium/src/+/4666325 * third_party/devtools-frontend/src/front_end/third_party/acorn/package/LICENSE - https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4665529 * third_party/grpc/LICENSE => third_party/grpc/src/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4664062 * third_party/wuffs/LICENSE => third_party/wuffs/src/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4664319 Test-built (big thanks to @nrpt-m): ----------------------------------- * chromium-ozone-wayland: - master, clang, MACHINE=qemux86-64 - mickledore, clang, MACHINE=qemuarm64, qemux86-64 - kirkstone, clang, MACHINE=qemux86-64, raspberrypi4-64 - dunfell, clang**, MACHINE=qemux86-64 * chromium-x11 - master, clang, MACHINE=qemux86-64, qemuarm, qemuarm64, raspberrypi4-64 - mickledore, clang, MACHINE=qemux86-64, qemuarm, qemuarm64, raspberrypi4-64 - kirkstone, clang, MACHINE=qemux86-64, qemuarm, qemuarm64, raspberrypi4-64 - dunfell, clang**, MACHINE=qemux86-64, qemuarm, qemuarm64, raspberrypi4-64*** ** Please note that Chromium requires below set-up when on dunfell branch. - The clang version to be >= 14 and for that, use the latest meta-clang/dunfell-clang14 branch. - Require the latest meta-oe with Nodejs 14.x support. - Add the PREFERRED_VERSION_nodejs-native = "14.%" in conf/local.conf file. *** Please note that there currently is a problem on RPi4/dunfell where Chromium crashes because of an illegal instruction error. Signed-off-by: Max Ihlenfeldt <max@igalia.com>
1 parent 5586714 commit dc31889

File tree

32 files changed

+824
-262
lines changed

32 files changed

+824
-262
lines changed

meta-chromium/recipes-browser/chromium/chromium-gn.inc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ SRC_URI += " \
2727
file://0021-Add-missing-typename-s.patch \
2828
file://0027-Don-t-pass-disable-auto-upgrade-debug-info-to-linker.patch \
2929
file://0028-Avoid-capturing-structured-bindings.patch \
30-
file://0032-Backport-ozone-wayland-Fix-nullptr-deref-in-WaylandW.patch \
3130
file://0033-Revert-Reland-Reland-mte-refactor-the-tagging-functi.patch \
3231
file://0034-Avoid-parenthesized-initialization-of-aggregates.patch \
3332
file://0035-Backport-IWYU-for-chromedriver-chrome-client_hints.h.patch \
34-
file://0036-Avoid-std-ranges-find_if.patch \
33+
file://0036-Backport-Remove-std-ranges-usage.patch \
3534
file://0037-Fix-constexpr-variable-cannot-have-non-literal-type-.patch \
3635
file://0038-Fix-undefined-symbol-PaintOpWriter-SerializedSize-un.patch \
36+
file://0039-Fix-implicitly-deleted-default-constructor-build-err.patch \
37+
file://0040-Backport-IWYU-for-ui-events-gesture_detection-motion.patch \
3738
"
3839
SRC_URI:append:aarch64 = "${@bb.utils.contains('TUNE_FEATURES', 'crypto', '', ' file://boringssl_no_asm_config.patch', d)}"
3940

@@ -61,6 +62,12 @@ SRC_URI:append:arm = "\
6162
file://0031-Fix-ARM-build-with-recent-glibc.patch \
6263
"
6364

65+
# This fixes a build error with older versions of clang when V8 pointer
66+
# compression is disabled, which is the case for 32-bit ARM.
67+
SRC_URI:append:arm = "\
68+
file://0041-Fix-static_assert-failed-build-error-on-32-bit-ARM.patch \
69+
"
70+
6471
ANY_OF_DISTRO_FEATURES = "opengl vulkan"
6572

6673
# Append instead of assigning; the gtk-icon-cache class inherited above also

meta-chromium/recipes-browser/chromium/chromium.inc

Lines changed: 13 additions & 29 deletions
Large diffs are not rendered by default.

meta-chromium/recipes-browser/chromium/files/0001-limit-number-of-LTO-jobs.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ Signed-off-by: Maksim Sisov <msisov@igalia.com>
1717
2 files changed, 11 insertions(+), 6 deletions(-)
1818

1919
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
20-
index ae742b0..edf4dda 100644
20+
index 46a1fce..6fc1c04 100644
2121
--- a/build/config/compiler/BUILD.gn
2222
+++ b/build/config/compiler/BUILD.gn
23-
@@ -713,7 +713,7 @@ config("compiler") {
23+
@@ -712,7 +712,7 @@ config("compiler") {
2424

2525
if (is_win) {
2626
ldflags += [
@@ -29,7 +29,7 @@ index ae742b0..edf4dda 100644
2929
"-mllvm:-import-instr-limit=$import_instr_limit",
3030
"/lldltocache:" +
3131
rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
32-
@@ -727,11 +727,11 @@ config("compiler") {
32+
@@ -726,11 +726,11 @@ config("compiler") {
3333
# usage in crbug.com/1038040. Note this will increase build time in
3434
# Chrome OS.
3535

meta-chromium/recipes-browser/chromium/files/0002-Remove-the-GN-settings-done-for-clang-that-conflict-.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Rebased-by: Randy MacLeod <randy.macleod@windriver.com>
2121
1 file changed, 38 deletions(-)
2222

2323
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
24-
index edf4dda..06554be 100644
24+
index 6fc1c04..3ebd975 100644
2525
--- a/build/config/compiler/BUILD.gn
2626
+++ b/build/config/compiler/BUILD.gn
27-
@@ -1109,11 +1109,6 @@ config("compiler_cpu_abi") {
27+
@@ -1108,11 +1108,6 @@ config("compiler_cpu_abi") {
2828
]
2929
}
3030
} else if (current_cpu == "arm") {
@@ -36,7 +36,7 @@ index edf4dda..06554be 100644
3636
if (!is_nacl) {
3737
cflags += [
3838
"-march=$arm_arch",
39-
@@ -1123,12 +1118,6 @@ config("compiler_cpu_abi") {
39+
@@ -1122,12 +1117,6 @@ config("compiler_cpu_abi") {
4040
if (arm_tune != "") {
4141
cflags += [ "-mtune=$arm_tune" ]
4242
}
@@ -49,7 +49,7 @@ index edf4dda..06554be 100644
4949
} else if (current_cpu == "mipsel" && !is_nacl) {
5050
ldflags += [ "-Wl,--hash-style=sysv" ]
5151
if (custom_toolchain == "") {
52-
@@ -1136,9 +1125,6 @@ config("compiler_cpu_abi") {
52+
@@ -1135,9 +1124,6 @@ config("compiler_cpu_abi") {
5353
if (is_android) {
5454
cflags += [ "--target=mipsel-linux-android" ]
5555
ldflags += [ "--target=mipsel-linux-android" ]
@@ -59,7 +59,7 @@ index edf4dda..06554be 100644
5959
}
6060
} else {
6161
cflags += [ "-EL" ]
62-
@@ -1218,8 +1204,6 @@ config("compiler_cpu_abi") {
62+
@@ -1217,8 +1203,6 @@ config("compiler_cpu_abi") {
6363
ldflags += [ "-Wl,--hash-style=sysv" ]
6464
if (custom_toolchain == "") {
6565
if (is_clang) {
@@ -68,7 +68,7 @@ index edf4dda..06554be 100644
6868
} else {
6969
cflags += [ "-EB" ]
7070
ldflags += [ "-EB" ]
71-
@@ -1267,9 +1251,6 @@ config("compiler_cpu_abi") {
71+
@@ -1266,9 +1250,6 @@ config("compiler_cpu_abi") {
7272
if (is_android) {
7373
cflags += [ "--target=mips64el-linux-android" ]
7474
ldflags += [ "--target=mips64el-linux-android" ]
@@ -78,7 +78,7 @@ index edf4dda..06554be 100644
7878
}
7979
} else {
8080
cflags += [
81-
@@ -1327,8 +1308,6 @@ config("compiler_cpu_abi") {
81+
@@ -1326,8 +1307,6 @@ config("compiler_cpu_abi") {
8282
ldflags += [ "-Wl,--hash-style=sysv" ]
8383
if (custom_toolchain == "") {
8484
if (is_clang) {
@@ -87,7 +87,7 @@ index edf4dda..06554be 100644
8787
} else {
8888
cflags += [
8989
"-EB",
90-
@@ -1491,23 +1470,6 @@ config("compiler_deterministic") {
90+
@@ -1490,23 +1469,6 @@ config("compiler_deterministic") {
9191
}
9292
}
9393
}

meta-chromium/recipes-browser/chromium/files/0003-v8-qemu-wrapper.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,34 +29,34 @@ index 52504f4..40425d6 100644
2929
"root_out_dir") +
3030
"/v8_context_snapshot_generator",
3131
diff --git a/v8/BUILD.gn b/v8/BUILD.gn
32-
index c13cf05..e4b15cf 100644
32+
index ca081a7..e21336e 100644
3333
--- a/v8/BUILD.gn
3434
+++ b/v8/BUILD.gn
35-
@@ -2083,6 +2083,7 @@ template("run_torque") {
35+
@@ -2124,6 +2124,7 @@ template("run_torque") {
3636
}
3737

3838
args = [
3939
+ "./v8-qemu-wrapper.sh",
4040
"./" + rebase_path(
4141
get_label_info(":torque($toolchain)", "root_out_dir") + "/torque",
4242
root_build_dir),
43-
@@ -2215,6 +2216,7 @@ action("generate_bytecode_builtins_list") {
43+
@@ -2269,6 +2270,7 @@ action("generate_bytecode_builtins_list") {
4444
outputs = [ "$target_gen_dir/builtins-generated/bytecodes-builtins-list.h" ]
4545
deps = [ ":bytecode_builtins_list_generator($v8_generator_toolchain)" ]
4646
args = [
4747
+ "./v8-qemu-wrapper.sh",
4848
"./" + rebase_path(
4949
get_label_info(
5050
":bytecode_builtins_list_generator($v8_generator_toolchain)",
51-
@@ -2254,6 +2256,7 @@ template("run_mksnapshot") {
51+
@@ -2308,6 +2310,7 @@ template("run_mksnapshot") {
5252
data = []
5353

5454
args = [
5555
+ "./v8-qemu-wrapper.sh",
5656
"./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
5757
"root_out_dir") + "/mksnapshot",
5858
root_build_dir),
59-
@@ -6695,6 +6698,7 @@ if (v8_enable_i18n_support) {
59+
@@ -6852,6 +6855,7 @@ if (v8_enable_i18n_support) {
6060
outputs = [ output_file ]
6161

6262
args = [

meta-chromium/recipes-browser/chromium/files/0005-BUILD-do-not-specify-march-on-arm.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1919
1 file changed, 10 deletions(-)
2020

2121
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
22-
index 06554be..7300b23 100644
22+
index 3ebd975..ebaa4fa 100644
2323
--- a/build/config/compiler/BUILD.gn
2424
+++ b/build/config/compiler/BUILD.gn
25-
@@ -1108,16 +1108,6 @@ config("compiler_cpu_abi") {
25+
@@ -1107,16 +1107,6 @@ config("compiler_cpu_abi") {
2626
"-msse3",
2727
]
2828
}

meta-chromium/recipes-browser/chromium/files/0007-Delete-compiler-options-not-available-in-release-ver.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
1313
1 file changed, 5 insertions(+)
1414

1515
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
16-
index 7300b23..5cfc021 100644
16+
index ebaa4fa..1e9f4e7 100644
1717
--- a/build/config/compiler/BUILD.gn
1818
+++ b/build/config/compiler/BUILD.gn
19-
@@ -1706,6 +1706,11 @@ config("default_warnings") {
19+
@@ -1711,6 +1711,11 @@ config("default_warnings") {
2020
cflags += [
2121
"-Wenum-compare-conditional",
2222

meta-chromium/recipes-browser/chromium/files/0008-avoid-link-latomic-failure-on-CentOS-8-host.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
1818
2 files changed, 4 insertions(+)
1919

2020
diff --git a/base/BUILD.gn b/base/BUILD.gn
21-
index 304223b..c4a2965 100644
21+
index 6e6f24e..764f133 100644
2222
--- a/base/BUILD.gn
2323
+++ b/base/BUILD.gn
24-
@@ -1150,7 +1150,9 @@ component("base") {
24+
@@ -1112,7 +1112,9 @@ component("base") {
2525
# Needed for <atomic> if using newer C++ library than sysroot, except if
2626
# building inside the cros_sdk environment - use host_toolchain as a
2727
# more robust check for this.

0 commit comments

Comments
 (0)