remove unused members in executable libs (#107464)

This commit is contained in:
Alexandre Ardhuin
2022-07-12 23:41:08 +02:00
committed by GitHub
parent cfff88b26a
commit 93a74ca9f2
15 changed files with 2 additions and 87 deletions

View File

@@ -12,10 +12,6 @@ import 'package:path/path.dart' as path;
final String platformLineSep = Platform.isWindows ? '\r\n': '\n';
final String gradlew = Platform.isWindows ? 'gradlew.bat' : 'gradlew';
final String gradlewExecutable = Platform.isWindows ? '.\\$gradlew' : './$gradlew';
/// Tests that AARs can be built on module projects.
Future<void> main() async {
await task(() async {

View File

@@ -8,7 +8,6 @@ import 'package:flutter_devicelab/framework/utils.dart';
import 'package:flutter_devicelab/tasks/perf_tests.dart';
const String kPackageName = 'com.example.macrobenchmarks';
const String kActivityName = 'com.example.macrobenchmarks.MainActivity';
class FastScrollHeavyGridViewMemoryTest extends MemoryTest {
FastScrollHeavyGridViewMemoryTest()

View File

@@ -8,7 +8,6 @@ import 'package:flutter_devicelab/framework/utils.dart';
import 'package:flutter_devicelab/tasks/perf_tests.dart';
const String kPackageName = 'com.example.macrobenchmarks';
const String kActivityName = 'com.example.macrobenchmarks.MainActivity';
class FastScrollLargeImagesMemoryTest extends MemoryTest {
FastScrollLargeImagesMemoryTest()

View File

@@ -16,9 +16,6 @@ Future<void> main() async {
await task(const NewGalleryChromeRunTest().run);
}
/// URI for the New Flutter Gallery repository.
const String galleryRepo = 'https://github.com/flutter/gallery.git';
/// After the gallery loads, a duration of [durationToWaitForError]
/// is waited, allowing any possible exceptions to be thrown.
const Duration durationToWaitForError = Duration(seconds: 5);

View File

@@ -145,8 +145,6 @@ CommandArgs cmd({
);
}
typedef ExitErrorFactory = dynamic Function();
@immutable
class CommandArgs {
const CommandArgs({ required this.command, this.arguments, this.environment });