Skip writing gclient_args.gni if contents are unchanged to avoid causing rebuild
Running a gclient sync will touch the gclient_args.gni even if unchanged, especially on Windows resulting in an unnecessarily large rebuild of around 20k items. This skips writing the file if the contents are identical to what we're about to write. R=jojwang@google.com, sokcevic@chromium.org Change-Id: Iccf3fc8eeeb114fdf29bf944a8204e47489bc0a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6157476 Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Junji Watanabe <jwata@google.com> Reviewed-by: Junji Watanabe <jwata@google.com>changes/76/6157476/4
parent
af68505dfe
commit
1003acba8f
Loading…
Reference in New Issue