mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 19:49:47 +00:00
031e77eea1
We no longer rely on Fuchsia's buildtools, instead we directly fetch Clang and GN packages from CIPD using gclient support. Change-Id: I8995d89babf9c3c6b30214a1133e7b0a1cb9a796 Reviewed-on: https://dart-review.googlesource.com/c/85416 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Zach Anderson <zra@google.com>
15 lines
735 B
Markdown
15 lines
735 B
Markdown
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'.
|