For open source builds, it seems you must first run build-webkit at the command line because copy-webkitlibraries-to-product-directory is never invoked by the Xcode projects. However, build-webkit doesn't expose any way to change the build root. This is a pain if you have a feature flag and want one svn checkout but two build directories to test the build with/without the flag enabled. So I have to manually execute the script: perl Tools/Scripts/copy-webkitlibraries-to-product-directory --wksi /Users/bburg/repos/webkit-patches/OpenSource/WebKitBuild/Vanilla/Debug Is there something I'm missing here?
I can't directly verify this bug anymore, but it seems it should be fixed by the adjustments to product directory lookup made awhile ago. *** This bug has been marked as a duplicate of bug 132619 ***
copy-webkitlibraries-to-product-directory is now executed as a build pre-action when you're using a workspace. I'm not sure when that was added.
(In reply to comment #2) > copy-webkitlibraries-to-product-directory is now executed as a build > pre-action when you're using a workspace. The WebKit workspace, that is.
One more thing to note: you actually can tell build-webkit to use a different build directory by setting $WEBKIT_OUTPUTDIR in the environment.