14544a3e2d
Also updates StrongComponents to prefer the main component as the root if it is in a cycle. This makes bootstrapping more predictable. This enables a clean integration of build_runner or ddr (internal) and the frontend_server by allowing it to work with any dev server. All that is needed is a custom .packages file with `http` uris pointing at a dev server which does all code generation, etc. Bug: https://github.com/dart-lang/webdev/issues/865 Change-Id: I14533d71e5f7ddac58d98073cf016c2589165e9f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/132962 Commit-Queue: Sigmund Cherem <sigmund@google.com> Auto-Submit: Jake Macdonald <jakemac@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>