aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2014-12-02 14:33:23 -0800
committerSimon Sapin <simon.sapin@exyr.org>2014-12-02 18:04:06 -0800
commitcc4ea7507f9a4b51833f3134817d3870a6142d22 (patch)
treee3c1b169718cde75bfb0d1e0e574f1cee49aba1d /python/servo/command_base.py
parentff4877b4734c5a95921f63bb7b516e06a9223cbe (diff)
downloadservo-cc4ea7507f9a4b51833f3134817d3870a6142d22.tar.gz
servo-cc4ea7507f9a4b51833f3134817d3870a6142d22.zip
Make build system more independent of current directory.
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 8dc872e8656..a34104b734e 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -142,6 +142,9 @@ class CommandBase(object):
return env
+ def servo_crate(self):
+ return path.join(self.context.topdir, "components", "servo")
+
def ensure_bootstrapped(self):
if self.context.bootstrapped:
return