Skip to content

Commit c1615eb

Browse files
chromium: update to 116.0.5845.179 (#750)
Release notes: https://chromereleases.googleblog.com/2023/08/stable-channel-update-for-desktop_15.html https://chromereleases.googleblog.com/2023/08/chrome-desktop-stable-update.html https://chromereleases.googleblog.com/2023/08/stable-channel-update-for-desktop_29.html https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop.html Build and patch changes: ------------------------ Drop 0023-Backport-IWYU-for-translate-TranslateUILanguagesMana.patch and 0029-Backport-IWYU-for-translate-TranslateUiLanguagesMana.patch as they are included upstream now. Update 0020-Revert-__attribute__-and-alignas-changes.patch to omit the [[clang::noinline]] and [[clang::always_inline]] attributes. They aren't recognized by clang 14 and generate lots of warnings cluttering the logs. Add some more build error fixes to 0021-Add-missing-typename-s.patch. Remove one build error fix from 0034-Avoid-parenthesized-initialization-of-aggregates.patch that isn't needed any more due to upstream changes, and add a few new ones. Add 0036-Avoid-std-ranges-find_if.patch to fix build errors with clang < 16. Add 0037-Fix-constexpr-variable-cannot-have-non-literal-type-.patch to fix build errors with clang < 16. Add 0038-Fix-undefined-symbol-PaintOpWriter-SerializedSize-un.patch to fix a build/linker error with clang 14. Rebase remaining patches. License changes: ---------------- Added licenses: * base/allocator/partition_allocator/third_party/apple_apsl/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4568045 * third_party/android_toolchain/NOTICE - https://chromium-review.googlesource.com/c/chromium/src/+/4559153, https://chromium-review.googlesource.com/c/chromium/src/+/4609181 * third_party/anonymous_tokens/src/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4545718 * third_party/cpu_features/src/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4545271 * third_party/libavifinfo/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4593550 Removed licenses: none. Updated licenses: * third_party/icu/LICENSE - https://chromium-review.googlesource.com/c/chromium/deps/icu/+/4615291 * third_party/vulkan-deps/vulkan-validation-layers/src/LICENSE.txt - KhronosGroup/Vulkan-ValidationLayers@1f33cbd 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. Signed-off-by: Max Ihlenfeldt <max@igalia.com>
1 parent 9596c6b commit c1615eb

File tree

32 files changed

+473
-156
lines changed

32 files changed

+473
-156
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@ SRC_URI += " \
2525
file://0018-Only-default-operator-on-declaration.patch \
2626
file://0020-Revert-__attribute__-and-alignas-changes.patch \
2727
file://0021-Add-missing-typename-s.patch \
28-
file://0023-Backport-IWYU-for-translate-TranslateUILanguagesMana.patch \
2928
file://0027-Don-t-pass-disable-auto-upgrade-debug-info-to-linker.patch \
3029
file://0028-Avoid-capturing-structured-bindings.patch \
31-
file://0029-Backport-IWYU-for-translate-TranslateUiLanguagesMana.patch \
3230
file://0032-Backport-ozone-wayland-Fix-nullptr-deref-in-WaylandW.patch \
3331
file://0033-Revert-Reland-Reland-mte-refactor-the-tagging-functi.patch \
3432
file://0034-Avoid-parenthesized-initialization-of-aggregates.patch \
3533
file://0035-Backport-IWYU-for-chromedriver-chrome-client_hints.h.patch \
34+
file://0036-Avoid-std-ranges-find_if.patch \
35+
file://0037-Fix-constexpr-variable-cannot-have-non-literal-type-.patch \
36+
file://0038-Fix-undefined-symbol-PaintOpWriter-SerializedSize-un.patch \
3637
"
3738

3839
SRC_URI:append:libc-musl = "\

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ HOMEPAGE = "https://www.chromium.org/Home"
44
CVE_PRODUCT = "chromium:chromium google:chrome"
55

66
SRC_URI = "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${PV}.tar.xz"
7-
SRC_URI[sha256sum] = "ff9862d2e748c56940ffc222c2e6b2066a19ea1de0bc3fd99ed81c0b231172c0"
7+
SRC_URI[sha256sum] = "8bf9b56381bfeb960a2d8c0dd130253820701fb49c12e52fa4d697ac11896025"
88

99
S = "${WORKDIR}/chromium-${PV}"
1010

@@ -59,6 +59,7 @@ LICENSE = "BSD-3-Clause & LGPL-2.0-or-later & LGPL-2.1-or-later"
5959
LIC_FILES_CHKSUM = "\
6060
file://${S}/LICENSE;md5=c408a301e3407c3803499ce9290515d6 \
6161
file://${S}/LICENSE.chromium_os;md5=775979d3e1e3bf163e4882e231727de5 \
62+
file://${S}/base/allocator/partition_allocator/third_party/apple_apsl/LICENSE;md5=c8c14a9f985552dba8d3edbd76660088 \
6263
file://${S}/base/third_party/cityhash/COPYING;md5=f714c995c5bd9b175938acdd69226b60 \
6364
file://${S}/base/third_party/cityhash_v103/COPYING;md5=f714c995c5bd9b175938acdd69226b60 \
6465
file://${S}/base/third_party/double_conversion/LICENSE;md5=1ea35644f0ec0d9767897115667e901f \
@@ -204,9 +205,11 @@ LIC_FILES_CHKSUM = "\
204205
file://${S}/third_party/android_sdk/LICENSE;md5=a9559ed17808a8b10eec6672f993ce75 \
205206
file://${S}/third_party/android_swipe_refresh/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
206207
file://${S}/third_party/android_system_sdk/LICENSE;md5=cbb64e76df0f98fc138b1918c089417e \
208+
file://${S}/third_party/android_toolchain/NOTICE;md5=350d21a23b5ad67f48caa7a8e55d32c0 \
207209
file://${S}/third_party/angle/LICENSE;md5=7abdb66a6948f39c2f469140db5184e2 \
208210
file://${S}/third_party/angle/src/common/third_party/xxhash/LICENSE;md5=cb91c07001f1ca6fd50b6bd4f042946a \
209211
file://${S}/third_party/angle/src/libANGLE/renderer/vulkan/shaders/src/third_party/ffx_spd/LICENSE;md5=64356ee6f79c94525e102a3264a62653 \
212+
file://${S}/third_party/anonymous_tokens/src/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \
210213
file://${S}/third_party/apple_apsl/LICENSE;md5=c8c14a9f985552dba8d3edbd76660088 \
211214
file://${S}/third_party/arcore-android-sdk-client/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
212215
file://${S}/third_party/arcore-android-sdk/LICENSE;md5=c1bc4f7fbdd7a5a3f2c0dfefd457665e \
@@ -228,6 +231,7 @@ LIC_FILES_CHKSUM = "\
228231
file://${S}/third_party/cldr/LICENSE;md5=fe2500bb52e825476d4b93d6f1458232 \
229232
file://${S}/third_party/closure_compiler/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
230233
file://${S}/third_party/content_analysis_sdk/LICENSE;md5=ee5fc272be9139e1816c73ce09611ca5 \
234+
file://${S}/third_party/cpu_features/src/LICENSE;md5=31a8379f6fe09baf921e654832ac5700 \
231235
file://${S}/third_party/cpuinfo/src/LICENSE;md5=cabca80e8e4a4bbe90e9a4b4ad53f5f4 \
232236
file://${S}/third_party/crashpad/crashpad/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
233237
file://${S}/third_party/crc32c/src/LICENSE;md5=e9ed01b5e5ac9eae23fc2bb33701220c \
@@ -283,7 +287,7 @@ LIC_FILES_CHKSUM = "\
283287
file://${S}/third_party/hyphenation-patterns/LICENSE;md5=23d9bd4878e6f3669ed39b2095b01c13 \
284288
file://${S}/third_party/iaccessible2/LICENSE;md5=43bbd0bfb581347ec10def720000a645 \
285289
file://${S}/third_party/iccjpeg/LICENSE;md5=26834d132689a03abf860f4572705494 \
286-
file://${S}/third_party/icu/LICENSE;md5=a89d03060ff9c46552434dbd1fe3ed1f \
290+
file://${S}/third_party/icu/LICENSE;md5=80c2cf39ad8ae12b9b9482a1737c6650 \
287291
file://${S}/third_party/inspector_protocol/LICENSE;md5=db90dcb101891a7285d25f2fbceca752 \
288292
file://${S}/third_party/ipcz/LICENSE;md5=1649e1dc663940b442197bd7f99cd228 \
289293
file://${S}/third_party/isimpledom/LICENSE;md5=822502c0e010ccdbb6a3e681dd47888e \
@@ -297,6 +301,7 @@ LIC_FILES_CHKSUM = "\
297301
file://${S}/third_party/libaddressinput/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
298302
file://${S}/third_party/libaom/source/libaom/LICENSE;md5=6ea91368c1bbdf877159435572b931f5 \
299303
file://${S}/third_party/libavif/LICENSE;md5=15744a27d810133340dc64ad411ec4cd \
304+
file://${S}/third_party/libavifinfo/LICENSE;md5=53f555cbaaac3922d962dfbe473a8213 \
300305
file://${S}/third_party/libbrlapi/LICENSE;md5=fad9b3332be894bab9bc501572864b29 \
301306
file://${S}/third_party/libei/LICENSE;md5=a98fa76460f96f41696611d6f07e8d49 \
302307
file://${S}/third_party/libevent/LICENSE;md5=a2b0302a710150293fb85d2bfabd3de6 \
@@ -395,7 +400,7 @@ LIC_FILES_CHKSUM = "\
395400
file://${S}/third_party/vulkan-deps/vulkan-headers/LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
396401
file://${S}/third_party/vulkan-deps/vulkan-loader/src/LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac \
397402
file://${S}/third_party/vulkan-deps/vulkan-tools/src/LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
398-
file://${S}/third_party/vulkan-deps/vulkan-validation-layers/src/LICENSE.txt;md5=8df9e8826734226d08cb412babfa599c \
403+
file://${S}/third_party/vulkan-deps/vulkan-validation-layers/src/LICENSE.txt;md5=cd3c0bc366cd9b6a906e22f0bcb5910f \
399404
file://${S}/third_party/vulkan_memory_allocator/LICENSE.txt;md5=28469cb09e41bc708efbb6a69fb39a29 \
400405
file://${S}/third_party/wayland-protocols/src/COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
401406
file://${S}/third_party/wayland/src/COPYING;md5=b31d8f53b6aaf2b4985d7dd7810a70d1 \

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

Lines changed: 4 additions & 4 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 23a8da453c3d2..f7273a944ec68 100644
20+
index ae742b0..edf4dda 100644
2121
--- a/build/config/compiler/BUILD.gn
2222
+++ b/build/config/compiler/BUILD.gn
23-
@@ -710,7 +710,7 @@ config("compiler") {
23+
@@ -713,7 +713,7 @@ config("compiler") {
2424

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

@@ -47,7 +47,7 @@ index 23a8da453c3d2..f7273a944ec68 100644
4747
ldflags += [
4848
"-Wl,-cache_path_lto," +
4949
diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
50-
index 4738ee80d307c..7a43b1113a495 100644
50+
index 1871701..8f5b3d4 100644
5151
--- a/build/config/compiler/compiler.gni
5252
+++ b/build/config/compiler/compiler.gni
5353
@@ -99,6 +99,11 @@ declare_args() {

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 f7273a944ec68..3d5aa9a79b106 100644
24+
index edf4dda..06554be 100644
2525
--- a/build/config/compiler/BUILD.gn
2626
+++ b/build/config/compiler/BUILD.gn
27-
@@ -1095,11 +1095,6 @@ config("compiler_cpu_abi") {
27+
@@ -1109,11 +1109,6 @@ config("compiler_cpu_abi") {
2828
]
2929
}
3030
} else if (current_cpu == "arm") {
@@ -36,7 +36,7 @@ index f7273a944ec68..3d5aa9a79b106 100644
3636
if (!is_nacl) {
3737
cflags += [
3838
"-march=$arm_arch",
39-
@@ -1109,12 +1104,6 @@ config("compiler_cpu_abi") {
39+
@@ -1123,12 +1118,6 @@ config("compiler_cpu_abi") {
4040
if (arm_tune != "") {
4141
cflags += [ "-mtune=$arm_tune" ]
4242
}
@@ -49,7 +49,7 @@ index f7273a944ec68..3d5aa9a79b106 100644
4949
} else if (current_cpu == "mipsel" && !is_nacl) {
5050
ldflags += [ "-Wl,--hash-style=sysv" ]
5151
if (custom_toolchain == "") {
52-
@@ -1122,9 +1111,6 @@ config("compiler_cpu_abi") {
52+
@@ -1136,9 +1125,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 f7273a944ec68..3d5aa9a79b106 100644
5959
}
6060
} else {
6161
cflags += [ "-EL" ]
62-
@@ -1204,8 +1190,6 @@ config("compiler_cpu_abi") {
62+
@@ -1218,8 +1204,6 @@ config("compiler_cpu_abi") {
6363
ldflags += [ "-Wl,--hash-style=sysv" ]
6464
if (custom_toolchain == "") {
6565
if (is_clang) {
@@ -68,7 +68,7 @@ index f7273a944ec68..3d5aa9a79b106 100644
6868
} else {
6969
cflags += [ "-EB" ]
7070
ldflags += [ "-EB" ]
71-
@@ -1253,9 +1237,6 @@ config("compiler_cpu_abi") {
71+
@@ -1267,9 +1251,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 f7273a944ec68..3d5aa9a79b106 100644
7878
}
7979
} else {
8080
cflags += [
81-
@@ -1313,8 +1294,6 @@ config("compiler_cpu_abi") {
81+
@@ -1327,8 +1308,6 @@ config("compiler_cpu_abi") {
8282
ldflags += [ "-Wl,--hash-style=sysv" ]
8383
if (custom_toolchain == "") {
8484
if (is_clang) {
@@ -87,7 +87,7 @@ index f7273a944ec68..3d5aa9a79b106 100644
8787
} else {
8888
cflags += [
8989
"-EB",
90-
@@ -1477,23 +1456,6 @@ config("compiler_deterministic") {
90+
@@ -1491,23 +1470,6 @@ config("compiler_deterministic") {
9191
}
9292
}
9393
}

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

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

1919
diff --git a/tools/v8_context_snapshot/BUILD.gn b/tools/v8_context_snapshot/BUILD.gn
20-
index 52504f4f6f009..40425d63454f3 100644
20+
index 52504f4..40425d6 100644
2121
--- a/tools/v8_context_snapshot/BUILD.gn
2222
+++ b/tools/v8_context_snapshot/BUILD.gn
2323
@@ -44,6 +44,7 @@ if (use_v8_context_snapshot) {
@@ -29,34 +29,34 @@ index 52504f4f6f009..40425d63454f3 100644
2929
"root_out_dir") +
3030
"/v8_context_snapshot_generator",
3131
diff --git a/v8/BUILD.gn b/v8/BUILD.gn
32-
index a69e7b2edbc..2e2ae5865e6 100644
32+
index c13cf05..e4b15cf 100644
3333
--- a/v8/BUILD.gn
3434
+++ b/v8/BUILD.gn
35-
@@ -2061,6 +2061,7 @@ template("run_torque") {
35+
@@ -2083,6 +2083,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-
@@ -2193,6 +2194,7 @@ action("generate_bytecode_builtins_list") {
43+
@@ -2215,6 +2216,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-
@@ -2232,6 +2234,7 @@ template("run_mksnapshot") {
51+
@@ -2254,6 +2256,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-
@@ -6647,6 +6650,7 @@ if (v8_enable_i18n_support) {
59+
@@ -6695,6 +6698,7 @@ if (v8_enable_i18n_support) {
6060
outputs = [ output_file ]
6161

6262
args = [

meta-chromium/recipes-browser/chromium/files/0004-wrapper-extra-flags.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
1515
1 file changed, 3 insertions(+), 1 deletion(-)
1616

1717
diff --git a/chrome/installer/linux/common/wrapper b/chrome/installer/linux/common/wrapper
18-
index 20c6e8fe2933f..d92a60b5f37a2 100755
18+
index 20c6e8f..d92a60b 100755
1919
--- a/chrome/installer/linux/common/wrapper
2020
+++ b/chrome/installer/linux/common/wrapper
2121
@@ -45,5 +45,7 @@ exec < /dev/null
2222
exec > >(exec cat)
2323
exec 2> >(exec cat >&2)
24-
24+
2525
+CHROME_EXTRA_ARGS=""
2626
+
2727
# Note: exec -a below is a bashism.

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 3d5aa9a79b106..6e67e80ea23c1 100644
22+
index 06554be..7300b23 100644
2323
--- a/build/config/compiler/BUILD.gn
2424
+++ b/build/config/compiler/BUILD.gn
25-
@@ -1094,16 +1094,6 @@ config("compiler_cpu_abi") {
25+
@@ -1108,16 +1108,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 6e67e80ea23c1..3f15e68205a6f 100644
16+
index 7300b23..5cfc021 100644
1717
--- a/build/config/compiler/BUILD.gn
1818
+++ b/build/config/compiler/BUILD.gn
19-
@@ -1682,6 +1682,11 @@ config("default_warnings") {
19+
@@ -1706,6 +1706,11 @@ config("default_warnings") {
2020
cflags += [
2121
"-Wenum-compare-conditional",
2222

0 commit comments

Comments
 (0)