Re-land SDK detection changes with support for running from PATH #6824
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The first commit (f21229b) here is a straight re-land of #6776 (a revert of the revert at #6820 / 79cde66).
The second commit (a5103ad) adds an env variable you can set to force devtools_tool to use Dart/Flutter from
PATHrather than the one from tool/flutter-sdk, and sets it in the flutter_customer_tests script.I made this explicit so it's difficult to do accidentally, because I think outside of the Flutter customer tests, we do generally want everything to use the pinned version.
@kenzieschmoll