User Tools

Site Tools


Sidebar

Go Back

Refresh

You are not allowed to add pages

Direct Link

library:webkit:building_webkit

This is an old revision of the document!


Building Webkit

1. Windows

- Get the source of webkit

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

1.1 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.2 Generate an environment configurating script and run it

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