mirror of
https://github.com/servo/servo.git
synced 2025-06-11 10:00:18 +00:00
Raise an error if ML SDK doesn't exist.
This commit is contained in:
parent
50bce03b4b
commit
1990a22a1b
1 changed files with 2 additions and 0 deletions
|
@ -518,6 +518,8 @@ class MachCommands(CommandBase):
|
|||
ml_sdk = env.get("MAGICLEAP_SDK")
|
||||
if not ml_sdk:
|
||||
raise Exception("Magic Leap builds need the MAGICLEAP_SDK environment variable")
|
||||
if not os.path.exists(ml_sdk):
|
||||
raise Exception("Path specified by MAGICLEAP_SDK does not exist.")
|
||||
|
||||
ml_support = path.join(self.get_top_dir(), "support", "magicleap")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue