3396a7b92a
Change-Id: If2a398bc8020438b7c46e58cba03180bfa61b660 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407180 Commit-Queue: Mark Zhou <markzipan@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com>
16 lines
634 B
Dart
16 lines
634 B
Dart
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
// Contains runtime utils for reload tests.
|
|
//
|
|
// Should be imported directly by test files, not test runners.
|
|
|
|
export 'src/_reload_utils_api.dart'
|
|
if (dart.library.io) 'src/_vm_reload_utils.dart'
|
|
if (dart.library.js_interop) 'src/_ddc_reload_utils.dart';
|
|
|
|
bool get isVmRuntime => const bool.fromEnvironment('dart.library.io');
|
|
|
|
bool get isDdcRuntime => const bool.fromEnvironment('dart.library.js_interop');
|