Bug 1616630 - Add PYTHON3 to fastermake variables; r=firefox-build-system-reviewers,rstewart
authorMike Shal <mshal@mozilla.com>
Fri, 21 Feb 2020 00:05:04 +0000
changeset 514903 38324526e578991aa0ddb6765497f2949d22e6bc
parent 514902 d55fdb45e7aca86c1f0e39f8e5ea6bd877d6be8c
child 514904 7302618003983e94d9bc5b91930e96aa0deb7ff4
push id37143
push useraiakab@mozilla.com
push dateFri, 21 Feb 2020 05:56:31 +0000
treeherdermozilla-central@0cec40c582f0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfirefox-build-system-reviewers, rstewart
bugs1616630
milestone75.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 1616630 - Add PYTHON3 to fastermake variables; r=firefox-build-system-reviewers,rstewart Without PYTHON3 defined, we can't actually run any GENERATED_FILES scripts in the fastermake backend. Differential Revision: https://phabricator.services.mozilla.com/D63437
python/mozbuild/mozbuild/backend/fastermake.py
--- a/python/mozbuild/mozbuild/backend/fastermake.py
+++ b/python/mozbuild/mozbuild/backend/fastermake.py
@@ -164,16 +164,17 @@ class FasterMakeBackend(MakeBackend, Par
         mk.add_statement('include $(TOPSRCDIR)/config/AB_rCD.mk')
         mk.add_statement('AB_CD = en-US')
         if not self._has_xpidl:
             mk.add_statement('NO_XPIDL = 1')
 
         # Add a few necessary variables inherited from configure
         for var in (
             'PYTHON',
+            'PYTHON3',
             'ACDEFINES',
             'MOZ_BUILD_APP',
             'MOZ_WIDGET_TOOLKIT',
         ):
             value = self.environment.substs.get(var)
             if value is not None:
                 mk.add_statement('%s = %s' % (var, value))