dart.library.js_util -> dart.library.js_interop for web detection

dart2wasm will no longer support `dart:js_util`, so
`dart.library.js_util` will be insufficient for detecting web backends.
`dart:js_interop` is intended to replace it for the foreseeable future,
so until we have an environment variable that more directly reflects
whether the code is compiled with a web backend, we can use
`dart.library.js_interop`.

Bug: https://github.com/dart-lang/sdk/issues/61550
Change-Id: I6a6a69642e6c471e5cab3b1417255a4748b8d072
Reviewed-on: https://dart-review.googlesource.com/c/flute/+/451680
Commit-Queue: Ömer Ağacan <omersa@google.com>
Auto-Submit: Mayank Patke <fishythefish@google.com>
Reviewed-by: Ömer Ağacan <omersa@google.com>
2 files changed
tree: 3a5084a953e26641f8be424c191dc5aab823d355
  1. .github/
  2. benchmarks/
  3. engine/
  4. framework/
  5. script/
  6. .gitignore
  7. analysis_options.yaml
  8. LICENSE
  9. OWNERS
  10. PATENT_GRANT
  11. README.md
README.md

Flute

An extraction from Flutter code, simplified for easier benchmarking of Dart runtimes.

This code is not used for anything except for benchmarking.