Slava Egorov 2d3416713f
Cleanup create_updated_flutter_deps.py a bit (#177162)
Make the code for updating Dart dependencies easier to follow by
splitting the logic into helper functions, adding comments and
tweaking logic slightly.

Make it handle all *_git variables uniformly instead of
hardcoding specific ones.

Make it handle the case where *_git variable does not exist
without emitting incorrect result.

Add a unit test to make it simpler to check that script does
reasonable things for all different inputs.
2025-10-20 17:34:11 +00:00
..