skia2/site/dev/design/sync.md
Hal Canary 64dded3d95 Documentation: more gn, less gyp
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4698
NOTRY=true
DOCS_PREVIEW= https://skia.org/?cl=4698

Change-Id: I03100542752a769060a7f0c9671cc44acbea2e48
Reviewed-on: https://skia-review.googlesource.com/4698
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Hal Canary <halcanary@google.com>
2016-11-11 16:59:14 +00:00

575 B

sync

sync is a Python program that wraps gclient sync and fetch-gn. Motivations for using it:

  • Written in Python, so it will work on all platforms.

  • Sets up gclient better than gclient config, which has been broken.

  • Checks to see if the DEPS file has changed since it last ran gclient sync. If not, it skips that step.

  • Calls fetch-gn if needed.

  • Since running sync is fast when it can do nothing, it is easy to do before every recompile of Skia. This is a good habit.