aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorJack Moffitt <jack@metajack.im>2015-06-08 16:09:08 -0600
committerJack Moffitt <jack@metajack.im>2015-06-15 11:48:47 -0600
commita0237085c6894cc781bc99469a735206e1e6b127 (patch)
treef0f391d0f60e64b725a078bce2be17ca0bd77633 /python/servo/build_commands.py
parentce30807be594d62b75772eac6356f84089a18c09 (diff)
downloadservo-a0237085c6894cc781bc99469a735206e1e6b127.tar.gz
servo-a0237085c6894cc781bc99469a735206e1e6b127.zip
Use Cargo's target directory sharing.
This speeds up `./mach build --dev` followed by `./mach build-cef` by a large amount, and also speeds up other build combos found in our CI.
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index 6167431ac61..6fd44653603 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -147,7 +147,7 @@ class MachCommands(CommandBase):
opts = params or []
features = []
- base_path = path.join("components", "servo", "target")
+ base_path = self.get_target_dir()
release_path = path.join(base_path, "release", "servo")
dev_path = path.join(base_path, "debug", "servo")