This is the script used by Apple and it has several advantages: - It allows to combine and minify most of the js and css files, which improves performance and binary size. - It removes the debug resources and assertions in production builds. - It allows to remove the test resources in production builds.
Created attachment 326116 [details] Patch
It seems File::Copy::Recursive is required by copy-user-interface-resources.pl and it's not installed in EWS bots :-( Please install the PEP module File::Copy::Recursive at /home/ews/ltilve-gtk-wk2-ews/WebKit/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl line 50. ninja: build stopped: subcommand failed.
I trust you'll add it to install-dependencies, of course. Fedora package is perl-File-Copy-Recursive
Created attachment 326205 [details] Patch
Comment on attachment 326205 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=326205&action=review > Source/WebKit/InspectorGResources.cmake:46 > + ) Always use VERBATIM with add_custom_command and add_custom_target.
Committed r224566: <https://trac.webkit.org/changeset/224566>