Files
sdk/tools/sdks/README
T
Alexander Thomas dcf10816aa [infra] Add script that updates checked in SDKs
Change-Id: I9de6489dbe613455476cd4c19db4b951456a87cf
Reviewed-on: https://dart-review.googlesource.com/53100
Reviewed-by: Jonas Termansen <sortie@google.com>
2018-05-01 18:50:31 +00:00

20 lines
1.1 KiB
Plaintext

This directory contains the hashes of tar.gz files uploaded to cloud storage.
Hooks in the DEPS files run "download_from_google_storage" to download these
tarfiles, and unpack them. These tar files contain a stable Dart SDK, which
is used to build the observatory and to run the test scripts.
The hooks use the --auto-platform feature, so that only the SDK for the
current platform (linux, macos, or windows) is downloaded. This requires
the subdirectories to have the special names "linux", "win", and "mac", which
the download script is hardcoded to recognize.
The linux SDK has two extra dart executables added to the bin directory.
'dart-arm' and 'dart-arm64' are executables compiled to run on
arm and arm64 (aarch64) processors, respectively. We are currently
using the 32-bit ia32 build as the default on windows, and the 64-bit x64
build as the default on linux and macos.
To upload new versions of these tar files, run "./update.sh" in this directory.
Because these SDKs are used for the presubmit dartfmt check on changed files,
they may need to be updated often when dartfmt is changing rapidly.