Rename {azure,raqote}_backend feature flags to canvas2d-{azure,raqote}

This commit is contained in:
Simon Sapin 2019-07-01 15:23:11 +02:00
parent bddfe9a468
commit 1df2605292
13 changed files with 50 additions and 50 deletions

View file

@ -294,7 +294,7 @@ class MachCommands(CommandBase):
features += ["profilemozjs"]
if with_raqote:
features += ["raqote_backend"]
features += ["canvas2d-raqote"]
if without_wgl:
features += ["no_wgl"]
@ -304,8 +304,8 @@ class MachCommands(CommandBase):
if self.config["build"]["dom-backtrace"]:
features += ["dom-backtrace"]
if "raqote_backend" not in features:
features += ["azure_backend"]
if "canvas2d-raqote" not in features:
features += ["canvas2d-azure"]
if features:
opts += ["--features", "%s" % ' '.join(features)]

View file

@ -264,7 +264,7 @@ class PostBuildCommands(CommandBase):
else:
copy2(full_name, destination)
params += ["--features", "azure_backend"]
params += ["--features", "canvas2d-azure"]
returncode = self.call_rustup_run(
["cargo", "doc", "--manifest-path", self.ports_glutin_manifest()] + params,