diff options
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r-- | python/servo/command_base.py | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index bf3c027a3bd..f27431fbadd 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -356,17 +356,14 @@ class CommandBase(object): build_type = "release" if release else "debug" return path.join(base_path, build_type, apk_name) - def get_binary_path(self, release, dev, target=None, android=False, magicleap=False, simpleservo=False): + def get_binary_path(self, release, dev, target=None, android=False, simpleservo=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 magicleap: - base_path = path.join(base_path, "magicleap", "aarch64-linux-android") - binary_name = "libmlservo.a" - elif android: + if android: base_path = path.join(base_path, "android", self.config["android"]["target"]) simpleservo = True elif target: @@ -862,17 +859,13 @@ install them, let us know by filing a bug!") decorated_function = decorator(decorated_function) return decorated_function - def pick_target_triple(self, target, android, magicleap): + def pick_target_triple(self, target, android): if android is None: android = self.config["build"]["android"] if target and android: assert self.handle_android_target(target) if android and not target: target = self.config["android"]["target"] - if magicleap and not target: - target = "aarch64-linux-android" - if target and not android and not magicleap: - android = self.handle_android_target(target) return target, android # A guess about which platforms should use the gstreamer media stack @@ -894,14 +887,14 @@ install them, let us know by filing a bug!") def run_cargo_build_like_command( self, command, cargo_args, env=None, verbose=False, - target=None, android=False, magicleap=False, libsimpleservo=False, + target=None, android=False, libsimpleservo=False, features=None, debug_mozjs=False, with_debug_assertions=False, with_frame_pointer=False, without_wgl=False, with_layout_2020=False, with_layout_2013=False, uwp=False, media_stack=None, ): env = env or self.build_env() - target, android = self.pick_target_triple(target, android, magicleap) + target, android = self.pick_target_triple(target, android) args = [] if "--manifest-path" not in cargo_args: @@ -926,8 +919,6 @@ install them, let us know by filing a bug!") if "-p" not in cargo_args: # We're building specific package, that may not have features if self.config["build"]["debug-mozjs"] or debug_mozjs: features.append("debugmozjs") - if not magicleap: - features.append("native-bluetooth") if uwp: features.append("no-wgl") features.append("uwp") |