Bug 1532695 - Include target.gtest.tests.tar.gz in android builds; r=bc
☠☠ backed out by 7aa54b22f3aa ☠ ☠
authorGeoff Brown <gbrown@mozilla.com>
Mon, 08 Apr 2019 20:16:43 +0000
changeset 468427 b1571c5221831c10d481fec95bdb889bfd32e7b4
parent 468426 59ae6dc11ba316a178ebbb5ad65a809c9118d5a8
child 468428 e0b954c335afc72de98143c7a7d3b0301b1337ca
push id82578
push usergbrown@mozilla.com
push dateMon, 08 Apr 2019 20:17:33 +0000
treeherderautoland@b1571c522183 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbc
bugs1532695
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1532695 - Include target.gtest.tests.tar.gz in android builds; r=bc Differential Revision: https://phabricator.services.mozilla.com/D26587
moz.configure
--- a/moz.configure
+++ b/moz.configure
@@ -315,24 +315,24 @@ def check_objdir_backend_reuse(build_env
                     build_env.topobjdir, prev)
 
 
 option('--disable-gtest-in-build',
        help='Force disable building the gtest libxul during the 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
 
 set_config('LINK_GTEST_DURING_COMPILE', build_gtest)
 
 # Localization
 # ==============================================================
 option('--enable-ui-locale', default='en-US',