dart-sdk/tools/buildtools
Nate Bosch 55f81f2210 Mass format python with yapf
- Add `.style.yapf` with configuration to use Google style.
- Run `yapf` on all `.py` files in this repo.
- Manually fix one trailing space in a doc string.
- Run `git cl format runtime` to satisfy presubmit.

Change-Id: I7e6bd11e91f07926b9188362599af398551eed79
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111600
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2019-08-05 20:34:31 +00:00
..
win [infra] Roll toolchain. 2018-03-01 20:09:29 +00:00
README.md [infra] Update Clang toolchain and GN 2018-11-29 15:37:40 +00:00
update.py Mass format python with yapf 2019-08-05 20:34:31 +00:00

To build Dart for Mac and Linux, we pull Fuchsia's buildtools, which is also used by Flutter. Fuchsia's buildtools includes gn, and the clang toolchain. Fuchsia buildtools vends clang-format as part of the clang toolchain. Since Fuchsia's buildtools doesn't vend a clang toolchain for Windows, we can't get a Windows clang-format binary from it. Therefore, from Chromium's buildtools here:

https://chromium.googlesource.com/chromium/buildtools

we copy the hash file for its Windows clang-format binary, and pull it down from google storage in the update.py script in this directory.

To update to a newer Windows clang-format binary, simply overwrite the hash in clang-format.exe.sha1 with a newer one, and then do a 'gclient sync'.