444982f364
Creates a new 'dart:_js_shared_embedded_names' library for the names accessed from the shared 'dart:_rti' library. Migrate all of the shared symbols and uses to the new location. Change-Id: Iaa72c4522888ad630782b921b0b70d7a2626d1b9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/241507 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Mayank Patke <fishythefish@google.com> Commit-Queue: Nicholas Shahan <nshahan@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.