43fb59f4dc
- use package_config.json as marker file for workspace. - workspace can have multiple packages, they can be either PubPackages (marker pubspec.yaml) or BasicWorkspace. - add package info (pubspec) to resolution salt. - removed duplication of finding package_config.json from ContextLocator, as this is now done while creating workspace. - some test/s setup/expectations were changed since we now use package config as marker for workspace instead of pubspec. Change-Id: I091a4a686c6b1d8c14858aefd9843a8d9c8efa25 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/345346 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Keerti Parthasarathy <keertip@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>