skia2/site/docs/dev/chrome/repo.md
James Godfrey-Kittle cfe50e2e47 Update docs to reference python3
Also updates a script with 2to3 to be python3-compatible.

Change-Id: I45981349664aef4491e7ab20e49889d461f8bf3f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/538417
Commit-Queue: James Godfrey-Kittle <jamesgk@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2022-05-09 15:07:22 +00:00

761 B


title: "Working in a Chromium repo" linkTitle: "Working in a Chromium repo"


To work on Skia inside a Chromium checkout, run the following:

cd chromium/src/third_party/skia
python3 tools/git-sync-deps
bin/gn gen out/Debug

The second command does a minimal "just sync the DEPS" emulation of gclient sync for Skia into chromium/src/third_party/skia/third_party. After that, ninja -C out/Debug dm in chromium/src/third_party/skia will get you rolling.

We no longer recommend the .gclient file manipulation to have Chromium DEPS also sync Skia's DEPS. Most of those DEPS are for building and testing only; Chromium doesn't need any of them, and it can be confusing and problematic if they somehow get mixed into the Chromium build.