Add x11 backend runner support (#22)

This commit is contained in:
Hidenori Matsubayashi
2021-07-27 14:48:40 +09:00
committed by GitHub
parent 0a3ef762f5
commit d2a2a44002
3 changed files with 37 additions and 12 deletions
+1 -8
View File
@@ -13,14 +13,7 @@ import '../elinux_plugins.dart';
class ELinuxRunCommand extends RunCommand with ELinuxExtension {
ELinuxRunCommand({bool verboseHelp = false})
: super(verboseHelp: verboseHelp) {
argParser.addOption(
'target-backend-type',
defaultsTo: 'wayland',
allowed: <String>['wayland', 'gbm', 'eglstream', 'x11'],
help: 'Target backend type that the app will run on devices.',
);
}
: super(verboseHelp: verboseHelp);
@override
Future<Set<DevelopmentArtifact>> get requiredArtifacts async =>