blob: 995d484422b77d6192686f14f0cfc08e7a88c63a [file] [log] [blame]
// Copyright (c) 2018, 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.
import 'package:kernel/target/targets.dart';
import 'package:vm/target/vm.dart' show VmTarget;
class DartRunnerTarget extends VmTarget {
DartRunnerTarget(TargetFlags flags) : super(flags);
String get name => 'dart_runner';
bool get enableSuperMixins => true;
// This is the order that bootstrap libraries are loaded according to
// `runtime/vm/object_store.h`.
List<String> get extraRequiredLibraries => const <String>[
// The library dart:mirrors may be ignored by the VM, e.g. when built in
// PRODUCT mode.
// Required for dart_runner.
List<String> get extraRequiredLibrariesPlatform => const <String>[];