Instead of using deprecated api to set individual directories.
Pull request: https://github.com/WebKit/WebKit/pull/8824
Committed 259132@main (cf13243c111f): <https://commits.webkit.org/259132@main> Reviewed commits have been landed. Closing PR #8824 and removing active labels.
<rdar://problem/104467322>