b9b77058a9
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>
Package js_shared:
This code is a compile time dependency of dart2js and DDC. It is imported as
a package: import by both compilers.
There is an exact copy in the SDK of the libraries in the
pkg/js_shared/lib/synced sub-directory.
Those libraries are imported as dart: imports by the dart2js and DDC runtime
libraries.
Important: all code under pkg/js_shared/lib/synced must be kept in sync with
the runtime (in sdk/lib/_internal/js_shared/lib/synced) at all times. The
test/in_sync_test.dart test verifies this.