From cb5865d86c641a6d36c2d201909e8898820fbccd Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Tue, 20 Oct 2020 09:50:31 -0700 Subject: [PATCH] [flutter_tools] add some versions to tool sources, cleanup build.yaml (#68624) --- packages/flutter_tools/bin/tool_backend.dart | 2 ++ packages/flutter_tools/build.yaml | 8 -------- packages/flutter_tools/tool/daemon_client.dart | 2 ++ packages/flutter_tools/tool/global_count.dart | 2 ++ packages/flutter_tools/tool/screenshot_decoder.dart | 2 ++ packages/flutter_tools/tool/unit_coverage.dart | 2 ++ 6 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 packages/flutter_tools/build.yaml diff --git a/packages/flutter_tools/bin/tool_backend.dart b/packages/flutter_tools/bin/tool_backend.dart index 9df4aa01017..678d10a0050 100644 --- a/packages/flutter_tools/bin/tool_backend.dart +++ b/packages/flutter_tools/bin/tool_backend.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// @dart = 2.9 + // Do not add package imports to this file. import 'dart:convert'; // ignore: dart_convert_import. import 'dart:io'; // ignore: dart_io_import. diff --git a/packages/flutter_tools/build.yaml b/packages/flutter_tools/build.yaml deleted file mode 100644 index c2d33c80433..00000000000 --- a/packages/flutter_tools/build.yaml +++ /dev/null @@ -1,8 +0,0 @@ -targets: - $default: - builders: - build_web_compilers|entrypoint: - enabled: false - sources: - exclude: - - "test/data/**" diff --git a/packages/flutter_tools/tool/daemon_client.dart b/packages/flutter_tools/tool/daemon_client.dart index 1c3b5efe175..abc9e585622 100644 --- a/packages/flutter_tools/tool/daemon_client.dart +++ b/packages/flutter_tools/tool/daemon_client.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io'; diff --git a/packages/flutter_tools/tool/global_count.dart b/packages/flutter_tools/tool/global_count.dart index 89b18dc3a1a..a1c269e3cef 100644 --- a/packages/flutter_tools/tool/global_count.dart +++ b/packages/flutter_tools/tool/global_count.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:path/path.dart' as path; diff --git a/packages/flutter_tools/tool/screenshot_decoder.dart b/packages/flutter_tools/tool/screenshot_decoder.dart index 9e09e80a7d2..47eb1578198 100644 --- a/packages/flutter_tools/tool/screenshot_decoder.dart +++ b/packages/flutter_tools/tool/screenshot_decoder.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io'; diff --git a/packages/flutter_tools/tool/unit_coverage.dart b/packages/flutter_tools/tool/unit_coverage.dart index 7f36c36d254..1e7518c968c 100644 --- a/packages/flutter_tools/tool/unit_coverage.dart +++ b/packages/flutter_tools/tool/unit_coverage.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; /// Produces a per-library coverage summary when fed an lcov file, sorted by