commit | 4c8d0040fca0fff675b487618ebaa8b7a8259858 | [log] [tgz] |
---|---|---|
author | Zachary Anderson <zanderso@users.noreply.github.com> | Fri Feb 09 08:26:24 2024 -0800 |
committer | GitHub <noreply@github.com> | Fri Feb 09 08:26:24 2024 -0800 |
tree | 74a4884a6c2ff01d9114a76506f5ec065cf4e0c6 | |
parent | 97f7dc4422e6886bcde7b7b245557c214cc6591e [diff] |
Changes to support RBE in Windows builds (#820) This PR does a few things: 1. It changes how the Windows toolchain and SDK are fetched and where they are stored. Previously, the Windows toolchain and SDK were downloaded under `depot_tools`, which typically exists outside of the engine source root both locally and in CI. That setup makes the Windows SDK inaccessible to RBE builds. Instead, this PR checks out `depot_tools` under `flutter/third_party/depot_tools` by listing it in the `DEPS` file. This location is under the engine source root, and is therefore accessible to RBE builds. This change has the downside of breaking how CI does caching of the `depot_tools` Windows toolchain and SDK, which will add some time to builds. 2. It updates Windows GN toolchain setup logic to match what is in the Chrome tree. Updates to `build/find_depot_tools.py`, `build/toolchain/win/BUILD.gn`, and `build/toolchain/win/setup_toolchain.py` are copied from there and adapted to the Flutter engine repo.
Build environment for the Flutter engine
This repository is used by the flutter/engine repository. For instructions on how to use it, see that repository's CONTRIBUTING.md file.
To update your checkout to use the latest buildroot, run gclient sync
.
To submit patches to this buildroot repository, create a branch, push to that branch, then submit a PR on GitHub for that branch.
To point the engine to a new version of buildroot after your patch is merged, update the buildroot hash in the engine's DEPS file.