It's easy for an Apple engineer to accidentally try to build WebKit from the open-source workspace, rather than an internal workspace which contains extra bits needed to compile WebKit successfully on internal SDKs. The failure mode is pretty cryptic: builds usually fail with missing symbols during linking, etc. Let's check for this condition before building, so build-webkit or Make can fail early with a useful message.
<rdar://problem/99415058>
Pull request: https://github.com/WebKit/WebKit/pull/3901
Committed 254059@main (d398a88b431e): <https://commits.webkit.org/254059@main> Reviewed commits have been landed. Closing PR #3901 and removing active labels.
Committed 254064@main (1c3a52cd871e): <https://commits.webkit.org/254064@main> Reviewed commits have been landed. Closing PR #3927 and removing active labels.
Reverted by https://github.com/WebKit/WebKit/pull/3938
Committed 254083@main (3f0eab0693e7): <https://commits.webkit.org/254083@main> Reviewed commits have been landed. Closing PR #3938 and removing active labels.
Reverted because this change was breaking builds when a Makefile sets WORKSPACE_PATH.
Another thing we could do here, once this is functional, is to have webkitdirs.pm change its default workspace to the internal one when the SDK ends in ".internal".