Bug 1371871 - Do not process XPIDL in the tup backend during an artifact build. draft
authorChris Manchester <cmanchester@mozilla.com>
Wed, 21 Jun 2017 16:20:18 -0700
changeset 598644 cbce12ec8e2232811a0500a531d8a50ca6d08c4b
parent 598643 bd70e883329d5d5ccd49e753f4b6a4b9c5a27539
child 598645 a5d66ebbe3692096b04535886aafaadb4619eb50
push id65269
push userbmo:cmanchester@mozilla.com
push dateWed, 21 Jun 2017 23:20:46 +0000
bugs1371871
milestone56.0a1
Bug 1371871 - Do not process XPIDL in the tup backend during an artifact build. 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()):