My favorites | Sign in
Logo
             
Search
for
Updated Sep 25, 2009 by evan.martin
UsingWebKitGit  
Using WebKit from Git with Chrome

If you clone git.webkit.org into third_party/WebKit, you can use Git within your Chrome tree to work on WebKit.

Setup

http://trac.webkit.org/wiki/UsingGitWithWebKit describes git checkout steps for WebKit.

  1. rm -rf third_party/WebKit
  2. git clone git://git.webkit.org/WebKit.git third_party/WebKit
  3. edit your .gclient "custom_deps" section to exclude components underneath third_party/WebKit. See the "contributing to WebKit" page for the list, but with the first line instead like

          "src/third_party/WebKit": None,

  4. see update steps below.

Updating

Whenever you run gclient sync, also run tools/sync-webkit-git.py and follow its instructions.

FAQ

Q. Why not add this functionality to gclient itself?

A. DEPS actually specifies to only pull some subdirectories of third_party/WebKit. So even if gclient supported git, we'd still need to special-case WebKit.