Migrate to use pub workspace

Use `pub get` to generate `.dart_tool/package_config.json` on gclient sync.

All pkg/ (and a few third_party) packages that are developed inside the sdk repo are included in the workspace from the root `pubspec.yaml`.

All dependencies that are pulled in via DEPS are added as path dependencies via `dependency_overrides` in the root `pubspec.yaml`.

Bug: https://github.com/dart-lang/sdk/issues/56220
Change-Id: I38c12b608c68da54c57821116cf9aa6696936746
Tested: relies on CQ of existing tests. Should have no effect on functionality
CoreLibraryReviewExempt: only core library change is adding a `// ignore:` comment. Should have no influence on functionality
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/397164
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
This commit is contained in:
Sigurd Meldgaard
2025-03-14 05:21:40 -07:00
committed by Commit Queue
parent 424cf1bd53
commit b9b77058a9
73 changed files with 536 additions and 816 deletions
+2
View File
@@ -7,6 +7,8 @@ publish_to: none
environment:
sdk: ^3.5.0
resolution: workspace
# Use 'any' constraints here; we get our versions from the DEPS file.
dev_dependency:
lints: any