Skip to content

Commit

Permalink
Set the target when packaging for magicleap
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Jeffrey committed Mar 27, 2019
1 parent 0cb87cc commit 733ff95
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/servo/package_commands.py
Expand Up @@ -212,6 +212,11 @@ def package(self, release=False, dev=False, android=None, magicleap=None, debug=
android = self.handle_android_target(target)
else:
target = self.config["android"]["target"]
if target and magicleap:
print("Please specify either --target or --magicleap.")
sys.exit(1)
if magicleap:
target = "aarch64-linux-android"
env = self.build_env(target=target)
binary_path = self.get_binary_path(release, dev, android=android, magicleap=magicleap)
dir_to_root = self.get_top_dir()
Expand Down

0 comments on commit 733ff95

Please sign in to comment.