author Rob Lemley <>
Tue, 28 Apr 2020 20:42:30 -0400
changeset 29458 dce2046514b0a603c84bbf6cbf1cbc8730faf35e
parent 27509 bb5f999a1fb0793627fa546626a5ab8f33734238
child 29495 195ece706287a1a7cede450537473cf44e7e7264
permissions -rw-r--r--
Bug 1625033 - Create build artifact to generate "Built from" links in Treeherder. r=darktrojan CLOSED TREE Treeherder is getting an update later this week that affects the "Built from" links that appear in the Job Details panel. Rather than parsing log files, a build artifact will be used to display these links. The artifact is a JSON file in the suggested format.

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

include $(moztopsrcdir)/config/
include $(moztopsrcdir)/config/

# For Windows build the uninstaller during the application build since the
# uninstaller is included with the application for mar file generation.
	$(MAKE) -C installer/windows uninstaller
	$(MAKE) -C installer/windows maintenanceservice_installer

# As fallout from bug 1247162, the sourcestamp in application.ini and
# platform.ini are the same, which isn't a problem for Firefox, but
# it's not right for anything else. So we correct platform.ini here.
libs:: $(DIST)/bin/platform.ini
	$(PYTHON) $(commtopsrcdir)/build/ gen_platformini \

	@echo Generating $(MOZ_BUILT_FROM_FILE) for Treeherder.
	$(PYTHON) $(commtopsrcdir)/build/ gen_treeherder_build_links > $(DIST)/$(MOZ_BUILT_FROM_FILE)