blob: d7c192fdbc64b5d25072b9df1afe8d80493d71a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
sync
====
[`sync`](https://skia.googlesource.com/skia.git/+/master/bin/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.
|