mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

This is an attempt at a reland of https://github.com/flutter/flutter/pull/141396 The main changes here that are different than the original PR is fixes to wire up the `flutter test` command properly with the web renderer.
33 lines
1.1 KiB
Dart
33 lines
1.1 KiB
Dart
// Copyright 2014 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
import '../base/file_system.dart';
|
|
import '../build_system/build_system.dart';
|
|
import '../build_system/build_targets.dart';
|
|
import '../build_system/targets/common.dart';
|
|
import '../build_system/targets/dart_plugin_registrant.dart';
|
|
import '../build_system/targets/localizations.dart';
|
|
import '../build_system/targets/web.dart';
|
|
import '../web/compiler_config.dart';
|
|
|
|
class BuildTargetsImpl extends BuildTargets {
|
|
const BuildTargetsImpl();
|
|
|
|
@override
|
|
Target get copyFlutterBundle => const CopyFlutterBundle();
|
|
|
|
@override
|
|
Target get releaseCopyFlutterBundle => const ReleaseCopyFlutterBundle();
|
|
|
|
@override
|
|
Target get generateLocalizationsTarget => const GenerateLocalizationsTarget();
|
|
|
|
@override
|
|
Target get dartPluginRegistrantTarget => const DartPluginRegistrantTarget();
|
|
|
|
@override
|
|
Target webServiceWorker(FileSystem fileSystem, List<WebCompilerConfig> compileConfigs) =>
|
|
WebServiceWorker(fileSystem, compileConfigs);
|
|
}
|