User Tools

Site Tools


Sidebar

Go Back

Refresh

You are not allowed to add pages

Direct Link

library:webkit:building_webkit

Building Webkit

1. Windows

1.1 Get the source of webkit

git clone https://gitee.com/mirrors/WebKit.git

1.2 Install dependency

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

choco install -y cmake ActivePerl python ruby git gperf ninja svn patch diffutils

1.3 Generate an environment configurating script and run it

setenv.bat
set WEBKIT_LIBRARIES=%cd%\WebKitLibraries\win
set WEBKIT_OUTPUTDIR=%cd%\WebKitBuild
library/webkit/building_webkit.txt · Last modified: 2022/08/16 02:32 by lhaosen