aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo')
-rw-r--r--python/servo/build_commands.py3
-rw-r--r--python/servo/post_build_commands.py2
2 files changed, 5 insertions, 0 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index 05e8db0bfdc..51709be6834 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -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)]
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index 4d27475f74b..42e2ad84cb4 100644
--- a/python/servo/post_build_commands.py
+++ b/python/servo/post_build_commands.py
@@ -264,6 +264,8 @@ class PostBuildCommands(CommandBase):
else:
copy2(full_name, destination)
+ params += ["--features", "azure_backend"]
+
returncode = self.call_rustup_run(
["cargo", "doc", "--manifest-path", self.ports_glutin_manifest()] + params,
env=self.build_env())