Bug 1367519 - Enable geckodriver on Linux i686 r?ted,whimboo
This patch enables building of geckodriver in CI on Linux i686.
MozReview-Commit-ID: GkdHDJrzh2X
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -1109,19 +1109,18 @@ set_config('ENABLE_MARIONETTE', marionet
# geckodriver WebDriver implementation
# ==============================================================
option('--enable-geckodriver', help='Enable WebDriver implementation')
@depends('--enable-geckodriver',
'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
developers to use.
At the present time, we want individual developers to be able to
opt-in to building geckodriver locally, and for it to be enabled by
default on supported CI build platforms.
@@ -1129,18 +1128,17 @@ def geckodriver(enable, automation, comp
if enable:
if not compile_env:
die("--enable-geckodriver is not available without a compile "
"environment. A geckodriver binary will be downloaded during "
"an artifact build by default where available.")
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
set_config('ENABLE_GECKODRIVER', geckodriver)
# WebRTC
# ========================================================