Bug 1328164 - Make packaging errors non-fatal for artifact builds. r=rjl
authorGeoff Lankow <geoff@darktrojan.net>
Wed, 26 Jun 2019 20:36:58 +1200
changeset 35966 f046db4f15a11591875a9ec4b534d5379585a658
parent 35965 840547c2b3203c96b7aed00c995411b20bd23c5b
child 35967 ca15c222cd1e74e1e1115dc2b346859b239f8f50
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersrjl
bugs1328164
Bug 1328164 - Make packaging errors non-fatal for artifact builds. r=rjl
mail/installer/Makefile.in
--- a/mail/installer/Makefile.in
+++ b/mail/installer/Makefile.in
@@ -10,16 +10,22 @@ include $(moztopsrcdir)/config/rules.mk
 MOZ_PKG_REMOVALS = $(srcdir)/removed-files.in
 
 MOZ_PKG_MANIFEST = $(srcdir)/package-manifest.in
 # Some files have been already bundled with xulrunner
 ifndef SYSTEM_LIBXUL
 MOZ_PKG_FATAL_WARNINGS = 1
 endif
 
+# When packaging an artifact build not all xpt files expected by the
+# packager will be present.
+ifdef MOZ_ARTIFACT_BUILDS
+MOZ_PKG_FATAL_WARNINGS =
+endif
+
 DEFINES += -DPKG_LOCALE_MANIFEST=$(commtopobjdir)/mail/installer/locale-manifest.in
 MOZ_CHROME_LOCALE_ENTRIES=@RESPATH@/chrome/
 
 MOZ_PKG_DUPEFLAGS = \
 	-f $(srcdir)/allowed-dupes.mn \
 	-f $(moztopsrcdir)/browser/installer/allowed-dupes.mn \
 	$(NULL)