3196571c9b
Some features in `dart:_wasm` are relevant for all WebAssembly targets (like interop types or memory intrinsics). Others, in particular the helper methods to convert between `WasmExternRef` and `JSAny`, don't make sense for the standalone target. To be able to remove the `js_interop` library from the standalone target, we need to stop importing it from `dart:_wasm`. To prepare that step, this moves the helpers to a new library (`dart:_js_interop_wasm`) and re-exports them from `dart:_wasm`. Once Flutter has migrated to the new import, the export can be removed. Bug: https://github.com/dart-lang/sdk/issues/63166 Change-Id: I13fe875e509a13d16c48d420a5927d3130b90736 Cq-Include-Trybots: luci.dart.try:flutter-analyze-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/505080 Reviewed-by: Martin Kustermann <kustermann@google.com> Auto-Submit: Simon Binder <oss@simonbinder.eu> Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Slava Egorov <vegorov@google.com>