Bug 1532695 - Include target.gtest.tests.tar.gz in android builds; r=bc

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Geoff Brown 2019-04-08 22:02:45 +00:00
Родитель 756e9d9e2a
Коммит 59465ef1a7
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -320,14 +320,14 @@ option('--disable-gtest-in-build',
when='--enable-compile-environment')
# Determine whether to build the gtest xul. This happens in automation
# on Desktop platforms with the exception of Windows PGO, where linking
# xul-gtest.dll takes too long.
# on Android and Desktop platforms with the exception of Windows PGO, where
# linking xul-gtest.dll takes too long.
@depends('MOZ_PGO', build_project, target, 'MOZ_AUTOMATION', '--disable-gtest-in-build',
enable_tests, when='--enable-compile-environment')
def build_gtest(pgo, build_project, target, automation, enabled, enable_tests):
if not enable_tests or not enabled:
return None
if (automation and build_project == 'browser' and
if (automation and build_project in ('browser', 'mobile/android') and
not (pgo and target.os == 'WINNT')):
return True