mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Unlike Goma, the local RBE server must be manually started and stopped between each `ninja` build. This PR adds the startup and shutdown before and after `ninja` is run in the build config runner. It also removes the RBE startup logic from the `gn` script, which was the wrong place for it since there was no opportunity for it to shutdown the service. Removing this logic from the `gn` script will not affect CI since the recipes already do the right startup and shutdown, and logic in the `gn` script skipped the now deleted section of code.
process_fakes
Fake implementations of Process and ProcessManager for testing.
This is not a great package, and is the bare minimum needed for fairly basic
tooling that uses ProcessManager. If we ever need a more complete solution
we should look at upstreaming flutter_tools/.../fake_proecss_manager.dart