Bug 1371871 - Do not process XPIDL in the tup backend during an artifact build. r=mshal
authorChris Manchester <cmanchester@mozilla.com>
Wed, 21 Jun 2017 16:20:18 -0700
changeset 365399 13e4d84bb4e9809f24b1a9a80de5bb51ff25c798
parent 365398 da33901ca34a26e2cd5f3bbd8cf70d1ea9868a88
child 365400 4807dbbaccc30e6816b19525c786dcda1ffbea32
push id32071
push usercbook@mozilla.com
push dateThu, 22 Jun 2017 10:45:43 +0000
treeherdermozilla-central@71733bc984a1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1371871
milestone56.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 1371871 - Do not process XPIDL in the tup backend during an artifact build. r=mshal MozReview-Commit-ID: AtnXcv6iPRD
python/mozbuild/mozbuild/backend/tup.py
--- a/python/mozbuild/mozbuild/backend/tup.py
+++ b/python/mozbuild/mozbuild/backend/tup.py
@@ -374,16 +374,19 @@ class TupOnly(CommonBackend, PartialBack
 
     def _process_final_target_pp_files(self, obj, backend_file):
         for i, (path, files) in enumerate(obj.files.walk()):
             for f in files:
                 self._preprocess(backend_file, f.full_path,
                                  destdir=mozpath.join(self.environment.topobjdir, obj.install_target, path))
 
     def _handle_idl_manager(self, manager):
+        if self.environment.is_artifact_build:
+            return
+
         dist_idl_backend_file = self._get_backend_file('dist/idl')
         for idl in manager.idls.values():
             dist_idl_backend_file.symlink_rule(idl['source'], output_group=self._installed_files)
 
         backend_file = self._get_backend_file('xpcom/xpidl')
         backend_file.export_shell()
 
         for module, data in sorted(manager.modules.iteritems()):