ifndef ENABLE_TESTS
MOZ_AUTOMATION_PACKAGE_TESTS = 0 endif
ifneq (,$(filter automation/%,$(MAKECMDGOALS))) ifeq (4.0,$(firstword $(sort 4.0 $(MAKE_VERSION)))) MAKEFLAGS += --output-sync=target else .NOTPARALLEL: endif endif
ifndef JS_STANDALONE include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk include $(topsrcdir)/toolkit/mozapps/installer/upload-files.mk
DIST_FILES = endif
tier_MOZ_AUTOMATION_BUILD_SYMBOLS = buildsymbols tier_MOZ_AUTOMATION_L10N_CHECK = l10n-check tier_MOZ_AUTOMATION_PACKAGE = package tier_MOZ_AUTOMATION_PACKAGE_TESTS = package-tests tier_MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES = package-generated-sources tier_MOZ_AUTOMATION_UPLOAD_SYMBOLS = uploadsymbols tier_MOZ_AUTOMATION_UPLOAD = upload
moz_automation_symbols = \ MOZ_AUTOMATION_PACKAGE_TESTS \ MOZ_AUTOMATION_BUILD_SYMBOLS \ MOZ_AUTOMATION_UPLOAD_SYMBOLS \ MOZ_AUTOMATION_PACKAGE \ MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES \ MOZ_AUTOMATION_L10N_CHECK \ MOZ_AUTOMATION_UPLOAD \ $(NULL) MOZ_AUTOMATION_TIERS := $(foreach sym,$(moz_automation_symbols),$(if $(filter 1,$($(sym))),$(tier_$(sym))))
automation/uploadsymbols: automation/buildsymbols
automation/l10n-check: automation/package
automation/upload: automation/package automation/upload: automation/package-tests automation/upload: automation/buildsymbols automation/upload: automation/package-generated-sources
automation/build: $(addprefix automation/,$(MOZ_AUTOMATION_TIERS)) @echo Automation steps completed.
AUTOMATION_EXTRA_CMDLINE-l10n-check = -j1
define automation_commands @+$(MAKE) $1 $(AUTOMATION_EXTRA_CMDLINE-$1) $(call BUILDSTATUS,TIER_FINISH $1) endef
automation-start/%: $(if $(filter $,$(MOZ_AUTOMATION_TIERS)),$(call BUILDSTATUS,TIER_START $))
automation/%: automation-start/% $(if $(filter $,$(MOZ_AUTOMATION_TIERS)),$(call automation_commands,$))