mirror of
https://github.com/servo/servo.git
synced 2025-06-29 19:43:39 +01:00
Add magicleap-nightly builder
This commit is contained in:
parent
b1a2b6b5bf
commit
ef2c2f933b
3 changed files with 57 additions and 6 deletions
|
@ -353,14 +353,17 @@ class CommandBase(object):
|
|||
def get_gstreamer_path(self):
|
||||
return path.join(self.context.topdir, "support", "linux", "gstreamer", "gstreamer")
|
||||
|
||||
def get_binary_path(self, release, dev, android=False):
|
||||
def get_binary_path(self, release, dev, android=False, magicleap=False):
|
||||
# TODO(autrilla): this function could still use work - it shouldn't
|
||||
# handle quitting, or printing. It should return the path, or an error.
|
||||
base_path = self.get_target_dir()
|
||||
|
||||
binary_name = "servo" + BIN_SUFFIX
|
||||
|
||||
if android:
|
||||
if magicleap:
|
||||
base_path = path.join(base_path, "aarch64-linux-android")
|
||||
binary_name = "libmlservo.a"
|
||||
elif android:
|
||||
base_path = path.join(base_path, self.config["android"]["target"])
|
||||
binary_name = "libsimpleservo.so"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue