[dart2wasm] Add experimental JS interop API for dart2wasm.

This is a fork of `js_util` to support the needs of Wasm. It is very
much a WIP. We're landing this now to facilitate prototyping, and so we
can get a sense of what the right JS interop API might look like for
Wasm.

Change-Id: I8b2ddda07e906f1938d4cd5fe0e63203e9cdd6d5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/230120
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
This commit is contained in:
Joshua Litt
2022-03-30 17:00:20 +00:00
committed by Commit Bot
parent 25b99575df
commit 856fcb9c8c
11 changed files with 366 additions and 3 deletions
+2 -1
View File
@@ -2969,7 +2969,8 @@
"arguments": [
"-ndart2wasm-hostasserts-linux-x64-d8",
"language",
"corelib"
"corelib",
"web/wasm"
],
"shards": 30,
"fileset": "dart2wasm_hostasserts"