Open
Description
Currently tools/generate_package_config.dart
results in a lot of test and some examples packages from "third party" repositories being added to the .dart_tool/package_config.json
.
For example, it happens for package:webdev
which doesn't have a pubspec in the root directory, so a lot of first level test packages and even more in /fixtures
end up included.
I'm not sure if these and various other packages are needed in testing or something, but if not, it would be nice to not add these to the package config. They end up increasing the analysis context size unnecessarily, increasing the likelihood of suggesting irrelevant results and increasing memory usage while developing various parts of the SDK.