Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 54dbe2c9f3dce5c77548e9067d70956b635e7f0c
https://github.com/WebKit/WebKit/commit/54dbe2c9f3dce5c77548e9067d70956b635e7f0c
Author: Ryosei Otaka <[email protected]>
Date: 2026-03-29 (Sun, 29 Mar 2026)
Changed paths:
M Tools/Scripts/webkitdirs.pm
Log Message:
-----------
[Win] WebKit Windows port cannot be built at the root of the drive.
https://bugs.webkit.org/show_bug.cgi?id=311030
Reviewed by Yusuke Suzuki.
If you try to build WebKit at the root of thedrive, you cannot build.
e.g.
If you checkout WebKit/WebKit at `D:\` and you try to build using
`perl Tools\Scripts\build-webkit --release` command, build-webkit runs
`cmake -DPORT="Win" ... ;skia;woff2" "D:"`.
build-webkit uses `D:` to mean `D:\`.
But, on Windows, `D:` means
`Relative path to the current directory on that drive`.
Therefore, cmake understand the path `D:` with
`Relative path to thecurrent directory on that drive`.
And then, vcpkg is looking for `vcpkg.json` at `D:\WebKitBuild\Release\`,
but there are no `vcpkg.json`.
To fix this, webkit-build must add `\` to the end of path.
WRONG : `cmake -DPORT="Win" ... ;skia;woff2" "D:"`
CORRECT : `cmake -DPORT="Win" ... ;skia;woff2" "D:\"`
* Tools/Scripts/webkitdirs.pm:
(generateBuildSystemFromCMakeProject):
Canonical link: https://commits.webkit.org/310200@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications