blob: addd766fa5389a7b892e9c95d88d9b240a671099 [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 FlutterRunnerTarget extends VmTarget {
FlutterRunnerTarget(TargetFlags flags) : super(flags);
String get name => 'flutter_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 flutter_runner.
List<String> get extraRequiredLibrariesPlatform => const <String>[];