author Ted Mielczarek <>
Fri, 08 Dec 2017 13:50:17 -0500
changeset 450058 b6656f7bbc861f5879a3d61d007e599c2fbd6190
parent 392025 03804db09cf364ff228fc61409702d9a86d44ade
child 530370 5cc56532ff4a4b2b896f84e4b6e7889837acb42d
permissions -rw-r--r--
bug 1424323 - remove MOZ_AUTOMATION_UPLOAD_SYMBOLS from in-tree mozconfigs. r=rillian With all of our builds in Taskcluster now, we should never be uploading symbols from build tasks. Unfortunately Windows builds were still doing so. This patch removes MOZ_AUTOMATION_UPLOAD_SYMBOLS from all the in-tree mozconfigs and a few other places so that it should always default off (per The rest of the uploadsymbols bits will be removed once Thunderbird fixes their automation. This patch was mostly autogenerated by running: rg --files-with-matches UPLOAD_SYMBOLS browser/config/mozconfigs/ mobile/android/config/mozconfigs/ | xargs sed -ri '/.*UPLOAD_SYMBOLS.*/d' sed -ri '/.*UPLOAD_SYMBOLS.*/d' build/unix/mozconfig.linux build/ build/macosx/local-mozconfig.common build/mozconfig.automation Then mobile/android/config/mozconfigs/common and taskcluster/scripts/builder/ were hand-edited. MozReview-Commit-ID: Cy8kSEodSg4

# 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


# A traditional rule would look like this:
#    backend.%:
#        @echo do stuff
# But with -j<n>, and multiple items in BUILD_BACKEND_FILES, the command would
# run multiple times in parallel.
# "Fortunately", make has some weird semantics for pattern rules: if there are
# multiple targets in a pattern rule and each of them is matched at most once,
# the command will only run once. So:
#     backend%RecursiveMakeBackend backend%FasterMakeBackend:
#         @echo do stuff
#     backend: backend.RecursiveMakeBackend backend.FasterMakeBackend
# would only execute the command once.
# Credit where due:
$(subst .,%,$(BUILD_BACKEND_FILES)):
	@echo 'Build configuration changed. Regenerating backend.'

define build_backend_rule
$(1): $$(wildcard $$(shell cat $(1).in))

$(foreach file,$(BUILD_BACKEND_FILES),$(eval $(call build_backend_rule,$(file))))