Bug 249036 - [WPE][CMake] Allow disabling the build of WTR without disabling the Cog build and also control the platform plugins of Cog
Summary: [WPE][CMake] Allow disabling the build of WTR without disabling the Cog build...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Alberto Lopez Perez
URL:
Keywords:
Depends on:
Blocks: 249031
  Show dependency treegraph
 
Reported: 2022-12-09 11:30 PST by Carlos Alberto Lopez Perez
Modified: 2022-12-13 20:30 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2022-12-09 11:30:24 PST
When building WPE for the rpi3 using the script build-webkit with a yocto-based-cross-toolchain I found this issues:

 - for mesa-vc4 target: gtk4 is not available so the build fails when cog tries to enable the gtk4 plugin
 - for userland target: wpebackend-fdo is not available (only wpebackend-rdk) and wpebackend-fdo is needed to build WebKitTestRunner, the API tests runner and the MiniBrowser. However cog can be built without wpebackend-fdo if platform plugins are disabled.

So it will be good to have more control about how Cog is built and also to allow building Cog without having to build also WTR, MiniBrowser and the API tests runner (so it can build with wpebackend-rdk instead of -fdo)

Related: bug 249031
Comment 1 Carlos Alberto Lopez Perez 2022-12-09 12:06:01 PST
Pull request: https://github.com/WebKit/WebKit/pull/7399
Comment 2 EWS 2022-12-13 20:30:08 PST
Committed 257827@main (7aa121b35701): <https://commits.webkit.org/257827@main>

Reviewed commits have been landed. Closing PR #7399 and removing active labels.