remove unused members in executable libs (#107464)
This commit is contained in:
committed by
GitHub
parent
cfff88b26a
commit
93a74ca9f2
@@ -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 {
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -145,8 +145,6 @@ CommandArgs cmd({
|
||||
);
|
||||
}
|
||||
|
||||
typedef ExitErrorFactory = dynamic Function();
|
||||
|
||||
@immutable
|
||||
class CommandArgs {
|
||||
const CommandArgs({ required this.command, this.arguments, this.environment });
|
||||
|
||||
Reference in New Issue
Block a user