Bug 1414401 - Enable geckodriver on Linux i686 r=ted,whimboo

This patch enables building of geckodriver in CI on Linux i686.

MozReview-Commit-ID: GkdHDJrzh2X

--HG--
extra : rebase_source : 3202702d8ae3423079aad512a3d7c8dc8e7408a3
This commit is contained in:
Andreas Tolfsen 2017-11-03 14:13:06 +00:00
parent 36c3e9c780
commit 16c97746d1

View File

@ -1114,9 +1114,8 @@ option('--enable-geckodriver', help='Enable WebDriver implementation')
'MOZ_AUTOMATION',
compile_environment,
cross_compiling,
hazard_analysis,
target)
def geckodriver(enable, automation, compile_env, cross_compile, hazard, target):
hazard_analysis)
def geckodriver(enable, automation, compile_env, cross_compile, hazard):
"""
geckodriver is implied on supported platforms when MOZ_AUTOMATION
is set, but we also provide the --enable-geckodriver option for
@ -1134,8 +1133,7 @@ def geckodriver(enable, automation, compile_env, cross_compile, hazard, target):
return True
if enable.origin == 'default':
linux32 = target.kernel == 'Linux' and target.cpu == 'x86'
broken_platforms = cross_compile or linux32 or hazard
broken_platforms = cross_compile or hazard
if automation and compile_env and not broken_platforms:
return True