new android port: fix android build and tests

This commit is contained in:
Paul Rouget 2018-07-31 22:38:54 +08:00
parent 76d394eca8
commit bef2fe83cd
9 changed files with 43 additions and 39 deletions

View file

@ -185,7 +185,6 @@ class MachCommands(CommandBase):
debug_mozjs=False, params=None, with_debug_assertions=False):
opts = params or []
opts += ["--manifest-path", self.servo_manifest()]
if android is None:
android = self.config["build"]["android"]
@ -420,4 +419,4 @@ class MachCommands(CommandBase):
opts += ["-v"]
opts += params
return check_call(["cargo", "clean"] + opts,
env=self.build_env(), cwd=self.servo_crate(), verbose=verbose)
env=self.build_env(), cwd=self.ports_servo_crate(), verbose=verbose)