When using unified builds CMake generates a compile_commands.json that isn't useful by many tools as it lacks much of the sources. This adds a script to expand UnifiedSources into the full list of sources. It outputs it to webkit_compile_commands.json.
Pull request: https://github.com/WebKit/WebKit/pull/16718
Committed 266947@main (5c9dd47913bc): <https://commits.webkit.org/266947@main> Reviewed commits have been landed. Closing PR #16718 and removing active labels.
rewrite-compile-commands outputs annoying messages. Filed: Bug 260841 – [CMake] rewrite-compile-commands reports a lot of warning messages "Failed to find ..."