Print the full path for errors occurring in the servo crate

This commit is contained in:
tigercosmos 2017-10-25 23:31:21 +08:00
parent c494d25e24
commit a0ae81610d
7 changed files with 29 additions and 19 deletions

View file

@ -545,6 +545,15 @@ class CommandBase(object):
def servo_crate(self):
return path.join(self.context.topdir, "ports", "servo")
def servo_manifest(self):
return path.join(self.context.topdir, "ports", "servo", "Cargo.toml")
def geckolib_manifest(self):
return path.join(self.context.topdir, "ports", "geckolib", "Cargo.toml")
def cef_manifest(self):
return path.join(self.context.topdir, "ports", "cef", "Cargo.toml")
def servo_features(self):
"""Return a list of optional features to enable for the Servo crate"""
features = []