mirror of
https://github.com/servo/servo.git
synced 2025-06-28 19:13:41 +01:00
Add cargo feature to control canvas backend.
This commit is contained in:
parent
42bf1984be
commit
3243f1753b
11 changed files with 1077 additions and 816 deletions
|
@ -296,6 +296,9 @@ class MachCommands(CommandBase):
|
|||
if self.config["build"]["dom-backtrace"]:
|
||||
features += ["dom-backtrace"]
|
||||
|
||||
if "raqote_backend" not in features:
|
||||
features += ["azure_backend"]
|
||||
|
||||
if features:
|
||||
opts += ["--features", "%s" % ' '.join(features)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue