Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0936e747abc47dba5d68c16b96553b5db391984c
      
https://github.com/WebKit/WebKit/commit/0936e747abc47dba5d68c16b96553b5db391984c
  Author: Carlos Alberto Lopez Perez <[email protected]>
  Date:   2025-12-18 (Thu, 18 Dec 2025)

  Changed paths:
    A Source/JavaScriptCore/shell/PlatformWPE.cmake
    M Tools/TestWebKitAPI/PlatformWPE.cmake

  Log Message:
  -----------
  [WPE] Link jsc and other jsc-related binaries (testb3, testair, 
TestJavaScriptCore, etc) against libWPEWebKit
https://bugs.webkit.org/show_bug.cgi?id=304326

Reviewed by Nikolas Zimmermann.

We are having issues with the size of the Debug builds on WPE, currently at 
~5GB are causing
issues with the upload of the build products on the CI.

An important part of this problem is the fact that in WPE there is no shared 
libjavascriptcore
library like in GTK, and instead of linking against the shared library 
libWPEWebKit we are
embedding (statically linking) all the libjavascriptcore code into the 
binaries. So we end with
9 binaries around 700MB in Debug when we could shrink all those binaries to a 
few megabytes by
just linking dynamically against libWPEWebKit.

This patch makes all those jsc-related binaries to link against libWPEWebKit. 
The net effect is
a reduction in size from 5GB to 3.3GB for the debug.zip built-product.

* Source/JavaScriptCore/shell/PlatformWPE.cmake: Added.
* Tools/TestWebKitAPI/PlatformWPE.cmake:

Canonical link: https://commits.webkit.org/304666@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to