Bug 1410203: Don't build mozharness package when in comm-topdir build, rather than any thunderbird build; r?gps draft
authorTom Prince <mozilla@hocat.ca>
Thu, 19 Oct 2017 10:20:23 -0600
changeset 683441 144cb071be76fa1837cff25a0a2fb27d69392ad3
parent 683249 31af3ee0436093bfd3300e9002f1118df0420309
child 736656 06ecfd923d8271c5514f553cc109f07ca9f33999
push id85385
push userbmo:mozilla@hocat.ca
push dateThu, 19 Oct 2017 19:10:48 +0000
reviewersgps
bugs1410203
milestone58.0a1
Bug 1410203: Don't build mozharness package when in comm-topdir build, rather than any thunderbird build; r?gps MozReview-Commit-ID: 9SBHRWQYnNU
toolkit/mozapps/installer/packager.mk
--- a/toolkit/mozapps/installer/packager.mk
+++ b/toolkit/mozapps/installer/packager.mk
@@ -44,22 +44,22 @@ stage-package: $(MOZ_PKG_MANIFEST) $(MOZ
 		  $(addprefix --js-binary ,$(JS_BINARY)) \
 		) \
 		$(if $(JARLOG_DIR),$(addprefix --jarlog ,$(wildcard $(JARLOG_FILE_AB_CD)))) \
 		$(if $(OPTIMIZEJARS),--optimizejars) \
 		$(addprefix --compress ,$(JAR_COMPRESSION)) \
 		$(MOZ_PKG_MANIFEST) $(DIST) $(DIST)/$(MOZ_PKG_DIR)$(if $(MOZ_PKG_MANIFEST),,$(_BINPATH)) \
 		$(if $(filter omni,$(MOZ_PACKAGER_FORMAT)),$(if $(NON_OMNIJAR_FILES),--non-resource $(NON_OMNIJAR_FILES)))
 	$(PYTHON) $(MOZILLA_DIR)/toolkit/mozapps/installer/find-dupes.py $(DEFINES) $(ACDEFINES) $(MOZ_PKG_DUPEFLAGS) $(DIST)/$(MOZ_PKG_DIR)
-ifndef MOZ_THUNDERBIRD
+ifndef MOZ_IS_COMM_TOPDIR
 	# Package mozharness
 	$(call py_action,test_archive, \
 		mozharness \
 		$(ABS_DIST)/$(PKG_PATH)$(MOZHARNESS_PACKAGE))
-endif # MOZ_THUNDERBIRD
+endif # MOZ_IS_COMM_TOPDIR
 ifdef MOZ_PACKAGE_JSSHELL
 	# Package JavaScript Shell
 	@echo 'Packaging JavaScript Shell...'
 	$(RM) $(PKG_JSSHELL)
 	$(MAKE_JSSHELL)
 endif # MOZ_PACKAGE_JSSHELL
 ifdef MOZ_ARTIFACT_BUILD_SYMBOLS
 	@echo 'Packaging existing crashreporter symbols from artifact build...'