[WPE] Pass --wpe argument to update-webkit-flatpak
Created attachment 395355 [details] Patch
On calling `Tools/Scripts/update-webkitwpe-libs`, script `update-webkit-flatpak` is called without platform name (--wpe), taking GTK as default. As a result, flatpak argument '--bind-mount=/app/webkit/WebKitBuild/Release' points to '../WebKitBuild/GTK/Release', when it should point to '../WebKitBuild/WPE/Release'. Another consequence is that 'WebKitBuild/GTK' folder is created.
This shouldn't be necessary, because the same SDK is used for both GTK and WPE.
(In reply to Diego Pino from comment #2) > On calling `Tools/Scripts/update-webkitwpe-libs`, script > `update-webkit-flatpak` is called without platform name (--wpe), taking GTK > as default. As a result, flatpak argument > '--bind-mount=/app/webkit/WebKitBuild/Release' points to > '../WebKitBuild/GTK/Release', when it should point to > '../WebKitBuild/WPE/Release'. Another consequence is that 'WebKitBuild/GTK' > folder is created. Regarding this, perhaps we can simply avoid to mkdir the build directory unless we're being called by build-webkit.
Created attachment 395360 [details] Patch
Committed r259453: <https://trac.webkit.org/changeset/259453> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395360 [details].
<rdar://problem/61253950>