forked from mirrors/gecko-dev
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:
parent
32c351567c
commit
535b871eab
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue