mirror of
https://github.com/servo/servo.git
synced 2025-06-29 03:23:41 +01:00
Rename {azure,raqote}_backend feature flags to canvas2d-{azure,raqote}
This commit is contained in:
parent
bddfe9a468
commit
1df2605292
13 changed files with 50 additions and 50 deletions
|
@ -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)]
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue