mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Dispatch correct packaging flavor for VR builds
This commit is contained in:
parent
bdaf50e309
commit
2625950ac2
1 changed files with 6 additions and 1 deletions
|
@ -564,8 +564,13 @@ class MachCommands(CommandBase):
|
||||||
# Do some additional things if the build succeeded
|
# Do some additional things if the build succeeded
|
||||||
if status == 0:
|
if status == 0:
|
||||||
if android and not no_package:
|
if android and not no_package:
|
||||||
|
flavor = None
|
||||||
|
if "googlevr" in features:
|
||||||
|
flavor = "googlevr"
|
||||||
|
elif "oculusvr" in features:
|
||||||
|
flavor = "oculusvr"
|
||||||
rv = Registrar.dispatch("package", context=self.context,
|
rv = Registrar.dispatch("package", context=self.context,
|
||||||
release=release, dev=dev, target=target)
|
release=release, dev=dev, target=target, flavor=flavor)
|
||||||
if rv:
|
if rv:
|
||||||
return rv
|
return rv
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue