зеркало из https://github.com/mozilla/gecko-dev.git
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 : ab4588468939358a41d255dea3a01a8542e35a0e
This commit is contained in:
Родитель
40227a4890
Коммит
d9caceac2d
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче