Bug 1509877 - [raptor] Allow the use of a custom binary for desktop browsers. r=sparky

Depends on D32800

Differential Revision: https://phabricator.services.mozilla.com/D32801

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Henrik Skupin 2019-05-31 00:04:35 +00:00
parent 7ab8eca5d6
commit cb6ce127a9

View File

@ -54,7 +54,7 @@ class RaptorRunner(MozbuildObject):
if conditions.is_android(self) or kwargs["app"] in FIREFOX_ANDROID_BROWSERS:
self.binary_path = None
else:
self.binary_path = self.get_binary_path()
self.binary_path = kwargs.get("binary") or self.get_binary_path()
self.virtualenv_script = os.path.join(self.topsrcdir, 'third_party', 'python',
'virtualenv', 'virtualenv.py')