Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 79d8bc9871971dd85db12aea4ec8052086328147
https://github.com/WebKit/WebKit/commit/79d8bc9871971dd85db12aea4ec8052086328147
Author: Carlos Alberto Lopez Perez <[email protected]>
Date: 2026-05-28 (Thu, 28 May 2026)
Changed paths:
M Tools/Scripts/cross-toolchain-helper
M Tools/yocto/README.md
A Tools/yocto/image_extras/chromium.conf
A Tools/yocto/image_extras/netdata.conf
M Tools/yocto/meta-openembedded_and_meta-webkit.patch
M Tools/yocto/riscv/manifest.xml
M Tools/yocto/rpi/bblayers.conf
M Tools/yocto/rpi/local-rpi3-32bits-mesa.conf
M Tools/yocto/rpi/local-rpi3-32bits-userland.conf
M Tools/yocto/rpi/local-rpi3-64bits-mesa.conf
M Tools/yocto/rpi/local-rpi4-32bits-mesa.conf
M Tools/yocto/rpi/local-rpi4-64bits-mesa.conf
M Tools/yocto/rpi/local-rpi5-64bits-mesa.conf
M Tools/yocto/rpi/manifest.xml
Log Message:
-----------
[WPE][cross-toolchain-helper] Improve support for Clang and implement
features "image-extras" and "check-if-layer-is-updated"
https://bugs.webkit.org/show_bug.cgi?id=315748
Reviewed by Nikolas Zimmermann.
The image-extras feature allows building Chromium and Netdata optionally
(opt-in),
so this can be enabled by default on the bots but not for developers which most
of them don't care about this, so they don't need to wait the many hours that
takes Chromium to be built when testing locally. This will be enabled on the
bots
via env var WEBKIT_CROSS_IMAGE_EXTRAS=chromium+netdata
The check-if-layer-is-updated feature allows to automatically detect if there
are
new layer updates on the git repository from origin/upstream for the branch that
is currently beeing used. The idea of this will be to add a new step on the perf
build bots that check if there are new updates on the meta-browser layer and if
there are new updates then the step will turn red (error) without blocking the
next build steps (haltOnFailure = False). That will make easier for bot watchers
or gardeners to detect this and to submit a PR updating the layer to the last
version, which should include a new Chromium version. That way we keep testing
on the perf dashboard new versions of Chromium as those are available but we
also
keep the process of updating the layer version semi-manual, so this update gets
registered as commit on webkit and bisection of any performance issue becomes
possible (because the layer update can affect also libraries used by webkit).
This patch also improves the support for Clang. Now it is possible to use
Clang to build webkit via script build-webkit when using cross-toolchain-helper,
or inside the cross-dev-shell. For that simply set on your environment
CC=clang CXX=clang++ before starting the webkit build or executing
cross-dev-shell.
This also fixes an issue when parsing the cmakeargs arrguments in build-webkit
when those contain spaces, now it uses shlex instead of manual scaping the
quotes,
which is more robust.
And finally it updates all the layer references (but meta-webkit) to the last
versions
available for Yocto scarthgap branch, removing from the common patch those
chunks that
were already merged upstream, and adding new chunks to support this changes.
* Tools/Scripts/cross-toolchain-helper:
(YoctoTargetsConfig.__init__):
(YoctoTargetsConfig._get_path):
(YoctoTargetsConfig.get_environment):
(YoctoTargetsConfig):
(YoctoTargetsConfig.get_extra_images_fragment_file_paths):
(YoctoTargetsConfig.get_hash_for_target):
(YoctoTargetsConfig.generate_and_export_hash_version_identifier):
(YoctoCrossBuilder):
(YoctoCrossBuilder.__init__):
(YoctoCrossBuilder._check_or_init_image_extras_file):
(YoctoCrossBuilder._check_or_init_image_extras_file.log_image_extras):
(YoctoCrossBuilder._run_cmd):
(YoctoCrossBuilder._add_recipe_to_include_version_file_into_image):
(YoctoCrossBuilder._initialize_workdir):
(YoctoCrossBuilder._do_bitbake):
(YoctoCrossBuilder.build_toolchain):
(YoctoCrossBuilder.cross_dev_shell):
(YoctoCrossBuilder.execute_cmd_inside_cross_toolchain_env):
(YoctoCrossBuilder.execute_deploy_script):
(YoctoCrossBuilder.check_if_image_is_updated):
(YoctoCrossBuilder.check_layer_updates):
(main):
* Tools/yocto/README.md:
* Tools/yocto/image_extras/chromium.conf: Added.
* Tools/yocto/image_extras/netdata.conf: Added.
* Tools/yocto/meta-openembedded_and_meta-webkit.patch:
* Tools/yocto/riscv/manifest.xml:
* Tools/yocto/rpi/bblayers.conf:
* Tools/yocto/rpi/local-rpi3-32bits-mesa.conf:
* Tools/yocto/rpi/local-rpi3-32bits-userland.conf:
* Tools/yocto/rpi/local-rpi3-64bits-mesa.conf:
* Tools/yocto/rpi/local-rpi4-32bits-mesa.conf:
* Tools/yocto/rpi/local-rpi4-64bits-mesa.conf:
* Tools/yocto/rpi/local-rpi5-64bits-mesa.conf:
* Tools/yocto/rpi/manifest.xml:
Canonical link: https://commits.webkit.org/314058@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications