Implement ./mach check --media-stack

While at it, extract --media-stack flag into command_base.py.
This commit is contained in:
Tuncer Ayaz 2019-11-19 15:10:47 +00:00
parent ba3169e65d
commit d641585679
4 changed files with 26 additions and 10 deletions

View file

@ -238,10 +238,6 @@ class PostBuildCommands(CommandBase):
@CommandArgument(
'params', nargs='...',
help="Command-line arguments to be passed through to cargo doc")
@CommandArgument('--media-stack',
default=None,
choices=["gstreamer", "dummy"],
help='Which media stack to use')
@CommandBase.build_like_command_arguments
def doc(self, params, features, target=None, android=False, magicleap=False,
media_stack=None, **kwargs):