From d108424dd19092fa44e32cd241e05a38c8e2de9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= Date: Thu, 2 Jul 2026 11:13:31 +0200 Subject: [PATCH] chromium: Upgrade to 150.0.7871.114 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Release notes: 150.0.7871.46: https://chromereleases.googleblog.com/2026/06/stable-channel-update-for-desktop_0175352312.html 150.0.7871.100: https://chromereleases.googleblog.com/2026/07/stable-channel-update-for-desktop.html 150.0.7871.114: https://chromereleases.googleblog.com/2026/07/stable-channel-update-for-desktop_01162222768.html Build and patch changes: ------------------------ Added patches: * 0001-Only-pass-sysroot-if-use_sysroot.patch Backported from git to protect from a gn error that complains about empty sysroot. * 0001-build-Omit-ar-from-inputs-when-resolved-via-PATH.patch * 0001-build-Fix-get_path_info-on-empty-ar-in-unbundle-tool.patch Backported from git to fix a dependency error for llvm-ar. Previously, Chromium shipped a pre-built llvm-ar which was used behind the scenes instead of the one from recipe-sysroot-native. With that gone, Chromium 150.0.7871.46 threw an error: | ninja: error: 'llvm-ar', needed by 'yocto_native_for_rust_host_build_tools/obj/build/rust/allocator/liballoc_error_handler_impl.a', missing and no known rule to make it The two backported patches make existing llvm-ar and possibly other build tools to get picked up from PATH. Removed patches: None Modified patches: * 0001-Drop-GN-compiler-settings-conflicting-with-OE.patch BUILD.gn files were rearranged again, the patch had to be adapted. License changes: ---------------- Added licenses: * third_party/androidx/committed/libs/androidx_car_app_app/LICENSE * third_party/devtools-frontend/src/front_end/third_party/chromium/LICENSE * third_party/libjpeg_turbo/LICENSE.md.chromium * third_party/openscreen/src/third_party/getopt/LICENSE * third_party/rust/chromium_crates_io/vendor/aho-corasick-v1/LICENSE-MIT * third_party/rust/chromium_crates_io/vendor/getrandom-v0_3/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/getrandom-v0_4/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/harfrust-v0_8/LICENSE * third_party/rust/chromium_crates_io/vendor/regex-lite-v0_1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/shared-brotli-patch-decoder-v0_1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/symphonia-bundle-flac-v0_6/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-bundle-mp3-v0_6/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-codec-pcm-v0_6/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-codec-vorbis-v0_6/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-common-v0_6/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-core-v0_6/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-metadata-v0_6/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-v0_6/LICENSE * third_party/sframe/src/LICENSE Removed licenses: * third_party/androidx/committed/libs/androidx_asynclayoutinflater_asynclayoutinflater_appcompat/LICENSE * third_party/libjpeg_turbo/LICENSE.md * third_party/rust/chromium_crates_io/vendor/arrayvec-v0_7/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/bitflags-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/encoding_rs-v0_8/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/symphonia-bundle-flac-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-bundle-mp3-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-codec-pcm-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-codec-vorbis-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-core-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-metadata-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-utils-xiph-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-v0_5/LICENSE Updated licenses: * base/third_party/nspr/LICENSE * third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_fido/LICENSE * third_party/private_membership/LICENSE Test dependencies: ------------------ * URI: git://git.openembedded.org/openembedded-core - branch: master - revision: 4c6d47c608965907acbec70ac2eee2119c13e6d4 * URI: git://git.openembedded.org/meta-openembedded - layers: meta-oe - branch: master - revision: 155fd062e2bdb54061d457f7e2e4e20eb8248038 * URI: git://git.yoctoproject.org/meta-intel - branch: master - revision: 0edb84a9e6a6f14b7647ab2b8c7a690741c67984 * URI: https://github.com/agherzan/meta-raspberrypi - branch: master - revision: f62c67921474370829d24a4fa01ef88543f3906b Signed-off-by: Zoltán Böszörményi --- ...b => chromium-gn-native_150.0.7871.114.bb} | 0 .../recipes-browser/chromium/chromium-gn.inc | 3 + ... chromium-ozone-wayland_150.0.7871.114.bb} | 0 ....200.bb => chromium-x11_150.0.7871.114.bb} | 0 .../recipes-browser/chromium/chromium.inc | 40 +++-- ...ompiler-settings-conflicting-with-OE.patch | 149 ++++++++++-------- ...001-Only-pass-sysroot-if-use_sysroot.patch | 36 +++++ ...th_info-on-empty-ar-in-unbundle-tool.patch | 41 +++++ ...r-from-inputs-when-resolved-via-PATH.patch | 52 ++++++ 9 files changed, 236 insertions(+), 85 deletions(-) rename meta-chromium/recipes-browser/chromium/{chromium-gn-native_149.0.7827.200.bb => chromium-gn-native_150.0.7871.114.bb} (100%) rename meta-chromium/recipes-browser/chromium/{chromium-ozone-wayland_149.0.7827.200.bb => chromium-ozone-wayland_150.0.7871.114.bb} (100%) rename meta-chromium/recipes-browser/chromium/{chromium-x11_149.0.7827.200.bb => chromium-x11_150.0.7871.114.bb} (100%) create mode 100644 meta-chromium/recipes-browser/chromium/files/0001-Only-pass-sysroot-if-use_sysroot.patch create mode 100644 meta-chromium/recipes-browser/chromium/files/0001-build-Fix-get_path_info-on-empty-ar-in-unbundle-tool.patch create mode 100644 meta-chromium/recipes-browser/chromium/files/0001-build-Omit-ar-from-inputs-when-resolved-via-PATH.patch diff --git a/meta-chromium/recipes-browser/chromium/chromium-gn-native_149.0.7827.200.bb b/meta-chromium/recipes-browser/chromium/chromium-gn-native_150.0.7871.114.bb similarity index 100% rename from meta-chromium/recipes-browser/chromium/chromium-gn-native_149.0.7827.200.bb rename to meta-chromium/recipes-browser/chromium/chromium-gn-native_150.0.7871.114.bb diff --git a/meta-chromium/recipes-browser/chromium/chromium-gn.inc b/meta-chromium/recipes-browser/chromium/chromium-gn.inc index fa8fcc88c..cf8fef330 100644 --- a/meta-chromium/recipes-browser/chromium/chromium-gn.inc +++ b/meta-chromium/recipes-browser/chromium/chromium-gn.inc @@ -36,6 +36,9 @@ SRC_URI += "\ file://chromium-145-zip_ffi_glue-use-edition2024.patch \ file://disable-sanitizer.patch \ file://chromium148-bytemuck-v1-remove-simd-LaneCount-usage.patch \ + file://0001-Only-pass-sysroot-if-use_sysroot.patch \ + file://0001-build-Omit-ar-from-inputs-when-resolved-via-PATH.patch \ + file://0001-build-Fix-get_path_info-on-empty-ar-in-unbundle-tool.patch \ " # ARM/AArch64-specific patches. diff --git a/meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_149.0.7827.200.bb b/meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_150.0.7871.114.bb similarity index 100% rename from meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_149.0.7827.200.bb rename to meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_150.0.7871.114.bb diff --git a/meta-chromium/recipes-browser/chromium/chromium-x11_149.0.7827.200.bb b/meta-chromium/recipes-browser/chromium/chromium-x11_150.0.7871.114.bb similarity index 100% rename from meta-chromium/recipes-browser/chromium/chromium-x11_149.0.7827.200.bb rename to meta-chromium/recipes-browser/chromium/chromium-x11_150.0.7871.114.bb diff --git a/meta-chromium/recipes-browser/chromium/chromium.inc b/meta-chromium/recipes-browser/chromium/chromium.inc index 4e49dc524..25548ebb2 100644 --- a/meta-chromium/recipes-browser/chromium/chromium.inc +++ b/meta-chromium/recipes-browser/chromium/chromium.inc @@ -4,7 +4,7 @@ HOMEPAGE = "https://www.chromium.org/Home" CVE_PRODUCT = "chromium:chromium google:chrome" SRC_URI = "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${PV}.tar.xz" -SRC_URI[sha256sum] = "f22da99962e0766c060226eac3430eae1bd87b3d449e3740fc3eae3a3bccd084" +SRC_URI[sha256sum] = "b2332eb0f96b84e56b29959630a61d6e2c38bec54e6e4026ce20f12b3454ddda" S = "${UNPACKDIR}/chromium-${PV}" # GCC is not tested or officially supported upstream, and supporting it here @@ -65,7 +65,7 @@ LIC_FILES_CHKSUM = "\ file://${S}/base/third_party/cityhash/COPYING;md5=f714c995c5bd9b175938acdd69226b60 \ file://${S}/base/third_party/cityhash_v103/COPYING;md5=f714c995c5bd9b175938acdd69226b60 \ file://${S}/base/third_party/double_conversion/LICENSE;md5=1ea35644f0ec0d9767897115667e901f \ - file://${S}/base/third_party/nspr/LICENSE;md5=2ea4b962ed751ec64d301855ef8eda48 \ + file://${S}/base/third_party/nspr/LICENSE;md5=f75d2927d3c1ed2414ef72048f5ad640 \ file://${S}/base/third_party/superfasthash/LICENSE;md5=c66981f8ad23c9f279a5b9e07385128c \ file://${S}/base/third_party/symbolize/LICENSE;md5=17ae3b22fe8fa438966625593e2eea85 \ file://${S}/base/third_party/xdg_user_dirs/LICENSE;md5=d998f250c491c329a8254dd1ca62c647 \ @@ -93,7 +93,7 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_cast_framework/LICENSE;md5=a254bf8bd0f2c4e215d92aad0a0320e5 \ file://${S}/third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_clearcut/LICENSE;md5=32c019d8c1f8222a8aad9c3e1f1d2d10 \ file://${S}/third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_cloud_messaging/LICENSE;md5=fff98c651a1ae8a04462a12f8ea1f7a4 \ - file://${S}/third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_fido/LICENSE;md5=0b31499076a79957f503e7861250586c \ + file://${S}/third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_fido/LICENSE;md5=41f683dc747475dd5240eb9e41e62714 \ file://${S}/third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_flags/LICENSE;md5=5c9317538bd492b4fd01eec9d6972640 \ file://${S}/third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_gcm/LICENSE;md5=92b728c587a67a1b9577e9ca141ca520 \ file://${S}/third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_identity_credentials/LICENSE;md5=848796728ffbc490ef5ab42e20b7cb4f \ @@ -197,10 +197,10 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/androidx/committed/libs/androidx_arch_core_core_common/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://${S}/third_party/androidx/committed/libs/androidx_arch_core_core_runtime/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://${S}/third_party/androidx/committed/libs/androidx_asynclayoutinflater_asynclayoutinflater/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ - file://${S}/third_party/androidx/committed/libs/androidx_asynclayoutinflater_asynclayoutinflater_appcompat/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://${S}/third_party/androidx/committed/libs/androidx_autofill_autofill/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://${S}/third_party/androidx/committed/libs/androidx_biometric_biometric/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://${S}/third_party/androidx/committed/libs/androidx_browser_browser/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ + file://${S}/third_party/androidx/committed/libs/androidx_car_app_app/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://${S}/third_party/androidx/committed/libs/androidx_cardview_cardview/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://${S}/third_party/androidx/committed/libs/androidx_collection_collection_jvm/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://${S}/third_party/androidx/committed/libs/androidx_collection_collection_ktx/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ @@ -445,6 +445,7 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/decklink/LICENSE;md5=85b197f7b7b1ef270b01a1b6377be50e \ file://${S}/third_party/devtools-frontend/src/LICENSE;md5=83fece7ebbf2f4a3db071b91b3cacb9a \ file://${S}/third_party/devtools-frontend/src/front_end/third_party/acorn/package/LICENSE;md5=6e381572c3ee395547475a1464db5060 \ + file://${S}/third_party/devtools-frontend/src/front_end/third_party/chromium/LICENSE;md5=83fece7ebbf2f4a3db071b91b3cacb9a \ file://${S}/third_party/devtools-frontend/src/front_end/third_party/codemirror.next/LICENSE;md5=b5494d4f10ac6bb043e5f684e59cd13f \ file://${S}/third_party/devtools-frontend/src/front_end/third_party/codemirror/package/LICENSE;md5=8554e1ee437cc3fb3cfee9ad4a11b8ab \ file://${S}/third_party/devtools-frontend/src/front_end/third_party/csp_evaluator/package/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \ @@ -517,7 +518,7 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/libgav1/src/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://${S}/third_party/libipp/LICENSE;md5=af9e58383a1b2b17c75c6c9ff561ca9d \ file://${S}/third_party/libjingle_xmpp/LICENSE;md5=ad296492125bc71530d06234d9bfebe0 \ - file://${S}/third_party/libjpeg_turbo/LICENSE.md;md5=023c2e8942020502d6ea709e2a5453f7 \ + file://${S}/third_party/libjpeg_turbo/LICENSE.md.chromium;md5=94ef2583d3ad0572b8fafe0d51ebe4e3 \ file://${S}/third_party/liblouis/LICENSE;md5=8ab69863de0d3a0e00c4f97a4d78dd4a \ file://${S}/third_party/libphonenumber/LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa \ file://${S}/third_party/libprotobuf-mutator/src/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ @@ -566,6 +567,7 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/one_euro_filter/LICENSE;md5=5b4d092181a412ae42c63e7fc1e53366 \ file://${S}/third_party/openh264/src/LICENSE;md5=bb6d3771da6a07d33fd50d4d9aa73bcf \ file://${S}/third_party/openscreen/src/LICENSE;md5=5ff965dafeb8e99de6698664decb9e89 \ + file://${S}/third_party/openscreen/src/third_party/getopt/LICENSE;md5=7125c2e7c3f68a30b83c47edcf0619d8 \ file://${S}/third_party/openscreen/src/third_party/protobuf/LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \ file://${S}/third_party/openscreen/src/third_party/tinycbor/src/LICENSE;md5=6c1ac30774dd6476b42b5b020cd2aa5f \ file://${S}/third_party/opus/src/COPYING;md5=4b365c2155d66e550e1447075d6744a5 \ @@ -582,7 +584,7 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/pffft/LICENSE;md5=0f39e43e9bc20e7e103e54750e1ec3a2 \ file://${S}/third_party/polymer/LICENSE.polymer;md5=324f45ce459ffd97e41d175a4e95a4be \ file://${S}/third_party/private-join-and-compute/src/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \ - file://${S}/third_party/private_membership/LICENSE;md5=9d44acd6df6b90cbbabbd467d67e74c7 \ + file://${S}/third_party/private_membership/LICENSE;md5=6745ae45b6b589847a125b6c239a5ac5 \ file://${S}/third_party/protobuf-javascript/LICENSE;md5=d7cb3a2a94c3207cec955e5f8a3149db \ file://${S}/third_party/protobuf/LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \ file://${S}/third_party/pthreadpool/src/LICENSE;md5=1609499688b503850848d795dce4da2d \ @@ -592,17 +594,16 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/rjsmin/LICENSE;md5=34f8c1142fd6208a8be89399cb521df9 \ file://${S}/third_party/rnnoise/COPYING;md5=1890bf89a18f8339491894a0b45428bf \ file://${S}/third_party/rust/chromium_crates_io/vendor/adler2-v2/LICENSE-APACHE;md5=71b224ca933f0676e26d5c2e2271331c \ + file://${S}/third_party/rust/chromium_crates_io/vendor/aho-corasick-v1/LICENSE-MIT;md5=8d0d0aa488af0ab9aafa3b85a7fc8e12 \ file://${S}/third_party/rust/chromium_crates_io/vendor/android_system_properties-v0_1/LICENSE-APACHE;md5=35a0e71962f2dbee50603e4e83a7c372 \ file://${S}/third_party/rust/chromium_crates_io/vendor/antlr4rust-v0_5/LICENSE.txt;md5=bbf9a20fa3a3cfbb6b7aa17673624a7f \ file://${S}/third_party/rust/chromium_crates_io/vendor/anyhow-v1/LICENSE-APACHE;md5=22a53954e4e0ec258dfce4391e905dac \ file://${S}/third_party/rust/chromium_crates_io/vendor/array-init-v2/LICENSE-APACHE;md5=d13eed150e79e21764a87814fb08dc97 \ - file://${S}/third_party/rust/chromium_crates_io/vendor/arrayvec-v0_7/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/autocfg-v1/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/base64-v0_22/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/better_any-v0_2/LICENCE-Apache;md5=2f1efe929423fc740cafae4498492dce \ file://${S}/third_party/rust/chromium_crates_io/vendor/bit-set-v0_8/LICENSE-APACHE;md5=8f7bb094c7232b058c7e9f2e431f389c \ file://${S}/third_party/rust/chromium_crates_io/vendor/bit-vec-v0_8/LICENSE-APACHE;md5=8f7bb094c7232b058c7e9f2e431f389c \ - file://${S}/third_party/rust/chromium_crates_io/vendor/bitflags-v1/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/bitflags-v2/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/LICENSE-APACHE;md5=b4c615f64dff32f71eeed614d13dfd4c \ file://${S}/third_party/rust/chromium_crates_io/vendor/bytemuck_derive-v1/LICENSE-APACHE;md5=b4c615f64dff32f71eeed614d13dfd4c \ @@ -625,7 +626,6 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/rust/chromium_crates_io/vendor/diplomat_core-v0_15/LICENSE-APACHE;md5=7cb2c66ebf769dd678588d021de66889 \ file://${S}/third_party/rust/chromium_crates_io/vendor/displaydoc-v0_2/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/either-v1/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ - file://${S}/third_party/rust/chromium_crates_io/vendor/encoding_rs-v0_8/LICENSE-APACHE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://${S}/third_party/rust/chromium_crates_io/vendor/equivalent-v1/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/fdeflate-v0_3/LICENSE-APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \ file://${S}/third_party/rust/chromium_crates_io/vendor/fend-core-v1/LICENSE.md;md5=830ec38404a46e0e6aeab831a28b00e4 \ @@ -633,6 +633,9 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/rust/chromium_crates_io/vendor/flate2-v1/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/foldhash-v0_2/LICENSE;md5=20ff5307d48c7c74b29bfe1add54da14 \ file://${S}/third_party/rust/chromium_crates_io/vendor/font-types-v0_11/LICENSE-APACHE;md5=59172f861df4cf7ba24b91219b2d296c \ + file://${S}/third_party/rust/chromium_crates_io/vendor/getrandom-v0_3/LICENSE-APACHE;md5=9ee8a33d3852b5a3d70f661d27bf3cc5 \ + file://${S}/third_party/rust/chromium_crates_io/vendor/getrandom-v0_4/LICENSE-APACHE;md5=9ee8a33d3852b5a3d70f661d27bf3cc5 \ + file://${S}/third_party/rust/chromium_crates_io/vendor/harfrust-v0_8/LICENSE;md5=839a86944f5872e71795649dd1330f95 \ file://${S}/third_party/rust/chromium_crates_io/vendor/hashbrown-v0_15/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/hashbrown-v0_17/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/heck-v0_5/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ @@ -703,6 +706,7 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/rust/chromium_crates_io/vendor/quote-v1/LICENSE-APACHE;md5=22a53954e4e0ec258dfce4391e905dac \ file://${S}/third_party/rust/chromium_crates_io/vendor/read-fonts-v0_39/LICENSE-APACHE;md5=59172f861df4cf7ba24b91219b2d296c \ file://${S}/third_party/rust/chromium_crates_io/vendor/regex-automata-v0_4/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ + file://${S}/third_party/rust/chromium_crates_io/vendor/regex-lite-v0_1/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/regex-syntax-v0_8/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ file://${S}/third_party/rust/chromium_crates_io/vendor/resb-v0_1/LICENSE;md5=9541a35d720222b4579e8c8fb11a95ef \ file://${S}/third_party/rust/chromium_crates_io/vendor/rustfft-v6/LICENSE-APACHE;md5=25d3e06178b11a7b123c10703ad7baaf \ @@ -714,6 +718,7 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/rust/chromium_crates_io/vendor/serde_derive-v1/LICENSE-APACHE;md5=22a53954e4e0ec258dfce4391e905dac \ file://${S}/third_party/rust/chromium_crates_io/vendor/serde_json-v1/LICENSE-APACHE;md5=22a53954e4e0ec258dfce4391e905dac \ file://${S}/third_party/rust/chromium_crates_io/vendor/serde_json_lenient-v0_2/LICENSE-APACHE;md5=22a53954e4e0ec258dfce4391e905dac \ + file://${S}/third_party/rust/chromium_crates_io/vendor/shared-brotli-patch-decoder-v0_1/LICENSE-APACHE;md5=dbc2f71c38e5e44a9cef51bc6409331e \ file://${S}/third_party/rust/chromium_crates_io/vendor/simd-adler32-v0_3/LICENSE.md;md5=990e2165f17348c5171ea091dcd8231b \ file://${S}/third_party/rust/chromium_crates_io/vendor/skrifa-v0_42/LICENSE-APACHE;md5=59172f861df4cf7ba24b91219b2d296c \ file://${S}/third_party/rust/chromium_crates_io/vendor/smallvec-v1/LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ @@ -726,14 +731,14 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/rust/chromium_crates_io/vendor/strum_macros-v0_27/LICENSE;md5=b73288c747267992cc39afc7bde8af66 \ file://${S}/third_party/rust/chromium_crates_io/vendor/strum_macros-v0_28/LICENSE;md5=b73288c747267992cc39afc7bde8af66 \ file://${S}/third_party/rust/chromium_crates_io/vendor/subtle-v2/LICENSE;md5=cff47234d8cf608834b44ad9405e5493 \ - file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-bundle-flac-v0_5/LICENSE;md5=9741c346eef56131163e13b9db1241b3 \ - file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-bundle-mp3-v0_5/LICENSE;md5=9741c346eef56131163e13b9db1241b3 \ - file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-codec-pcm-v0_5/LICENSE;md5=9741c346eef56131163e13b9db1241b3 \ - file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-codec-vorbis-v0_5/LICENSE;md5=9741c346eef56131163e13b9db1241b3 \ - file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-core-v0_5/LICENSE;md5=9741c346eef56131163e13b9db1241b3 \ - file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-metadata-v0_5/LICENSE;md5=9741c346eef56131163e13b9db1241b3 \ - file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-utils-xiph-v0_5/LICENSE;md5=9741c346eef56131163e13b9db1241b3 \ - file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-v0_5/LICENSE;md5=9741c346eef56131163e13b9db1241b3 \ + file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-bundle-flac-v0_6/LICENSE;md5=280da0ae8b63b2e861e6766d710e9baf \ + file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-bundle-mp3-v0_6/LICENSE;md5=280da0ae8b63b2e861e6766d710e9baf \ + file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-codec-pcm-v0_6/LICENSE;md5=280da0ae8b63b2e861e6766d710e9baf \ + file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-codec-vorbis-v0_6/LICENSE;md5=280da0ae8b63b2e861e6766d710e9baf \ + file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-common-v0_6/LICENSE;md5=280da0ae8b63b2e861e6766d710e9baf \ + file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-core-v0_6/LICENSE;md5=280da0ae8b63b2e861e6766d710e9baf \ + file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-metadata-v0_6/LICENSE;md5=280da0ae8b63b2e861e6766d710e9baf \ + file://${S}/third_party/rust/chromium_crates_io/vendor/symphonia-v0_6/LICENSE;md5=280da0ae8b63b2e861e6766d710e9baf \ file://${S}/third_party/rust/chromium_crates_io/vendor/syn-v2/LICENSE-APACHE;md5=22a53954e4e0ec258dfce4391e905dac \ file://${S}/third_party/rust/chromium_crates_io/vendor/synstructure-v0_13/LICENSE;md5=cc272e9322fe8cb3e01e1e22bca8fef9 \ file://${S}/third_party/rust/chromium_crates_io/vendor/temporal_capi-v0_2/LICENSE-Apache;md5=da9ee15fd7b479b549e9986774e40c2f \ @@ -778,6 +783,7 @@ LIC_FILES_CHKSUM = "\ file://${S}/third_party/selenium-atoms/LICENSE.sizzle;md5=7a9495742f21b7624515e120b720cc65 \ file://${S}/third_party/selenium-atoms/LICENSE.wgxpath;md5=73a4131394317651a4370c0507a9ccb5 \ file://${S}/third_party/sentencepiece/LICENSE;md5=5cb9ee2840d20280145e929f30f32060 \ + file://${S}/third_party/sframe/src/LICENSE;md5=175907d4112d8c5480d58d2b210cbeb7 \ file://${S}/third_party/shell-encryption/src/LICENSE;md5=c96a2157133614bf8a135bd27cd230d6 \ file://${S}/third_party/simdutf/LICENSE;md5=44b8879887e312bc332a205805fb41d1 \ file://${S}/third_party/simplejson/LICENSE.txt;md5=8a9f8dcfcd28c34daa443e5b1d29813b \ diff --git a/meta-chromium/recipes-browser/chromium/files/0001-Drop-GN-compiler-settings-conflicting-with-OE.patch b/meta-chromium/recipes-browser/chromium/files/0001-Drop-GN-compiler-settings-conflicting-with-OE.patch index 050545817..02594c331 100644 --- a/meta-chromium/recipes-browser/chromium/files/0001-Drop-GN-compiler-settings-conflicting-with-OE.patch +++ b/meta-chromium/recipes-browser/chromium/files/0001-Drop-GN-compiler-settings-conflicting-with-OE.patch @@ -1,7 +1,10 @@ -From d9f87418ffc6bd6a796a78302f41b49210dcb331 Mon Sep 17 00:00:00 2001 +From 5abc3bab3b9535f8173099e3db255eadd8399596 Mon Sep 17 00:00:00 2001 From: Max Ihlenfeldt Date: Tue, 25 Jun 2024 11:06:19 +0000 Subject: [PATCH] Drop GN compiler settings conflicting with OE +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit The clang cross compiler built with meta-clang has lots of these settings built-in and specifying them with GN confuses the compiler: @@ -14,78 +17,17 @@ settings built-in and specifying them with GN confuses the compiler: Upstream-Status: Inappropriate [OE-Specific] Signed-off-by: Khem Raj Signed-off-by: Max Ihlenfeldt +Signed-off-by: Zoltán Böszörményi --- - build/config/compiler/BUILD.gn | 46 ---------------------------------- - 1 file changed, 46 deletions(-) + build/config/compiler/BUILD.gn | 17 ----------------- + build/config/compiler_cpu_abi.gn | 29 ----------------------------- + 2 files changed, 46 deletions(-) diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn -index 59942a3..cf5e62e 100644 +index e1da11405c..c1767f2988 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn -@@ -1375,25 +1375,6 @@ - "-mfpmath=sse", - "-msse3", - ] -- } else if (current_cpu == "arm") { -- if (is_clang && !is_android && !is_chromeos_device) { -- cflags += [ "--target=arm-linux-gnueabihf" ] -- ldflags += [ "--target=arm-linux-gnueabihf" ] -- } -- cflags += [ -- "-march=$arm_arch", -- "-mfloat-abi=$arm_float_abi", -- ] -- } else if (current_cpu == "arm64") { -- if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) { -- cflags += [ "--target=aarch64-linux-gnu" ] -- ldflags += [ "--target=aarch64-linux-gnu" ] -- } -- if (target_os == "chromeos" && cros_target_cpu_arch != "" && -- is_a_target_toolchain) { -- cflags += [ "-march=$cros_target_cpu_arch" ] -- ldflags += [ "-march=$cros_target_cpu_arch" ] -- } - } else if (current_cpu == "mipsel") { - ldflags += [ "-Wl,--hash-style=sysv" ] - if (custom_toolchain == "") { -@@ -1401,9 +1382,6 @@ - if (is_android) { - cflags += [ "--target=mipsel-linux-android" ] - ldflags += [ "--target=mipsel-linux-android" ] -- } else { -- cflags += [ "--target=mipsel-linux-gnu" ] -- ldflags += [ "--target=mipsel-linux-gnu" ] - } - } else { - cflags += [ "-EL" ] -@@ -1483,8 +1461,6 @@ - ldflags += [ "-Wl,--hash-style=sysv" ] - if (custom_toolchain == "") { - if (is_clang) { -- cflags += [ "--target=mips-linux-gnu" ] -- ldflags += [ "--target=mips-linux-gnu" ] - } else { - cflags += [ "-EB" ] - ldflags += [ "-EB" ] -@@ -1533,8 +1509,6 @@ - cflags += [ "--target=mips64el-linux-android" ] - ldflags += [ "--target=mips64el-linux-android" ] - } else { -- cflags += [ "--target=mips64el-linux-gnuabi64" ] -- ldflags += [ "--target=mips64el-linux-gnuabi64" ] - } - } else { - cflags += [ -@@ -1592,8 +1566,6 @@ - ldflags += [ "-Wl,--hash-style=sysv" ] - if (custom_toolchain == "") { - if (is_clang) { -- cflags += [ "--target=mips64-linux-gnuabi64" ] -- ldflags += [ "--target=mips64-linux-gnuabi64" ] - } else { - cflags += [ - "-EB", -@@ -1764,23 +1736,6 @@ +@@ -1425,23 +1425,6 @@ config("compiler_deterministic") { } } @@ -109,3 +51,74 @@ index 59942a3..cf5e62e 100644 if (use_clang_modules) { cflags += [ # This removes absolute paths from .pcm files. +diff --git a/build/config/compiler_cpu_abi.gn b/build/config/compiler_cpu_abi.gn +index ae62bab587..3a4347f705 100644 +--- a/build/config/compiler_cpu_abi.gn ++++ b/build/config/compiler_cpu_abi.gn +@@ -73,25 +73,6 @@ if ((is_posix && !is_apple) || is_fuchsia) { + "-mfpmath=sse", + "-msse3", + ] +- } else if (current_cpu == "arm") { +- if (is_clang && !is_android && !is_chromeos_device) { +- cpu_abi_cflags += [ "--target=arm-linux-gnueabihf" ] +- cpu_abi_ldflags += [ "--target=arm-linux-gnueabihf" ] +- } +- cpu_abi_cflags += [ +- "-march=$arm_arch", +- "-mfloat-abi=$arm_float_abi", +- ] +- } else if (current_cpu == "arm64") { +- if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) { +- cpu_abi_cflags += [ "--target=aarch64-linux-gnu" ] +- cpu_abi_ldflags += [ "--target=aarch64-linux-gnu" ] +- } +- if (target_os == "chromeos" && cros_target_cpu_arch != "" && +- is_a_target_toolchain) { +- cpu_abi_cflags += [ "-march=$cros_target_cpu_arch" ] +- cpu_abi_ldflags += [ "-march=$cros_target_cpu_arch" ] +- } + } else if (current_cpu == "mipsel") { + cpu_abi_ldflags += [ "-Wl,--hash-style=sysv" ] + if (custom_toolchain == "") { +@@ -99,9 +80,6 @@ if ((is_posix && !is_apple) || is_fuchsia) { + if (is_android) { + cpu_abi_cflags += [ "--target=mipsel-linux-android" ] + cpu_abi_ldflags += [ "--target=mipsel-linux-android" ] +- } else { +- cpu_abi_cflags += [ "--target=mipsel-linux-gnu" ] +- cpu_abi_ldflags += [ "--target=mipsel-linux-gnu" ] + } + } else { + cpu_abi_cflags += [ "-EL" ] +@@ -181,8 +159,6 @@ if ((is_posix && !is_apple) || is_fuchsia) { + cpu_abi_ldflags += [ "-Wl,--hash-style=sysv" ] + if (custom_toolchain == "") { + if (is_clang) { +- cpu_abi_cflags += [ "--target=mips-linux-gnu" ] +- cpu_abi_ldflags += [ "--target=mips-linux-gnu" ] + } else { + cpu_abi_cflags += [ "-EB" ] + cpu_abi_ldflags += [ "-EB" ] +@@ -230,9 +206,6 @@ if ((is_posix && !is_apple) || is_fuchsia) { + if (is_android) { + cpu_abi_cflags += [ "--target=mips64el-linux-android" ] + cpu_abi_ldflags += [ "--target=mips64el-linux-android" ] +- } else { +- cpu_abi_cflags += [ "--target=mips64el-linux-gnuabi64" ] +- cpu_abi_ldflags += [ "--target=mips64el-linux-gnuabi64" ] + } + } else { + cpu_abi_cflags += [ +@@ -290,8 +263,6 @@ if ((is_posix && !is_apple) || is_fuchsia) { + cpu_abi_ldflags += [ "-Wl,--hash-style=sysv" ] + if (custom_toolchain == "") { + if (is_clang) { +- cpu_abi_cflags += [ "--target=mips64-linux-gnuabi64" ] +- cpu_abi_ldflags += [ "--target=mips64-linux-gnuabi64" ] + } else { + cpu_abi_cflags += [ + "-EB", +-- +2.54.0 + diff --git a/meta-chromium/recipes-browser/chromium/files/0001-Only-pass-sysroot-if-use_sysroot.patch b/meta-chromium/recipes-browser/chromium/files/0001-Only-pass-sysroot-if-use_sysroot.patch new file mode 100644 index 000000000..adb8a0e13 --- /dev/null +++ b/meta-chromium/recipes-browser/chromium/files/0001-Only-pass-sysroot-if-use_sysroot.patch @@ -0,0 +1,36 @@ +From b93239da427a5019a9742d44e50e9996c1b04ea9 Mon Sep 17 00:00:00 2001 +From: Nathan Pratta Teodosio +Date: Fri, 19 Jun 2026 09:06:46 -0700 +Subject: [PATCH] Only pass sysroot if use_sysroot. + +Fixes the build when use_sysroot = false as then 'sysroot' variable is empty. + +Bug: None +Change-Id: I7fc7ba35f3ba416af0cbd8df94393dc901724b8b +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7927226 +Reviewed-by: Sylvain Defresne +Commit-Queue: Andrew Grieve +Reviewed-by: Andrew Grieve +Cr-Commit-Position: refs/heads/main@{#1649706} + +Upstream-Status: Backport +--- + build/modules/BUILD.gn | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/build/modules/BUILD.gn b/build/modules/BUILD.gn +index 02bfd462acd0f..3ef79fa7933c3 100644 +--- a/build/modules/BUILD.gn ++++ b/build/modules/BUILD.gn +@@ -223,7 +223,7 @@ + # otherwise. + "--append-module=std.new:export new_h\\nexport vcruntime_exception", + ] +- } else { ++ } else if (use_sysroot) { + # We need to pass the sysroot in so that it can scan it to generate a + # modulemap for the sysroot headers. + args += [ +-- +2.54.0 + diff --git a/meta-chromium/recipes-browser/chromium/files/0001-build-Fix-get_path_info-on-empty-ar-in-unbundle-tool.patch b/meta-chromium/recipes-browser/chromium/files/0001-build-Fix-get_path_info-on-empty-ar-in-unbundle-tool.patch new file mode 100644 index 000000000..3b651cd5b --- /dev/null +++ b/meta-chromium/recipes-browser/chromium/files/0001-build-Fix-get_path_info-on-empty-ar-in-unbundle-tool.patch @@ -0,0 +1,41 @@ +From 7d6555b11f181bdc24ba56577f753a07add6e8c7 Mon Sep 17 00:00:00 2001 +From: Matt Jolly +Date: Tue, 16 Jun 2026 21:57:07 -0700 +Subject: [PATCH] build: Fix get_path_info on empty ar in unbundle toolchain + +Some toolchains leave ar empty during initial setup, causing GN to error +when get_path_info() is called with an empty string. Guard the check to +only run when ar is not empty. + +Signed-off-by: Matt Jolly +Change-Id: I87615806ddfda6f262a7500b0c5b6fed1f452985 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7949777 +Reviewed-by: Takuto Ikuta +Commit-Queue: Takuto Ikuta +Reviewed-by: Matt Stark +Cr-Commit-Position: refs/heads/main@{#1648076} + +Upstream-Status: Backport +--- + build/toolchain/gcc_toolchain.gni | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni +index ec66ab3f948b1..d8457bfa53a4e 100644 +--- a/build/toolchain/gcc_toolchain.gni ++++ b/build/toolchain/gcc_toolchain.gni +@@ -409,8 +409,9 @@ template("single_gcc_toolchain") { + } else { + command = "rm -f {{output}} && $command" + +- # Add ar to inputs if it's not from $PATH. +- if (get_path_info(ar, "file") != ar) { ++ # Add ar to inputs if it's not from $PATH. Some toolchains leave ++ # |ar| empty during toolchain setup, so guard get_path_info() here. ++ if (ar != "" && get_path_info(ar, "file") != ar) { + inputs = + [ get_path_info(rebase_path(ar, ".", root_out_dir), "abspath") ] + } +-- +2.55.0 + diff --git a/meta-chromium/recipes-browser/chromium/files/0001-build-Omit-ar-from-inputs-when-resolved-via-PATH.patch b/meta-chromium/recipes-browser/chromium/files/0001-build-Omit-ar-from-inputs-when-resolved-via-PATH.patch new file mode 100644 index 000000000..cb222d24c --- /dev/null +++ b/meta-chromium/recipes-browser/chromium/files/0001-build-Omit-ar-from-inputs-when-resolved-via-PATH.patch @@ -0,0 +1,52 @@ +From 60f987d8d5f7272793a40290d060b8f50933f825 Mon Sep 17 00:00:00 2001 +From: Takuto Ikuta +Date: Mon, 8 Jun 2026 19:43:20 -0700 +Subject: [PATCH] build: Omit ar from inputs when resolved via $PATH + +The GN build configuration previously added the `ar` tool to the inputs +list unconditionally. However, if the `ar` tool is specified simply by +its filename and is resolved via the system `$PATH`, it should not be +tracked as a direct input dependency. + +This change adds a condition to verify if `ar` is an explicit path +rather than just a filename. It only includes `ar` in the action's +inputs list when it is not resolved from `$PATH`. + +This is to address +https://crrev.com/c/7835150/8/build/toolchain/gcc_toolchain.gni#406 + +Bug: 358521078 +Change-Id: I096ac4aa7f3b697c58c94af1349159b9c87f4201 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7904982 +Commit-Queue: Takuto Ikuta +Reviewed-by: Matt Stark +Auto-Submit: Takuto Ikuta +Cr-Commit-Position: refs/heads/main@{#1643634} + +Upstream-Status: Backport +--- + build/toolchain/gcc_toolchain.gni | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni +index 51433d488da07..ec66ab3f948b1 100644 +--- a/build/toolchain/gcc_toolchain.gni ++++ b/build/toolchain/gcc_toolchain.gni +@@ -408,8 +408,12 @@ template("single_gcc_toolchain") { + command = "cmd /s /c \"\"$python_path\" $tool_wrapper_path delete-file {{output}} && $command\"" + } else { + command = "rm -f {{output}} && $command" +- inputs = +- [ get_path_info(rebase_path(ar, ".", root_out_dir), "abspath") ] ++ ++ # Add ar to inputs if it's not from $PATH. ++ if (get_path_info(ar, "file") != ar) { ++ inputs = ++ [ get_path_info(rebase_path(ar, ".", root_out_dir), "abspath") ] ++ } + } + + # Almost all targets build with //build/config/compiler:thin_archive which +-- +2.55.0 +